MediaWiki:Vector-2022.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================== | /* ============================== | ||
Vector 2022 | Vector 2022 – Header background | ||
============================== */ | ============================== */ | ||
/* | .mw-header { | ||
position: relative; | |||
background-image: url("/wiki/index.php?title=Special:Redirect/file/Bgheader.jpg"); | |||
background-size: cover; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
} | |||
/* White overlay to brighten the image */ | |||
.mw-header::before { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: rgba(255, 255, 255, 0.6); /* increase/decrease to taste */ | |||
z-index: 0; | |||
} | |||
/* Ensure text/icons stay on top */ | |||
.mw-header > * { | |||
position: relative; | |||
z-index: 1; | |||
} | |||
.mw-header | /* Make header text dark and readable */ | ||
.mw-header, | |||
.mw-header a, | |||
.mw-header .mw-ui-icon { | |||
color: #1f1f1f !important; | |||
} | } | ||