From 29611af4768a3b4f06354eb29f1e99dc34cc750d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 12 Dec 2023 21:06:49 +0100 Subject: add asterism separator --- static/sass/main.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'static/sass') 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 { -- cgit v1.2.3