936
pakeitimai
(Naujas puslapis: →All CSS here will be loaded for users of the dark Vector skin: →* * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates. * * See [[MediaWiki:Vector.css]] for desktop theme related styles. * * See [[MediaWiki:Minerva.css]] for mobile theme related styles. * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.: html:has(body.wgl-theme-dark) { color-scheme: dark; } /* Default styles: * [[File:Dark-background.p...) |
SNėra keitimo santraukos |
||
| 2 636 eilutė: | 2 636 eilutė: | ||
body.wgl-theme-dark .mw-diff-inline-deleted del { | body.wgl-theme-dark .mw-diff-inline-deleted del { | ||
color: #000; | color: #000; | ||
} | |||
/*NEW LOOK TEST*/ | |||
/* ==== Modern dark polish ==== */ | |||
body.wgl-theme-dark { | |||
--ui-border: #3f4654; | |||
--ui-surface: #232833; | |||
--ui-surface-2: #1d222c; | |||
--ui-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.8); | |||
--ui-focus: #7fb3ff; | |||
} | |||
/* Dark surfaces */ | |||
body.wgl-theme-dark .mw-body, | |||
body.wgl-theme-dark .mw-parser-output .wikitable, | |||
body.wgl-theme-dark .thumbinner, | |||
body.wgl-theme-dark #toc, | |||
body.wgl-theme-dark .toc, | |||
body.wgl-theme-dark .mw-message-box, | |||
body.wgl-theme-dark .archive-box, | |||
body.wgl-theme-dark .documentation { | |||
background: var(--ui-surface); | |||
border-color: var(--ui-border); | |||
box-shadow: var(--ui-shadow); | |||
} | |||
/* Inputs/buttons in dark mode */ | |||
body.wgl-theme-dark .mw-ui-input, | |||
body.wgl-theme-dark .cdx-text-input__input, | |||
body.wgl-theme-dark .oo-ui-inputWidget-input, | |||
body.wgl-theme-dark textarea, | |||
body.wgl-theme-dark select { | |||
background: var(--ui-surface-2); | |||
border-color: var(--ui-border); | |||
} | } | ||