diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-12-12 21:06:49 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-12-12 21:06:49 +0100 |
commit | 29611af4768a3b4f06354eb29f1e99dc34cc750d (patch) | |
tree | 2030bbb09b7204ececba275b3909806f4e11aa0b /static/sass | |
parent | 70c6fb73d7167ffdf589234a1e9bb76ae8434401 (diff) | |
download | moeka-29611af4768a3b4f06354eb29f1e99dc34cc750d.tar.gz moeka-29611af4768a3b4f06354eb29f1e99dc34cc750d.tar.bz2 moeka-29611af4768a3b4f06354eb29f1e99dc34cc750d.zip |
add asterism separator
Diffstat (limited to 'static/sass')
-rw-r--r-- | static/sass/main.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/static/sass/main.scss b/static/sass/main.scss index 24b74f4..22295ec 100644 --- a/static/sass/main.scss +++ b/static/sass/main.scss @@ -138,6 +138,18 @@ h1.topmost { margin: 0 auto; } } +p.asterism { + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + &::before { + content: "⁂"; + } +} +/* Undo the usual header spacing so we can nicely and evenly space the asterism */ +div.section:has(p.asterism) + div h2 { + margin-top: 0px; +} /* Styling for a page (reuses a lot of the article style) */ .page h1 { |