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
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
.no-cover .cover_caption {
|
||||
.no-cover .cover-caption {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0.25em;
|
||||
padding: 0.5em;
|
||||
font-size: 0.75em;
|
||||
color: white;
|
||||
background-color: #002549;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
white-space: initial;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/** Avatars
|
||||
|
|
|
@ -135,8 +135,8 @@
|
|||
class="book-cover"
|
||||
src="/static/images/no_cover.jpg"
|
||||
alt="{% trans "No cover" %}"
|
||||
<figcaption class="cover_caption">
|
||||
>
|
||||
<figcaption class="cover-caption">
|
||||
<p>{{ book.alt_text }}</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
|
Loading…
Reference in a new issue