MediaWiki:Vector.css

From Straftat Wiki
Revision as of 04:55, 10 December 2024 by Administrator (talk | contribs)

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 */
#mw-page-base,
#mw-content-container {
    background-color: #b39662;
}

/* Adjust the sidebar background for consistency */
#mw-panel {
    background-color: #b39662;
}

/* Header adjustments */
#mw-header,
#p-personal,
#p-search {
    background-color: #b39662;
}

/* Ensure the footer is also consistent */
#footer {
    background-color: #b39662;
}

/* Optional: If the main content is nested within a white box */
#content, 
#bodyContent {
    background-color: transparent; /* Allow the background to show through */
    border: none; /* Remove any borders, if applicable */
}

/* Additional adjustments for Vector 2022 */
.skin-vector-2022 #mw-navigation {
    background-color: #b39662;
}
/* Set the background image to fill the page and stay behind all content */