MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,323:
}
/* Scrollbars everywhere match the wikitable scroll wrapper — thin, light-gray
thumb (--line-medium;light visibleat onrest, the--line-medium whiteon canvas —hover; the old --wt-th-bg tint
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.
Line 1,336:
:root, body {
scrollbar-width: thin;
scrollbar-color: var(--line-mediumlight) transparent;
}
* {
scrollbar-width: thin !important;
scrollbar-color: var(--line-mediumlight) transparent !important;
}
/* WebKit/Blink path. The standard properties above are IGNORED by Chrome for
Line 1,350:
specificity. Defining ANY ::-webkit-scrollbar rule switches every scrollbar
(table + window included) to this custom bar, so they all render identically:
8px, light-gray thumb (--line-mediumlight), transparent track. */
::-webkit-scrollbar { width: 8px !important; height: 8px !important; }
::-webkit-scrollbar-track { background: transparent !important; }
::-webkit-scrollbar-thumb {
background: var(--line-mediumlight) !important;
border-radius: 4px !important;
}
::-webkit-scrollbar-thumb:hover { background: var(--textline-lightmedium) !important; }
::-webkit-scrollbar-corner { background: transparent !important; }
/* Minerva (mobile skin) paints its own white wrappers over body */
Line 1,490:
margin: 1em 0 2em; /* reduced top gap before tables (was 1.8em) */
scrollbar-width: thin;
scrollbar-color: var(--line-mediumlight) transparent;
}
/* the copy-table gadget nests .copy-table-scroll INSIDE the emitter's overflow-x