forked from mirrors/bookwyrm
Tweak styles for subtitle:
- Make it bold as the title while preserving consistency with other subtitles. - Pull the author closer to the subtitle to preserve a descending visual and typographic scales.
This commit is contained in:
parent
5047b8bf94
commit
f58c1d1138
1 changed files with 4 additions and 2 deletions
|
@ -13,14 +13,16 @@
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% if book.subtitle or book.series %}
|
{% if book.subtitle or book.series %}
|
||||||
<p class="subtitle">
|
<p class="subtitle is-5 mb-1">
|
||||||
{% if book.subtitle %}
|
{% if book.subtitle %}
|
||||||
<meta
|
<meta
|
||||||
itemprop="alternativeHeadline"
|
itemprop="alternativeHeadline"
|
||||||
content="{{ book.subtitle | escape }}"
|
content="{{ book.subtitle | escape }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
{{ book.subtitle }}
|
<span class="has-text-weight-bold">
|
||||||
|
{{ book.subtitle }}
|
||||||
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if book.series %}
|
{% if book.series %}
|
||||||
|
|
Loading…
Reference in a new issue