MediaWiki:Vector.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */
/* Set the background image to fill the page and stay behind all content */
body {
background-image: url("straftat.png");
background-color: #cccccc; /* Fallback color if the image doesn't load */
background-repeat: no-repeat; /* Prevents repeating the image */
background-size: cover; /* Ensures the image fills the entire page */
background-position: center center; /* Centers the image on the page */
background-attachment: fixed; /* Keeps the background in place when scrolling */
}
/* Ensure that all content sections use transparent backgrounds to show the page background */
#content,
#mw-content-text,
#p-logo,
.vector-menu-content,
.vector-body,
#footer {
background-color: transparent;
}