MediaWiki:Common.css: Difference between revisions

From Hyphen—
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2: Line 2:
.toc ul ul ul {
.toc ul ul ul {
     display: none;
     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 08:53, 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;
}