From 89adeed2396b1180273479af089eaca416081e4f Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Wed, 16 Jun 2021 16:39:05 +0200 Subject: Use "title" class for the header in the banner This improves the readability and consistency of the CSS. --- sass/style.sass | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'sass') diff --git a/sass/style.sass b/sass/style.sass index e5eedb0..c05ed26 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -59,6 +59,17 @@ a.bold-hover:hover h2.mentions margin-bottom: .2rem +h2.title + display: inline-block + margin: 0 + + font-size: inherit + font-style: italic + font-weight: inherit + + &::before + @include spacer + pre margin-left: 1rem @@ -140,17 +151,6 @@ article > section.post border-radius: 8px max-width: 100% -div.banner h2 - display: inline-block - margin: 0 - - font-size: inherit - font-style: italic - font-weight: inherit - - &::before - @include spacer - div.banner > div.info display: inline-flex @@ -203,5 +203,5 @@ nav.links div.info > time display: none - div.info > h2::before + div.info > h2.title::before display: none -- cgit v1.2.3-2-gb3c3