Nest some stuff
This commit is contained in:
parent
dd2c327613
commit
5e324f2afd
@ -796,16 +796,15 @@ h2 + .header-anchor {
|
|||||||
article.post {
|
article.post {
|
||||||
grid-column: 1 / span 12;
|
grid-column: 1 / span 12;
|
||||||
container: article / inline-size;
|
container: article / inline-size;
|
||||||
|
/* Add fleuron after last <p> in article */
|
||||||
|
> p:not(blockquote > p):last-child:after {
|
||||||
|
content: "\2766";
|
||||||
|
display: inline;
|
||||||
|
font-size: var(--step-1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adds fleuron to article end */
|
/* Add fleuron after <p> in article when footnotes are present */
|
||||||
article.post > p:not(blockquote > p):last-child:after {
|
|
||||||
content: "\2766";
|
|
||||||
display: inline;
|
|
||||||
font-size: var(--step-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Adds fleuron to article end when footnotes are present */
|
|
||||||
p:has(+ hr.footnotes-sep):after {
|
p:has(+ hr.footnotes-sep):after {
|
||||||
content: "\2766";
|
content: "\2766";
|
||||||
display: inline;
|
display: inline;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user