MediaWiki:Common.css: Difference between revisions

From The Jadnix Codex

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   JADNIX CODEX: MONOBOOK VOID EDITION (NUCLEAR)
   JADNIX CODEX: TIMELESS VOID EDITION
   ============================================================ */
   ============================================================ */


/* 1. RESET & BACKGROUNDS - KILL THE WHITE */
/* 1. RESET & BACKGROUNDS */
body,  
body,  
#globalWrapper,  
#mw-wrapper,
#column-content,  
#mw-content-container,
#content,
#mw-header-container,
#footer,
#mw-content {
.pBody,
     background-image: none !important;
.portlet,
#p-cactions {
     background-image: none !important; /* Kills the default gradients */
     background-color: #0a0a0f !important; /* Void Black */
     background-color: #0a0a0f !important; /* Void Black */
     color: #d1d1d1 !important;
     color: #d1d1d1 !important;
Line 33: Line 30:
}
}


/* 2. THE MAIN CONTENT SHEET */
/* 2. THE CONTENT BOX */
#content {
#mw-content {
     background-color: #13131a !important; /* Dark Grey Surface */
     background-color: #13131a !important; /* Dark Grey Surface */
     border: 1px solid #333 !important;
     border: 1px solid #333 !important;
     border-left: 5px solid #a020f0 !important; /* Default Purple Accent */
     border-left: 5px solid #a020f0 !important; /* Default Purple Accent */
     margin: 2.8em 0 0 12.2em !important;
     padding: 20px !important;
}
}


/* 3. SIDEBAR BOXES (Navigation, Search) */
/* 3. HEADER & LOGO */
.pBody {
#mw-header-container {
     background-color: #0f0f14 !important;
     background-color: #1a1a24 !important;
     border: 1px solid #333 !important;
     border-bottom: 2px solid #a020f0;
    border-right: none !important;
    color: #ccc !important;
    border-radius: 0 0 10px 0;
}
}
.portlet h3 {
#p-logo-text a {
     color: #fff !important;
     color: #fff !important;
    text-transform: uppercase;
     font-family: 'Consolas', monospace;
     font-weight: bold;
    border-bottom: 2px solid #a020f0;
    margin-bottom: 5px;
}
}
.pBody a { color: #a020f0; text-decoration: none; }
.pBody a:hover { color: #00ff9f; }


/* 4. TABS (Page, Discussion, Edit) */
/* 4. SIDEBAR MENUS */
#p-cactions {
.sidebar-chunk {
    left: 12.2em !important;
     background-color: #0f0f14 !important;
    background-color: transparent !important;
}
#p-cactions li {
     background-color: #1a1a24 !important; /* Inactive Tab */
     border: 1px solid #333 !important;
     border: 1px solid #333 !important;
     border-bottom: none !important;
     margin-bottom: 10px;
    margin-right: 2px;
}
}
#p-cactions li.selected {
.sidebar-inner h3 {
     background-color: #13131a !important; /* Active Tab matches content */
     color: #fff !important;
     font-weight: bold;
     border-bottom: 2px solid #a020f0;
     border-bottom: 1px solid #13131a !important;  
     text-transform: uppercase;
}
}
#p-cactions li a {
.sidebar-inner a {
    background-color: transparent !important;
     color: #a020f0 !important;
     color: #a020f0 !important;
    text-transform: lowercase;
    font-family: 'Consolas', monospace;
}
#p-cactions li.selected a {
    color: #fff !important;
}
}


/* 5. TOP USER BAR (Sinvrh) */
/* 5. FIX SEARCH BAR */
#p-personal {
#simpleSearch {
     background-color: #13131a !important;
     background-color: #000 !important;
     border: 1px solid #333;
     border: 1px solid #333 !important;
    border-top: none;
    padding: 5px 10px;
    border-bottom-left-radius: 10px;
}
#p-personal li a { color: #a020f0 !important; font-weight: bold; }
#p-personal li a:hover { color: #fff !important; }
 
/* 6. SEARCH INPUTS */
input.searchButton {
    background-color: #a020f0 !important;
    border: 1px solid #a020f0 !important;
    color: #000 !important;
    font-weight: bold;
    cursor: pointer;
}
}
#searchInput {
#simpleSearch input {
    background-color: #000 !important;
     color: #fff !important;
     color: #fff !important;
    border: 1px solid #333;
}
}


/* 7. FOOTER CLEANUP */
/* 6. FOOTER */
#footer {
#mw-footer-container {
    background-color: #0a0a0f !important;
     border-top: 1px solid #333;
     border-top: 1px solid #333;
    color: #555 !important;
}
}


/* ============================================================
/* ============================================================
   FACTION THEMES (MonoBook Complete Override)
   FACTION THEMES (Timeless Version)
   ============================================================ */
   ============================================================ */


/* --- 1. SKIPPERS (Blue) --- */
/* --- DEALERS (Gold) --- */
body.theme-skipper {
body.theme-dealer #mw-content { border-left: 5px solid #DAA520 !important; }
    --faction-color: #21b0cd;
body.theme-dealer #mw-header-container { border-bottom: 2px solid #DAA520 !important; }
}
body.theme-dealer a { color: #DAA520; }
 
body.theme-dealer a:hover { color: #FFD700; }
/* Content Borders & Headers */
body.theme-dealer .sidebar-inner h3 { border-color: #DAA520 !important; }
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper h1,
body.theme-skipper h2,
body.theme-skipper h3 {  
    color: #21b0cd !important;
    border-bottom: 1px solid #21b0cd !important;
}
 
/* Sidebar Headers */
body.theme-skipper .portlet h3 {  
    color: #21b0cd !important;
    border-bottom: 2px solid #21b0cd !important;
}
 
/* Tabs (Top) */
body.theme-skipper #p-cactions li.selected {  
    border-bottom: 1px solid #13131a !important; /* Merge with content */
    background-color: #13131a !important;
}
body.theme-skipper #p-cactions li a { color: #21b0cd !important; }


/* Links & Buttons */
/* --- SKIPPERS (Blue) --- */
body.theme-skipper #mw-content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper #mw-header-container { border-bottom: 2px solid #21b0cd !important; }
body.theme-skipper a { color: #21b0cd; }
body.theme-skipper a { color: #21b0cd; }
body.theme-skipper a:hover { color: #00e5ff; }
body.theme-skipper a:hover { color: #00e5ff; }
body.theme-skipper .mw-ui-button {
body.theme-skipper .sidebar-inner h3 { border-color: #21b0cd !important; }
    background-color: #21b0cd !important;
    color: #fff !important;
    border-color: #21b0cd !important;
}
 
 
/* --- 2. DEALERS (Gold) --- */
body.theme-dealer {
    --faction-color: #DAA520;
}
 
/* Content Borders & Headers */
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; }
body.theme-dealer h1,
body.theme-dealer h2,
body.theme-dealer h3 {
    color: #DAA520 !important;
    border-bottom: 1px solid #DAA520 !important;
    font-family: 'Georgia', serif; /* Keep the Fancy Font */
}


/* Sidebar Headers */
/* --- THE STILL (Purple) --- */
body.theme-dealer .portlet h3 {
body.theme-still #mw-content { border-left: 5px solid #a020f0 !important; }
    color: #DAA520 !important;
body.theme-still #mw-header-container { border-bottom: 2px solid #a020f0 !important; }
    border-bottom: 2px solid #DAA520 !important;
body.theme-still a { color: #a020f0; }
}
body.theme-still a:hover { color: #b040ff; }
 
/* Tabs (Top) */
body.theme-dealer #p-cactions li.selected {  
    border-bottom: 1px solid #13131a !important;
    background-color: #13131a !important;
}
body.theme-dealer #p-cactions li a { color: #DAA520 !important; }
 
/* Links & Buttons */
body.theme-dealer a { color: #DAA520; }
body.theme-dealer a:hover { color: #FFD700; }
body.theme-dealer .mw-ui-button {
    background-color: #DAA520 !important;
    color: #000 !important;
    border-color: #DAA520 !important;
}


/* ============================================================
/* ============================================================
   CRDD CALCULATOR (Universal)
   CRDD CALCULATOR (Universal)
   ============================================================ */
   ============================================================ */
/* (Same code as before - works perfectly in Timeless) */
#crdd-interface {
#crdd-interface {
     background-color: #0a0a0f;
     background-color: #0a0a0f;
Line 227: Line 136:


/* ============================================================
/* ============================================================
   SPLASH SCREEN (Warning Page - MonoBook Fix)
   SPLASH SCREEN (Warning Page - Timeless Fix)
   ============================================================ */
   ============================================================ */
body.page-Warning #p-personal,
/* Hide Timeless UI elements on Warning page */
body.page-Warning #p-logo,
body.page-Warning #mw-header-container,
body.page-Warning #p-navigation,
body.page-Warning #mw-site-navigation,
body.page-Warning #p-search,
body.page-Warning #mw-related-navigation,
body.page-Warning #p-tb,
body.page-Warning #mw-footer-container {
body.page-Warning #p-cactions,
body.page-Warning #footer,
body.page-Warning .portlet {
     display: none !important;
     display: none !important;
}
}
Line 263: Line 169:
.splash-btn { display: inline-block; border: 1px solid #a020f0; padding: 12px 24px; color: #fff !important; text-decoration: none; font-family: 'Consolas', monospace; margin: 20px 0; transition: all 0.3s; }
.splash-btn { display: inline-block; border: 1px solid #a020f0; padding: 12px 24px; color: #fff !important; text-decoration: none; font-family: 'Consolas', monospace; margin: 20px 0; transition: all 0.3s; }
.splash-btn:hover { background: #a020f0; color: #000 !important; box-shadow: 0 0 15px #a020f0; }
.splash-btn:hover { background: #a020f0; color: #000 !important; box-shadow: 0 0 15px #a020f0; }
/* ============================================================
  MONOBOOK REPAIR PATCH (Logo Size & Text Visibility)
  ============================================================ */
/* 1. FIX THE BLACK TEXT (Make "Home" White) */
h1, h2, h3, h4, h5, h6,
.firstHeading,
#firstHeading {
    color: #ffffff !important;
    border-bottom: 1px solid #a020f0 !important; /* Purple underline for style */
    font-family: 'Georgia', serif; /* Optional: Makes titles look classier */
}
/* 2. FIX THE GIANT LOGO */
/* Force the logo to fit inside the sidebar box */
#p-logo {
    height: 155px !important;
    overflow: hidden;
}
#p-logo a {
    background-size: contain !important; /* Shrinks image to fit */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 10em !important;
    height: 10em !important;
    margin: 0 auto;
}
/* 3. ENSURE BODY TEXT IS READABLE */
#bodyContent,
#mw-content-text {
    color: #d1d1d1 !important;
    font-size: 1.1em; /* Slight bump for readability */
}

Revision as of 20:15, 9 February 2026

/* ============================================================
   JADNIX CODEX: TIMELESS VOID EDITION
   ============================================================ */

/* 1. RESET & BACKGROUNDS */
body, 
#mw-wrapper,
#mw-content-container,
#mw-header-container,
#mw-content {
    background-image: none !important;
    background-color: #0a0a0f !important; /* Void Black */
    color: #d1d1d1 !important;
}

/* SCANLINES OVERLAY */
body::before {
    content: " ";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg, 
        rgba(0, 0, 0, 0.15) 0px, 
        rgba(0, 0, 0, 0.15) 1px, 
        transparent 1px, 
        transparent 2px
    );
    z-index: 9999;
    pointer-events: none; 
}

/* 2. THE CONTENT BOX */
#mw-content {
    background-color: #13131a !important; /* Dark Grey Surface */
    border: 1px solid #333 !important;
    border-left: 5px solid #a020f0 !important; /* Default Purple Accent */
    padding: 20px !important;
}

/* 3. HEADER & LOGO */
#mw-header-container {
    background-color: #1a1a24 !important;
    border-bottom: 2px solid #a020f0;
}
#p-logo-text a {
    color: #fff !important;
    font-family: 'Consolas', monospace;
}

/* 4. SIDEBAR MENUS */
.sidebar-chunk {
    background-color: #0f0f14 !important;
    border: 1px solid #333 !important;
    margin-bottom: 10px;
}
.sidebar-inner h3 {
    color: #fff !important;
    border-bottom: 2px solid #a020f0;
    text-transform: uppercase;
}
.sidebar-inner a {
    color: #a020f0 !important;
}

/* 5. FIX SEARCH BAR */
#simpleSearch {
    background-color: #000 !important;
    border: 1px solid #333 !important;
}
#simpleSearch input {
    color: #fff !important;
}

/* 6. FOOTER */
#mw-footer-container {
    background-color: #0a0a0f !important;
    border-top: 1px solid #333;
}

/* ============================================================
   FACTION THEMES (Timeless Version)
   ============================================================ */

/* --- DEALERS (Gold) --- */
body.theme-dealer #mw-content { border-left: 5px solid #DAA520 !important; }
body.theme-dealer #mw-header-container { border-bottom: 2px solid #DAA520 !important; }
body.theme-dealer a { color: #DAA520; }
body.theme-dealer a:hover { color: #FFD700; }
body.theme-dealer .sidebar-inner h3 { border-color: #DAA520 !important; }

/* --- SKIPPERS (Blue) --- */
body.theme-skipper #mw-content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper #mw-header-container { border-bottom: 2px solid #21b0cd !important; }
body.theme-skipper a { color: #21b0cd; }
body.theme-skipper a:hover { color: #00e5ff; }
body.theme-skipper .sidebar-inner h3 { border-color: #21b0cd !important; }

/* --- THE STILL (Purple) --- */
body.theme-still #mw-content { border-left: 5px solid #a020f0 !important; }
body.theme-still #mw-header-container { border-bottom: 2px solid #a020f0 !important; }
body.theme-still a { color: #a020f0; }
body.theme-still a:hover { color: #b040ff; }

/* ============================================================
   CRDD CALCULATOR (Universal)
   ============================================================ */
/* (Same code as before - works perfectly in Timeless) */
#crdd-interface {
    background-color: #0a0a0f;
    border: 2px solid #21b0cd;
    padding: 20px;
    font-family: 'Consolas', monospace;
    color: #21b0cd;
    box-shadow: 0 0 20px rgba(33, 176, 205, 0.2);
    margin-top: 20px;
    max-width: 800px;
}
.crdd-header { border-bottom: 1px dashed #21b0cd; padding-bottom: 10px; margin-bottom: 20px; text-align: right; font-size: 0.8em; opacity: 0.8; }
.crdd-section { margin-bottom: 30px; border: 1px solid #333; padding: 15px; background: #0f0f14; }
.crdd-section-title { background: #21b0cd; color: #000; padding: 5px 10px; font-weight: bold; display: inline-block; margin-bottom: 15px; }
.crdd-input-group { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.crdd-input-group label { flex: 1; font-size: 0.9em; }
.crdd-range { flex: 2; margin: 0 15px; accent-color: #21b0cd; }
.crdd-value-display { width: 30px; text-align: right; font-weight: bold; }
.crdd-skip-label { display: block; margin-bottom: 15px; color: #666; font-size: 0.8em; cursor: pointer; }
#crdd-final-result { border-top: 2px solid #21b0cd; padding-top: 20px; margin-top: 20px; text-align: center; font-size: 1.2em; font-weight: bold; min-height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0d1a1d; }
.crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; }

@media only screen and (max-width: 768px) {
    .crdd-input-group { display: flex !important; flex-direction: column !important; align-items: flex-start !important; margin-bottom: 25px !important; width: 100% !important; }
    .crdd-input-group label { width: 100% !important; margin-bottom: 10px !important; font-size: 1.2em !important; }
    .crdd-range { width: 100% !important; margin: 10px 0 !important; height: 40px !important; }
    .crdd-value-display { width: 100% !important; text-align: right !important; font-size: 1.2em !important; color: #fff !important; }
    #crdd-interface { padding: 10px !important; width: 100% !important; box-sizing: border-box !important; }
}

/* ============================================================
   SPLASH SCREEN (Warning Page - Timeless Fix)
   ============================================================ */
/* Hide Timeless UI elements on Warning page */
body.page-Warning #mw-header-container,
body.page-Warning #mw-site-navigation,
body.page-Warning #mw-related-navigation,
body.page-Warning #mw-footer-container {
    display: none !important;
}

body.page-Warning .splash-container {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background-color: #0a0a0f !important;
    z-index: 2147483647 !important; 
    display: flex !important; flex-direction: column;
    justify-content: center; align-items: center;
    margin: 0 !important; padding: 20px !important;
    box-sizing: border-box !important;
}
.splash-inner-wrapper {
    width: 100%; max-width: 500px;
    border: 1px solid #333; border-top: 4px solid #a020f0;
    background: #13131a; padding: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    text-align: center;
}
/* (Keep title/btn styling same as before) */
.splash-title { font-family: 'Consolas', monospace; font-size: 2em; color: #fff; margin-bottom: 5px; text-shadow: 0 0 10px rgba(160, 32, 240, 0.5); }
.splash-subtitle { color: #a020f0; font-size: 0.8em; letter-spacing: 2px; margin-bottom: 30px; text-transform: uppercase; }
.splash-btn { display: inline-block; border: 1px solid #a020f0; padding: 12px 24px; color: #fff !important; text-decoration: none; font-family: 'Consolas', monospace; margin: 20px 0; transition: all 0.3s; }
.splash-btn:hover { background: #a020f0; color: #000 !important; box-shadow: 0 0 15px #a020f0; }