From 34f0c8a527f443c0a296ce301631f2625a808d25 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 12 Jun 2021 20:28:30 +0200 Subject: Put post titles in the banner Post titles are currently only visible in the feed, or on the post page itself. Since people may remember posts by their titles rather than their number, display the titles on each post's banner as well for easier searching. This means we can now get rid of the extra item in the post page's description. A neat side effect is that we now have a header element for each
, making W3C a bit happier. --- sass/style.sass | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sass') diff --git a/sass/style.sass b/sass/style.sass index 9393dfb..375664b 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -146,6 +146,15 @@ article > section.post border-radius: 8px max-width: 100% +div.banner h2 + display: inline-block + margin: 0 + + color: var(--fg-color-mute) + font-size: inherit + font-style: italic + font-weight: inherit + article > header margin: 0 -- cgit v1.2.3-2-gb3c3