From 35d85a498049201db31ae8c069a6c7e9dea900db Mon Sep 17 00:00:00 2001 From: urosm Date: Mon, 12 Feb 2024 10:12:21 +0100 Subject: [PATCH] update ikiwiki css --- css/style.css | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index cb94eea..92d120a 100644 --- a/css/style.css +++ b/css/style.css @@ -136,8 +136,20 @@ article h6:before { } /* text content */ -:is(blockquote, dl, figure, hr, menu, ol, p, pre, ul) + -:is(blockquote, dl, figure, hr, menu, ol, p, pre, ul) { +:is(blockquote, dl, figure, menu, ol, p, pre, ul) + +:is(blockquote, dl, figure, menu, ol, p, pre, ul) { + margin-block-start: var(--v-un); +} + + +:is(blockquote, dl, figure, menu, ol, p, pre, ul) + +:is(h1, h2, h3, h4, h5, h6) { + margin-block-start: calc(2 * var(--v-un)); + margin-block-end: var(--v-un); +} + +:is(h1, h2, h3, h4, h5, h6) + +:is(blockquote, dl, figure, menu, ol, p, pre, ul) { margin-block-start: var(--v-un); } @@ -160,7 +172,11 @@ ul>li::marker { hr { color: unset; border: unset; - border-top: var(--fg-c) dotted 0.1pt; + text-align: center; +} + +hr:after { + content: "---"; } /* inline text semantics */