MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,311:
background-color: transparent !important;
}
/* TOCScrollbars scrollbareverywhere matchesmatch the wikitable scroll wrapper: thin, warm thumb
thumb (--wt-th-bg) on a transparent track. — same two values as thescrollbar-width/color table'sare
INHERITED properties, so declaring them at the root cascades to EVERY
overflow-x wrapper below, so both bars read identically */
scroll container (the TOC sidebar, the window bar, panels) without
.vector-pinned-container, #vector-toc, .vector-toc {
naming each element — which is why the earlier element-targeted rule
missed the TOC. Declared on :root AND body so a skin rule on <body>
cannot shadow the inherited value. The wikitable wrapper re-declares
the same two values (section 12, below) purely for self-documentation. */
:root, body {
scrollbar-width: thin;
scrollbar-color: var(--wt-th-bg) transparent;
}
/* belt-and-suspenders: name the Vector 2022 TOC scroll containers directly,
with the id form + !important, so that even if a skin rule pins
scrollbar-color on the container (blocking the inherited value) ours wins.
If the real scroller is none of these, the inherited :root/body rule above
still reaches it (it is always a descendant of <body>). */
#vector-toc-pinned-container,
#vector-toc,
.vector-pinned-container, #vector-toc, .vector-toc {
.vector-toc,
.vector-column-start {
scrollbar-width: thin !important;
scrollbar-color: var(--wt-th-bg) transparent !important;
}
/* Minerva (mobile skin) paints its own white wrappers over body */