MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Repeating texture behind the whole page */ | |||
/* Repeating texture behind the whole page | |||
body { | body { | ||
background-color: PowderBlue; | background-color: PowderBlue; | ||
| Line 9: | Line 8: | ||
} | } | ||
/* Single wide image across the top | /* Single wide image across the top */ | ||
body::before { | body::before { | ||
content: ""; | content: ""; | ||
| Line 18: | Line 17: | ||
height: 360px; | height: 360px; | ||
background-color: PowderBlue; | background-color: PowderBlue; | ||
background-image: url("/w/images/ | background-image: url("/w/images/Wiki-header.webp"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: top center; | background-position: top center; | ||
| Line 24: | Line 23: | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
Revision as of 13:49, 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-color: PowderBlue;
background-image: url("/w/images/Wiki-header.webp");
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
z-index: -1;
}