Index page centered #6

This commit is contained in:
Aaron Fischer 2017-04-03 22:23:01 +02:00
parent a61b644e2c
commit d9d21b8bb2
3 changed files with 9 additions and 3 deletions

View file

@ -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%; }

View file

@ -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 {

View file

@ -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 }}">