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 {
|
.thumbnail-image {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 10px;
|
margin: 2px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
float: left; }
|
float: left; }
|
||||||
|
|
||||||
|
.thumbnail-image:hover {
|
||||||
|
opacity: 0.9; }
|
||||||
|
|
||||||
.detail-image img {
|
.detail-image img {
|
||||||
max-width: 100%; }
|
max-width: 100%; }
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,13 @@
|
||||||
|
|
||||||
.thumbnail-image {
|
.thumbnail-image {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 10px;
|
margin: 2px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
.thumbnail-image:hover {
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
.detail-image {
|
.detail-image {
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix d-flex justify-content-center flex-wrap">
|
||||||
{% for image in images %}
|
{% for image in images %}
|
||||||
<a href="/show/{{ image.id }}" class="thumbnail-image">
|
<a href="/show/{{ image.id }}" class="thumbnail-image">
|
||||||
<img src="/images/thumbnails/{{ image.hash }}.png" alt="{{ image.title }}">
|
<img src="/images/thumbnails/{{ image.hash }}.png" alt="{{ image.title }}">
|
||||||
|
|
Loading…
Reference in a new issue