Module:Large category TOC/styles.css: Difference between revisions
Appearance
pp |
m 9 revisions imported from wikipedia:Module:Large_category_TOC/styles.css |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 19: | Line 19: | ||
padding: 4px; | padding: 4px; | ||
text-align: center; | text-align: center; | ||
border: 1px solid #a2a9b1; | border: 1px solid var(--border-color-base, #a2a9b1); | ||
font-size: 95% | font-size: 95% | ||
} | } | ||
.large-cat-toc .mw-collapsible-content, | .large-cat-toc .mw-collapsible-content { | ||
.large-cat-toc.mw-collapsible | background-color: var(--background-color-base, #fff); | ||
background-color | /* [[WP:MONO]] */ | ||
font-family: monospace, monospace; | |||
} | |||
.large-cat-toc .mw-collapsible-content > span { | |||
border-bottom: 1px solid var(--background-color-neutral, #eaecf0); | |||
} | } | ||
| Line 36: | Line 41: | ||
.large-cat-toc-anum { | .large-cat-toc-anum { | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Vector 2022 rules - */ | |||
body.skin-vector-2022 .large-cat-toc { | |||
padding: 7px; | |||
} | |||
body.skin-vector-2022 .large-cat-toc .toctitle { | |||
text-align: center; | |||
} | } | ||
Latest revision as of 13:23, 19 November 2026
/* {{pp|small=y}} */
.large-cat-toc {
box-sizing: border-box;
display: block;
clear: both;
}
.large-cat-toc-body {
text-align: center;
}
.large-cat-toc-scroll {
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
}
.large-cat-toc.mw-collapsible {
padding: 4px;
text-align: center;
border: 1px solid var(--border-color-base, #a2a9b1);
font-size: 95%
}
.large-cat-toc .mw-collapsible-content {
background-color: var(--background-color-base, #fff);
/* [[WP:MONO]] */
font-family: monospace, monospace;
}
.large-cat-toc .mw-collapsible-content > span {
border-bottom: 1px solid var(--background-color-neutral, #eaecf0);
}
.large-cat-toc-jumpy-title {
margin: 0 4em;
}
.large-cat-toc.mw-collapsible .toctitle,
.large-cat-toc-title,
.large-cat-toc-anum {
font-weight: bold;
}
/* Vector 2022 rules - */
body.skin-vector-2022 .large-cat-toc {
padding: 7px;
}
body.skin-vector-2022 .large-cat-toc .toctitle {
text-align: center;
}