summaryrefslogtreecommitdiffstatshomepage
path: root/sass
diff options
context:
space:
mode:
authorWolfgang Müller2024-10-05 12:51:57 +0200
committerWolfgang Müller2024-10-05 14:25:35 +0200
commiteb373a706fb2b3a74f685d619f6c29bf163a4889 (patch)
tree7002f1bc728fd78c5e2c8f2c696341d804ef2e94 /sass
parent2176cc7f6cf8c9e56dbc187361e5e3a6a5f8d96e (diff)
downloadzunzuncito-eb373a706fb2b3a74f685d619f6c29bf163a4889.tar.gz
Use gutter to mark related posts
Now that we can put nicely-aligned content at the side we can use the space to mark the "Related posts" header in a nicer way.
Diffstat (limited to '')
-rw-r--r--sass/style.sass15
1 files changed, 14 insertions, 1 deletions
diff --git a/sass/style.sass b/sass/style.sass
index 6058155..bac94b6 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -13,6 +13,7 @@
--fg-color: black
--fg-color-mute: #5a5a5a
+ --fg-color-gutter: #a6a6a6
--fg-color-pre: black
--fg-href: #0000ee
--fg-href-visited: #551a8b
@@ -59,9 +60,12 @@ a.tag
&::before
content: "#"
-h3.related
+h2#related
grid-column: main
+ display: flex
+ align-items: center
+
margin: 0
h2.title
@@ -205,6 +209,15 @@ aside.gutter
grid-column: gutter
+ > span
+ display: inline-flex
+ justify-content: center
+ font-size: 2em
+ color: var(--fg-color-gutter)
+
+ margin: 0
+
+
img.avatar
width: 100%