Make subtitle more visually distinct from content

This commit is contained in:
Jake Howard 2022-09-08 14:40:22 +01:00
parent 8b027206b1
commit c6c913c3e7
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 1 deletions

View file

@ -77,6 +77,7 @@ section.hero {
.subtitle {
margin-bottom: 0.5rem;
font-weight: 300;
}
.title {

View file

@ -29,7 +29,7 @@
{% include "common/breadcrumbs.html" with parents=page.get_parent_pages %}
<h1 class="title is-spaced">{{ page.hero_title }}</h1>
{% if page.subtitle %}
<h2 class="subtitle">{{ page.subtitle|richtext }}</h2>
<h2 class="subtitle is-size-4">{{ page.subtitle|richtext }}</h2>
{% endif %}
{% include "common/content-details.html" %}