Make CSS modular
This commit is contained in:
20
public/css/fleuron.css
Normal file
20
public/css/fleuron.css
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user