MediaWiki:Vector-2022.css: Difference between revisions
Appearance
visual edits - continuation |
testing - trying to fight the color scheme |
||
| Line 2: | Line 2: | ||
/* BACKGROUNDS, GENERAL DESING */ | /* BACKGROUNDS, GENERAL DESING */ | ||
:root { | @media (prefers-color-scheme: light) { | ||
--background-color-neutral-subtle: #4ACB; | :root { | ||
--background-color-base: transparent; | --background-color-neutral-subtle: #4ACB; | ||
--background-color-base: transparent; | |||
} | |||
} | } | ||
Revision as of 10:36, 8 November 2025
* All CSS here will be loaded for users of the Vector2022 skin */
/* BACKGROUNDS, GENERAL DESING */
@media (prefers-color-scheme: light) {
:root {
--background-color-neutral-subtle: #4ACB;
--background-color-base: transparent;
}
}
.custom-bg-overlay {
position: absolute;
content: "";
width: 100%;
background: url(/images/c/c1/Sidebar_repeat.webp);
transform: scaleX(-1);
background-repeat: repeat-y;
background-position: left 1000px;
pointer-events: none;
}
body.skin-vector-2022 {
background: url(/images/a/a6/Toprep.webp), url(/images/c/c1/Sidebar_repeat.webp), white;
background-repeat: repeat-x, repeat-y;
background-position: 200px top, 0 150px;
}