MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,322:
background-color: transparent !important;
}
/* Scrollbars everywhere match the wikitable scroll wrapper — thin, warmlight-gray
thumb (--wtline-th-bg)medium; visible on athe transparentwhite track.canvas — the old scrollbar-width/color-wt-th-bg aretint
disappeared once the page went white) on a transparent track. scrollbar-width/color are
INHERITED, so :root/body sets the baseline AND styles the window bar.
BUT Vector styles the sticky TOC scroll container DIRECTLY with its own
Line 1,335 ⟶ 1,336:
:root, body {
scrollbar-width: thin;
scrollbar-color: var(--wtline-th-bgmedium) transparent;
}
* {
scrollbar-width: thin !important;
scrollbar-color: var(--wtline-th-bgmedium) transparent !important;
}
/* WebKit/Blink path. The standard properties above are IGNORED by Chrome for
Line 1,349 ⟶ 1,350:
specificity. Defining ANY ::-webkit-scrollbar rule switches every scrollbar
(table + window included) to this custom bar, so they all render identically:
8px, warmlight-gray thumb (--wt-thline-bgmedium), transparent track. */
::-webkit-scrollbar { width: 8px !important; height: 8px !important; }
::-webkit-scrollbar-track { background: transparent !important; }
::-webkit-scrollbar-thumb {
background: var(--wtline-th-bgmedium) !important;
border-radius: 4px !important;
}
::-webkit-scrollbar-thumb:hover { background: var(--linetext-mediumlight) !important; }
::-webkit-scrollbar-corner { background: transparent !important; }
/* Minerva (mobile skin) paints its own white wrappers over body */
Line 1,489 ⟶ 1,490:
margin: 1em 0 2em; /* reduced top gap before tables (was 1.8em) */
scrollbar-width: thin;
scrollbar-color: var(--wtline-th-bgmedium) transparent;
}
/* the copy-table gadget nests .copy-table-scroll INSIDE the emitter's overflow-x