MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Repeating texture behind the whole page */ | ||
body { | body { | ||
background-color: PowderBlue; | background-color: PowderBlue; | ||
background-image: url("/w/images/your-background. | background-image: url("/w/images/your-wiki-background.png"); | ||
background-repeat: repeat; | |||
background-size: 512px 512px; | |||
background-position: top center; | |||
} | |||
/* Single wide image across the top */ | |||
body::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
height: 360px; | |||
background-image: url("/w/images/your-wiki-header.png"); | |||
background-repeat: no-repeat; | |||
background-position: top center; | |||
background-size: cover; | background-size: cover; | ||
z-index: -1; | |||
} | } | ||
Revision as of 04:46, 16 October 2026
/* Repeating texture behind the whole page */
body {
background-color: PowderBlue;
background-image: url("/w/images/your-wiki-background.png");
background-repeat: repeat;
background-size: 512px 512px;
background-position: top center;
}
/* Single wide image across the top */
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 360px;
background-image: url("/w/images/your-wiki-header.png");
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
z-index: -1;
}