summaryrefslogtreecommitdiffstatshomepage
path: root/sass
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-16 16:39:05 +0200
committerWolfgang Müller2021-06-16 17:04:24 +0200
commit89adeed2396b1180273479af089eaca416081e4f (patch)
treed5a9b9e1c15f5aed6efc2917bf000dcde0d1154c /sass
parent41afb87e4237a7602eb127cf6676f84e6afb1990 (diff)
downloadzunzuncito-89adeed2396b1180273479af089eaca416081e4f.tar.gz
Use "title" class for the header in the banner
This improves the readability and consistency of the CSS.
Diffstat (limited to '')
-rw-r--r--sass/style.sass24
1 files changed, 12 insertions, 12 deletions
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