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:
Fabien Basmaison 2021-06-09 12:20:34 +02:00
parent 5047b8bf94
commit f58c1d1138

View file

@ -13,14 +13,16 @@
</h1>
{% if book.subtitle or book.series %}
<p class="subtitle">
<p class="subtitle is-5 mb-1">
{% if book.subtitle %}
<meta
itemprop="alternativeHeadline"
content="{{ book.subtitle | escape }}"
>
{{ book.subtitle }}
<span class="has-text-weight-bold">
{{ book.subtitle }}
</span>
{% endif %}
{% if book.series %}