cover: Update author.

This commit is contained in:
Fabien Basmaison 2021-04-27 20:30:10 +02:00
parent 8d53b7589f
commit a5359d1f80
2 changed files with 38 additions and 5 deletions

View file

@ -315,6 +315,9 @@ body {
.is-w-l { .is-w-l {
width: 200px !important; width: 200px !important;
} }
.is-w-xxl {
width: 250px !important;
}
.is-w-xxl { .is-w-xxl {
width: 500px !important; width: 500px !important;
@ -335,6 +338,9 @@ body {
.is-h-l { .is-h-l {
height: 200px !important; height: 200px !important;
} }
.is-h-xxl {
height: 250px !important;
}
.is-h-xxl { .is-h-xxl {
height: 500px !important; height: 500px !important;
@ -361,6 +367,10 @@ body {
width: 200px !important; width: 200px !important;
} }
.is-w-xl-mobile {
width: 250px !important;
}
.is-w-xxl-mobile { .is-w-xxl-mobile {
width: 500px !important; width: 500px !important;
} }
@ -381,6 +391,10 @@ body {
height: 200px !important; height: 200px !important;
} }
.is-h-xl-mobile {
height: 250px !important;
}
.is-h-xxl-mobile { .is-h-xxl-mobile {
height: 500px !important; height: 500px !important;
} }
@ -407,6 +421,10 @@ body {
width: 200px !important; width: 200px !important;
} }
.is-w-xl-tablet {
width: 250px !important;
}
.is-w-xxl-tablet { .is-w-xxl-tablet {
width: 500px !important; width: 500px !important;
} }
@ -427,6 +445,10 @@ body {
height: 200px !important; height: 200px !important;
} }
.is-h-xl-tablet {
height: 250px !important;
}
.is-h-xxl-tablet { .is-h-xxl-tablet {
height: 500px !important; height: 500px !important;
} }
@ -453,6 +475,10 @@ body {
width: 200px !important; width: 200px !important;
} }
.is-w-xl-desktop {
width: 250px !important;
}
.is-w-xxl-desktop { .is-w-xxl-desktop {
width: 500px !important; width: 500px !important;
} }
@ -473,6 +499,10 @@ body {
height: 200px !important; height: 200px !important;
} }
.is-h-xl-desktop {
height: 250px !important;
}
.is-h-xxl-desktop { .is-h-xxl-desktop {
height: 500px !important; height: 500px !important;
} }

View file

@ -1,10 +1,13 @@
<div class="columns is-multiline"> <div class="columns is-mobile is-multiline">
{% for book in books %} {% for book in books %}
<div class="column is-narrow"> <div class="column is-narrow">
<div class="box"> <div class="box is-flex is-flex-direction-column is-align-items-center">
<a href="/book/{{ book.id }}"> <div class="mb-3">
{% include 'snippets/book_cover.html' with book=book %} <a href="/book/{{ book.id }}">
</a> {% include 'snippets/book_cover.html' with book=book cover_class='is-w-l-mobile is-h-l-mobile is-w-l-tablet is-h-xl-tablet' %}
</a>
</div>
{% include 'snippets/shelve_button/shelve_button.html' with book=book switch_mode=True %} {% include 'snippets/shelve_button/shelve_button.html' with book=book switch_mode=True %}
</div> </div>
</div> </div>