Template:Spec.css: Difference between revisions

No edit summary
No edit summary
Line 133: Line 133:
}
}


#content :not(.toc) h2 {
#content h2:not(.toc)::before {
color: red;
}
 
#content :not(.toc) h2::before {
counter-increment: section;
counter-increment: section;
content: counter(section) ". ";
content: counter(section) ". ";