Moved style to css file

This commit is contained in:
Kyos 2020-02-13 21:05:24 +01:00
parent 1666e32aaf
commit 509071949a
2 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,11 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.navbar-default .navbar-toggle {border-color: #000;}
.cover { margin-bottom: 10px;}
.cover-height { max-height: 100px;}
.cover-small {
margin:5px;
height: 200px;
width: auto;
}
.btn-file {position: relative; overflow: hidden;}
.btn-file input[type=file] {position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block;}

View File

@ -141,7 +141,7 @@
{% for entry in downloads %}
<div class="col-sm-2">
<a class="pull-left" href="{{ url_for('web.show_book', book_id=entry.id) }}">
<img class="media-object" style="margin:5px; height: 200px; width: auto;" src="{{ url_for('web.get_cover', book_id=entry.id) }}" alt="...">
<img class="media-object cover-small" src="{{ url_for('web.get_cover', book_id=entry.id) }}" alt="...">
</a>
</div>
{% endfor %}