Index page centered #6
This commit is contained in:
parent
a61b644e2c
commit
d9d21b8bb2
3 changed files with 9 additions and 3 deletions
|
@ -3,10 +3,13 @@
|
|||
|
||||
.thumbnail-image {
|
||||
display: block;
|
||||
margin: 10px;
|
||||
margin: 2px;
|
||||
border: 1px solid #ccc;
|
||||
float: left; }
|
||||
|
||||
.thumbnail-image:hover {
|
||||
opacity: 0.9; }
|
||||
|
||||
.detail-image img {
|
||||
max-width: 100%; }
|
||||
|
||||
|
|
|
@ -4,10 +4,13 @@
|
|||
|
||||
.thumbnail-image {
|
||||
display: block;
|
||||
margin: 10px;
|
||||
margin: 2px;
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
}
|
||||
.thumbnail-image:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.detail-image {
|
||||
img {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<div class="clearfix">
|
||||
<div class="clearfix d-flex justify-content-center flex-wrap">
|
||||
{% for image in images %}
|
||||
<a href="/show/{{ image.id }}" class="thumbnail-image">
|
||||
<img src="/images/thumbnails/{{ image.hash }}.png" alt="{{ image.title }}">
|
||||
|
|
Loading…
Reference in a new issue