Style stuff

This commit is contained in:
Aaron Fischer 2017-03-20 22:22:07 +01:00
parent b570e2af7c
commit 3ad4a284ec
3 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,5 @@
.thumbnail-image {
display: block;
margin: 10px;
border: 1px solid #ccc;
float: left; }

View file

@ -0,0 +1,6 @@
.thumbnail-image {
display: block;
margin: 10px;
border: 1px solid #ccc;
float: left;
}

View file

@ -23,9 +23,9 @@
<div class="clearfix"></div> <div class="clearfix"></div>
{% endif %} {% endif %}
<div id="iamges"> <div>
{% for image in images %} {% for image in images %}
<a href="/show/{{ image.hash }}"> <a href="/show/{{ image.hash }}" class="thumbnail-image">
<img src="/images/thumbnails/{{ image.hash }}.png" alt="{{ image.title }}"> <img src="/images/thumbnails/{{ image.hash }}.png" alt="{{ image.title }}">
</a> </a>
{% endfor %} {% endfor %}