Make CSS modular

This commit is contained in:
2026-04-20 12:07:55 -05:00
parent 0cec181ec3
commit 874ec4c434
19 changed files with 734 additions and 1 deletions

20
public/css/fleuron.css Normal file
View File

@@ -0,0 +1,20 @@
/* Add fleuron to last <p> in section */
section > p:not(blockquote > p, p.isso-post-action):last-child:after {
content: "\2766";
display: inline;
font-size: var(--step-1);
}
/* Add fleuron after <p> in article when footnotes are present */
p:has(+ hr.footnotes-sep):after {
content: "\2766";
display: inline;
font-size: var(--step-1);
}
/* Add fleuron after last <p> in article */
article.post > p:not(blockquote > p):last-child:after {
content: "\2766";
display: inline;
font-size: var(--step-1);
}