MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Wikihyphen (talk | contribs) (Blanked the page) Tags: Blanking Reverted |
Wikihyphen (talk | contribs) (Undo revision 1079 by Wikihyphen (talk)) Tags: Undo Reverted |
||
| Line 1: | Line 1: | ||
/* Limit TOC to two levels */ | |||
.toc ul ul ul { | |||
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; | |||
} | |||
Revision as of 09:13, 2 March 2026
/* Limit TOC to two levels */
.toc ul ul ul {
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;
}