Jump to content

MediaWiki:Common.css

From Utopia Game
Revision as of 20:07, 24 January 2026 by Sonja says (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Vector 2022 background gradient */
html,
body,
.vector-feature-page-tools-disabled .mw-page-container,
.vector-feature-page-tools-enabled .mw-page-container {
    background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
    background-attachment: fixed !important;
}

/* Make content areas transparent to show gradient */
.mw-page-container,
.mw-body,
#content,
.vector-body {
    background: transparent !important;
}

/* Sidebar transparent */
#mw-panel,
.vector-main-menu,
.vector-sidebar {
    background: transparent !important;
}

/* Default text color white */
body,
.mw-body,
.mw-body-content,
#mw-content-text,
.vector-body {
    color: #FFFFFF !important;
}

/* Header transparent */
.vector-header-container {
    background: transparent !important;
}

/* Headings and page titles gold color */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading,
.mw-page-title-main,
.page-Main_Page h1 {
    color: #FFC300 !important;
}
/* Hide default Vector search icon */
.cdx-search-input__icon {
  display: none;
}

/* Add custom search icon */
.cdx-search-input {
  background-image: url("/index.php/Special:FilePath/Utopiawiki.png");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 16px 16px;
  padding-left: 36px;
}