summaryrefslogtreecommitdiffstatshomepage
path: root/sass
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-12 20:28:30 +0200
committerWolfgang Müller2021-06-12 20:28:30 +0200
commit34f0c8a527f443c0a296ce301631f2625a808d25 (patch)
tree4fdfd3ba2323fe56ad38b5dc123fb009d1490f56 /sass
parent725b8fcbca3db267cee943c64098d6caa77b8cab (diff)
downloadzunzuncito-34f0c8a527f443c0a296ce301631f2625a808d25.tar.gz
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 <article>, making W3C a bit happier.
Diffstat (limited to 'sass')
-rw-r--r--sass/style.sass9
1 files changed, 9 insertions, 0 deletions
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