Jump to content

MediaWiki:Common.css

From Utopia Game
Revision as of 15:56, 26 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.
/* =========================================================
   GLOBAL THEME – MediaWiki 1.45 / Vector 2022
   ========================================================= */

/* ---------- Background ---------- */
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 */
.mw-page-container,
.mw-body,
#content,
.vector-body {
    background: transparent !important;
}

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

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading,
.mw-page-title-main,
.page-Main_Page h1 {
    color: #FFC300 !important;
}

/* ---------- Logo ---------- */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img,
.mw-logo a.mw-logo-container img {
    height: 100px !important;
    width: auto !important;
    max-height: 100px !important;
}

.mw-logo-icon {
    background-size: auto 56px !important;
}

@media (max-width: 720px) {
    .mw-logo-icon {
        height: 32px;
    }
}

/* ---------- Header ---------- */
.vector-header-container,
.vector-header,
#mw-header-container,
.mw-header {
    background: #000814 !important;
    border-bottom: 2px solid #FFC300 !important;
}

/* Site name */
.mw-logo-wordmark,
.mw-logo-wordmark a {
    color: #FFC300 !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.mw-logo-wordmark a:hover {
    color: #FFD60A !important;
}

/* ---------- Sidebar Headings ---------- */
.vector-pinnable-header-label,
.vector-main-menu-heading,
.mw-portlet h3 {
    color: #001D3D !important;
}

/* =========================================================
   PAGE CONTENT LINKS (BLUE)
   ========================================================= */

.mw-parser-output a,
.mw-parser-output a:link {
    color: #4DA3FF !important;
}

.mw-parser-output a:visited {
    color: #2C6FCC !important;
}

.mw-parser-output a:hover {
    color: #6BB6FF !important;
    text-decoration: underline;
}

.mw-parser-output a:active {
    color: #1F4FA3 !important;
}

/* Missing pages */
.mw-parser-output a.new,
.mw-parser-output a.new:visited {
    color: #CC2200 !important;
}

/* =========================================================
   NAVIGATION / HEADER / FOOTER LINKS (GOLD)
   ========================================================= */

.vector-menu-content a,
#mw-panel a,
.vector-header a,
#footer a,
.mw-footer a {
    color: #FFC300 !important;
}

.vector-menu-content a:hover,
#mw-panel a:hover,
.vector-header a:hover,
#footer a:hover,
.mw-footer a:hover {
    color: #FFD60A !important;
}

/* ---------- Footer Text ---------- */
#footer,
#footer li,
.mw-footer,
.mw-footer li {
    color: #FFC300 !important;
}

/* =========================================================
   VECTOR ICONS (GOLD)
   ========================================================= */

.vector-icon,
.mw-ui-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%)
            hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}