User:AugPi/vector.css

.tocnumber { display: none; }

/* dispense with hr for rules above h2 */ body.ns-0 #mw-content-text > h2 { border-top: 3px double #aaa; margin-top: 2em; } /* direct-child h2’s of the content in the main namespace */ body.ns-0 #mw-content-text > h2:first-child { border-top: none; margin-top: 0; } /* but not the one at the top */ body.ns-0 #mw-content-text > #toc + h2 {border-top: none; margin-top: 0; } /* and if the TOC appears, not the first one after the TOC */ body.ns-0 #mw-content-text > hr { display: none; } /* hide now-redundant hr’s */