update ikiwiki css

urosm 2024-02-12 10:12:21 +01:00
parent 818ebeb6d0
commit 35d85a4980
1 changed files with 19 additions and 3 deletions

View File

@ -136,8 +136,20 @@ article h6:before {
} }
/* text content */ /* text content */
:is(blockquote, dl, figure, hr, menu, ol, p, pre, ul) + :is(blockquote, dl, figure, menu, ol, p, pre, ul) +
:is(blockquote, dl, figure, hr, 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); margin-block-start: var(--v-un);
} }
@ -160,7 +172,11 @@ ul>li::marker {
hr { hr {
color: unset; color: unset;
border: unset; border: unset;
border-top: var(--fg-c) dotted 0.1pt; text-align: center;
}
hr:after {
content: "---";
} }
/* inline text semantics */ /* inline text semantics */