From d5ef68ce32264283ed3fc928d1fde1fbb4949cf6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Jul 2022 19:13:23 +0100 Subject: [PATCH] Style hero a bit more --- static/src/scss/_content.scss | 2 +- static/src/scss/_hero.scss | 7 ++++--- website/common/templates/common/hero.html | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/static/src/scss/_content.scss b/static/src/scss/_content.scss index 51ec8a8..2244b42 100644 --- a/static/src/scss/_content.scss +++ b/static/src/scss/_content.scss @@ -22,7 +22,7 @@ section.content { font-size: inherit; &:not(:last-child) { - margin-right: 0.5rem !important; + margin-right: 1rem !important; } &.page-tags { diff --git a/static/src/scss/_hero.scss b/static/src/scss/_hero.scss index 0c3a17a..abb11b2 100644 --- a/static/src/scss/_hero.scss +++ b/static/src/scss/_hero.scss @@ -48,7 +48,9 @@ section.hero { } .title { - margin-bottom: 0.75rem; + margin-bottom: 1.25rem; + font-weight: 300; + font-size: 3.5rem; } .column { @@ -56,11 +58,10 @@ section.hero { } nav.breadcrumb { - margin-bottom: 0.5rem !important; + margin-bottom: 0 !important; } .content-details { - font-size: 90%; margin-bottom: 0 !important; } } diff --git a/website/common/templates/common/hero.html b/website/common/templates/common/hero.html index b2880e7..b02ad7d 100644 --- a/website/common/templates/common/hero.html +++ b/website/common/templates/common/hero.html @@ -10,7 +10,7 @@
{% include "common/breadcrumbs.html" with parents=page.get_parent_pages %} -

{{ page.title }}

+

{{ page.title }}

{% if page.subtitle %}

{{ page.subtitle }}

{% endif %}