Jump to content

MediaWiki:Common.css: Difference between revisions

From Utopia Game
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* =========================================================
  GLOBAL THEME – MediaWiki 1.45 / Vector 2022
  ========================================================= */


/* Vector 2022 background gradient */
/* ---------- Background ---------- */
html,
html,
body,
body,
Line 10: Line 12:
}
}


/* Make content areas transparent to show gradient */
/* Make content areas transparent */
.mw-page-container,
.mw-page-container,
.mw-body,
.mw-body,
Line 18: Line 20:
}
}


 
/* ---------- Text ---------- */
/* Default text color white */
body,
body,
.mw-body,
.mw-body,
Line 28: Line 29:
}
}


/* Headings and page titles gold color */
/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
h1, h2, h3, h4, h5, h6,
.mw-headline,
.mw-headline,
Line 37: Line 38:
}
}


/* Logo sizing (Vector 2022) */
/* ---------- Logo ---------- */
.mw-logo-icon,
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo-icon img,
Line 47: Line 48:
}
}


/* If the logo is applied as a background image */
.mw-logo-icon {
.mw-logo-icon {
     background-size: auto 56px !important;
     background-size: auto 56px !important;
Line 58: Line 58:
}
}


/* Full navigation bar background - Multiple selectors for Vector 2022 */
/* ---------- Header ---------- */
.vector-header-container,
.vector-header-container,
.vector-header,
.vector-header,
Line 67: Line 67:
}
}


 
/* Site name */
/* Site name styling in top navigation bar (Vector 2022) */
.mw-logo-wordmark,
.mw-logo-wordmark,
.mw-logo-wordmark a {
.mw-logo-wordmark a {
Line 77: Line 76:
}
}


/* Site name hover effect */
.mw-logo-wordmark a:hover {
.mw-logo-wordmark a:hover {
     color: #FFD60A !important;
     color: #FFD60A !important;
}
}


/* Alternative: If the site name is in a different element */
/* ---------- Sidebar Headings ---------- */
.vector-pinnable-header-label {
    color: #FFC300 !important;
    font-size: 1.5em !important;
}
 
 
/* Sidebar "Main Menu" title - make it black */
.vector-pinnable-header-label,
.vector-pinnable-header-label,
.vector-main-menu-heading,
.vector-main-menu-heading,
Line 96: Line 87:
}
}


.ns-0 a {
/* =========================================================
    color: #4DA3FF !important;
  PAGE CONTENT LINKS (BLUE)
}
  ========================================================= */
 


/* Change color of all working internal links */
.mw-parser-output a,
#content a:link {
.mw-parser-output a:link {
     color: #4DA3FF !important;
     color: #4DA3FF !important;
}
}


/* Change color of visited working internal links */
.mw-parser-output a:visited {
#content a:visited {
     color: #2C6FCC !important;
     color: #FFC300 !important;
}
}


/* Ensure missing pages (redlinks) stay red or default */
.mw-parser-output a:hover {
#content a.new,
     color: #6BB6FF !important;
#content a.new:visited {
    text-decoration: underline;
     color: #CC2200 !important; /* Or remove this line to use default red */
}
}


 
.mw-parser-output a:active {
/* Change Navigation Icon/Link Colors */
     color: #1F4FA3 !important;
#mw-panel .portal a,
#mw-panel .portal a:visited {
     color: #FFC300 !important; /* Change to your desired color */
}
}


 
/* Missing pages */
/* Change Footer Link Colors */
.mw-parser-output a.new,
div#footer ul li a,  
.mw-parser-output a.new:visited {
div#footer ul li a:visited {
     color: #CC2200 !important;
     color: #FFC300 !important; /* Change to your desired color */
}
}


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


/* Change Footer Text and Icons */
.vector-menu-content a,
div#footer ul li {
#mw-panel a,
.vector-header a,
#footer a,
.mw-footer a {
     color: #FFC300 !important;
     color: #FFC300 !important;
}
}


 
.vector-menu-content a:hover,
/* Change Navigation Icon/Link Colors */
#mw-panel a:hover,
#mw-panel .portal a,  
.vector-header a:hover,
#mw-panel .portal a:visited {
#footer a:hover,
    color: #FFC300 !important; /* Change to your desired color */
.mw-footer a:hover {
}
     color: #FFD60A !important;
 
/* ===== NAVIGATION ICONS - VECTOR 2022 ===== */
/* User menu icon (person icon) */
.vector-user-links .vector-icon,
.vector-user-menu-login .vector-icon,
.vector-user-menu-create-account .vector-icon {
     filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
}


/* Settings/hamburger menu icon */
/* ---------- Footer Text ---------- */
.vector-main-menu-action-toggle .vector-icon,
.vector-page-tools-landmark .vector-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
 
/* All navigation icons */
.vector-icon,
.mw-ui-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
 
/* User menu links (username) */
.vector-user-links a,
.vector-user-menu-logged-in .vector-user-links-main a {
    color: #FFC300 !important;
}
 
/* ===== FOOTER LINKS - VECTOR 2022 ===== */
/* All footer links */
#footer a,
#footer a:link,
#footer a:visited,
.mw-footer a,
.mw-footer a:link,
.mw-footer a:visited,
footer a,
footer a:link,
footer a:visited {
    color: #FFC300 !important;
}
 
/* Footer text color */
#footer,
#footer,
#footer li,
#footer li,
.mw-footer,
.mw-footer,
.mw-footer li,
.mw-footer li {
footer,
footer li {
     color: #FFC300 !important;
     color: #FFC300 !important;
}
}


/* Older footer selectors (keeping for compatibility) */
/* =========================================================
div#footer ul li a,
  VECTOR ICONS (GOLD)
div#footer ul li a:visited {
  ========================================================= */
    color: #FFC300 !important;
}


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

Revision as of 15:56, 26 January 2026

/* =========================================================
   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;
}