MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →============================== Header background – Vector 2022 ==============================: .skin-vector-2022 .mw-header { background-image: url("/wiki/Special:Redirect/file/Bgheader.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; } →Improve text/icon contrast: .skin-vector-2022 .mw-header, .skin-vector-2022 .mw-header a, .skin-vector-2022 .m..." |
No edit summary |
||
| Line 11: | Line 11: | ||
} | } | ||
/* Improve | /* Improve contrast */ | ||
.skin-vector-2022 .mw-header, | .skin-vector-2022 .mw-header, | ||
.skin-vector-2022 .mw-header a, | .skin-vector-2022 .mw-header a, | ||
| Line 18: | Line 18: | ||
} | } | ||
/* | /* Dark overlay so text is readable */ | ||
.skin-vector-2022 .mw-header::before { | .skin-vector-2022 .mw-header::before { | ||
content: ""; | content: ""; | ||
Revision as of 06:25, 9 February 2026
/* CSS placed here will be applied to all skins */
/* ==============================
Header background – Vector 2022
============================== */
.skin-vector-2022 .mw-header {
background-image: url("/wiki/Special:Redirect/file/Bgheader.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Improve contrast */
.skin-vector-2022 .mw-header,
.skin-vector-2022 .mw-header a,
.skin-vector-2022 .mw-header .mw-ui-icon {
color: #ffffff;
}
/* Dark overlay so text is readable */
.skin-vector-2022 .mw-header::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.35);
z-index: 0;
}
.skin-vector-2022 .mw-header > * {
position: relative;
z-index: 1;
}