forked from mirrors/bookwyrm
Update .cover-caption name and styles
This commit is contained in:
parent
4c55f07f2a
commit
c1456ce853
2 changed files with 8 additions and 3 deletions
|
@ -219,16 +219,21 @@ body {
|
||||||
/* Cover caption
|
/* Cover caption
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
.no-cover .cover_caption {
|
.no-cover .cover-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 0.25em;
|
padding: 0.5em;
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #002549;
|
background-color: #002549;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
white-space: initial;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Avatars
|
/** Avatars
|
||||||
|
|
|
@ -135,8 +135,8 @@
|
||||||
class="book-cover"
|
class="book-cover"
|
||||||
src="/static/images/no_cover.jpg"
|
src="/static/images/no_cover.jpg"
|
||||||
alt="{% trans "No cover" %}"
|
alt="{% trans "No cover" %}"
|
||||||
<figcaption class="cover_caption">
|
|
||||||
>
|
>
|
||||||
|
<figcaption class="cover-caption">
|
||||||
<p>{{ book.alt_text }}</p>
|
<p>{{ book.alt_text }}</p>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
Loading…
Reference in a new issue