Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 183: Line 183:
/* Keeps a real wiki heading available for the TOC without showing it on the page. */
/* Keeps a real wiki heading available for the TOC without showing it on the page. */
.wizlords-toc-only-heading {
.wizlords-toc-only-heading {
position: absolute;
width: 1px;
height: 0;
height: 0;
margin: 0;
margin: 0;
padding: 0;
padding: 0;
overflow: hidden;
overflow: hidden;
clip-path: inset(50%);
}
}


Line 193: Line 196:
.wizlords-toc-only-heading h3,
.wizlords-toc-only-heading h3,
.wizlords-toc-only-heading h4 {
.wizlords-toc-only-heading h4 {
margin: 0;
height: 0 !important;
padding: 0;
margin: 0 !important;
border: 0;
padding: 0 !important;
border: 0 !important;
}
}


Line 208: Line 212:
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
background: #1f1e1e;
}
.wizlords-toc-only-heading + .wizlords-collapsible-section {
margin-top: 10px;
}
.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading) {
margin-bottom: 10px;
}
}