Style hero a bit more

This commit is contained in:
Jake Howard 2022-07-04 19:13:23 +01:00
parent 88b6f4b61b
commit d5ef68ce32
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 6 additions and 5 deletions

View file

@ -22,7 +22,7 @@ section.content {
font-size: inherit; font-size: inherit;
&:not(:last-child) { &:not(:last-child) {
margin-right: 0.5rem !important; margin-right: 1rem !important;
} }
&.page-tags { &.page-tags {

View file

@ -48,7 +48,9 @@ section.hero {
} }
.title { .title {
margin-bottom: 0.75rem; margin-bottom: 1.25rem;
font-weight: 300;
font-size: 3.5rem;
} }
.column { .column {
@ -56,11 +58,10 @@ section.hero {
} }
nav.breadcrumb { nav.breadcrumb {
margin-bottom: 0.5rem !important; margin-bottom: 0 !important;
} }
.content-details { .content-details {
font-size: 90%;
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
} }

View file

@ -10,7 +10,7 @@
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
{% include "common/breadcrumbs.html" with parents=page.get_parent_pages %} {% include "common/breadcrumbs.html" with parents=page.get_parent_pages %}
<h1 class="title is-1 is-spaced">{{ page.title }}</h1> <h1 class="title is-spaced">{{ page.title }}</h1>
{% if page.subtitle %} {% if page.subtitle %}
<h2 class="subtitle">{{ page.subtitle }}</h2> <h2 class="subtitle">{{ page.subtitle }}</h2>
{% endif %} {% endif %}