diff --git a/syndicate/mc/preserve.css b/syndicate/mc/preserve.css index 242bd2a..877ee83 100644 --- a/syndicate/mc/preserve.css +++ b/syndicate/mc/preserve.css @@ -22,7 +22,7 @@ pre { padding: 0.33rem; } body { counter-reset: section 0 subsection 0; } -h2::before, h3::before { +h2:before, h3:before { text-align: right; display: inline-block; position: relative; @@ -33,14 +33,14 @@ h2::before, h3::before { margin-right: -2em; height: 0; } -h2::before { +h2:before { counter-increment: section; content: counter(section) ". "; } h2 { counter-reset: subsection 0; } -h3::before { +h3:before { counter-increment: subsection; content: counter(section) "." counter(subsection) ". "; }