MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Wikihyphen (talk | contribs) (Undo revision 1079 by Wikihyphen (talk)) Tags: Undo Reverted |
Wikihyphen (talk | contribs) (Undo revision 1072 by Wikihyphen (talk)) Tags: Undo Reverted |
||
| Line 1: | Line 1: | ||
/* Limit TOC | /* Limit TOC depth */ | ||
. | .toclevel-3, | ||
display: none; | .toclevel-4, | ||
.toclevel-5, | |||
.toclevel-6 { | |||
display:none; | |||
} | } | ||
Revision as of 09:13, 2 March 2026
/* Limit TOC depth */
.toclevel-3,
.toclevel-4,
.toclevel-5,
.toclevel-6 {
display:none;
}
/* Quiet TOC — Hyphen style */
.toc {
background: transparent;
border: none;
padding: 0;
font-size: 0.95em;
}
/* remove big "Contents" weight */
.toctitle h2 {
font-size: 1em;
font-weight: normal;
letter-spacing: 0.02em;
}
/* tighter spacing like an index */
.toc ul {
margin: 0.2em 0 0.2em 1em;
}
.toc li {
margin: 0.15em 0;
}