MediaWiki:Common.css: Difference between revisions

From The Jadnix Codex

No edit summary
No edit summary
Line 155: Line 155:
     color: #000 !important;
     color: #000 !important;
     box-shadow: 0 0 15px #a020f0;
     box-shadow: 0 0 15px #a020f0;
}
/* ============================================================
  FACTION THEME: RESCUE & REMOVAL (The Skippers)
  ============================================================ */
.faction-skipper {
    /* Override the Purple with Skipper Blue */
    --color-primary: #21b0cd;
    --color-primary--hover: #1e9cb5;
    --color-primary--active: #187d91;
    border-left: 5px solid #21b0cd;
    padding-left: 15px;
}
/* ============================================================
  THE CRDD CALCULATOR (The Device)
  ============================================================ */
#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;
}
/* The Header of the Device */
.crdd-header {
    border-bottom: 1px dashed #21b0cd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: right;
    font-size: 0.8em;
    opacity: 0.8;
}
/* The Sections (1/3, 2/3, 3/3) */
.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;
}
/* The Sliders */
.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; /* Makes the slider blue */
}
.crdd-value-display {
    width: 30px;
    text-align: right;
    font-weight: bold;
}
/* The "Skip" Checkbox */
.crdd-skip-label {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.8em;
    cursor: pointer;
}
/* The Result Box */
#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;
}
}

Revision as of 13:02, 9 February 2026

/* ============================================================
   JADNIX CODEX: CITIZEN OVERRIDE
   ============================================================ */

:root {
    /* 1. THE VOID (Backgrounds) */
    --background-color-base: #0a0a0f;       /* Deep Void Black */
    --background-color-surface: #13131a;    /* Slightly lighter for cards */
    --background-color-overlay: #1a1a24;    /* Headers */

    /* 2. THE TEXT */
    --color-base: #d1d1d1;                  /* Light Gray text */
    
    /* 3. THE FACTIONS (Colors) */
    --color-primary: #a020f0;               /* JADNIX PURPLE */
    --color-primary--hover: #b040ff;        
    --color-primary--active: #9010e0;       

    --color-secondary: #00ff9f;             /* JADNIX GREEN */

    /* 4. THE FONT (Monospace/Terminal Style) */
    --font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
    --font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* ============================================================
   CUSTOM VISUALS
   ============================================================ */

/* 5. THE SCANLINES (Your original code!) */
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; 
}

/* 6. LINK BEHAVIOR (Green Glow on Hover) */
a { transition: all 0.2s ease-in-out; }
a:hover {
    color: var(--color-secondary) !important;
    text-shadow: 0 0 8px var(--color-secondary);
    text-decoration: none;
}

/* 7. HEADER BORDER */
.mw-header {
    border-bottom: 3px solid var(--color-primary);
}

/* 8. LOGO TINT (Makes the default logo purple-ish until you replace it) */
.mw-logo-icon { filter: hue-rotate(260deg); }

/* ============================================================
   NUCLEAR SPLASH SCREEN V2 (Citizen Skin Fix)
   ============================================================ */

/* 1. HIDE ALL CITIZEN UI ELEMENTS ON WARNING PAGE */
/* We list every possible name Citizen uses for headers/footers */
body.page-Warning header,
body.page-Warning footer,
body.page-Warning #mw-header-container,
body.page-Warning #mw-site-navigation,
body.page-Warning .mw-page-header,       /* The Edit Button area */
body.page-Warning .citizen-header,
body.page-Warning .citizen-footer,
body.page-Warning #mw-related-navigation,
body.page-Warning .citizen-drawer {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 2. THE FULL SCREEN OVERLAY */
body.page-Warning .splash-container {
    /* Force it to be fixed to the screen */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    
    /* Ensure the background is SOLID black so nothing peeks through */
    background-color: #0a0a0f !important;
    
    /* Maximum Z-Index possible in a browser */
    z-index: 2147483647 !important; 
    
    /* Centering Magic (Flexbox) */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Reset margins so it touches the edges */
    margin: 0 !important;
    padding: 20px !important; /* Padding for mobile screens */
    box-sizing: border-box !important;
}

/* 3. THE INNER BOX (Visual Style) */
/* We wrap the text in a visual box so it looks good on mobile */
.splash-inner-wrapper {
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
    border-top: 4px solid #a020f0;
    background: #13131a; /* Slightly lighter than void */
    padding: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    text-align: center;
}

/* 4. TEXT STYLING */
.splash-title {
    font-family: 'Consolas', monospace;
    font-size: 2em; /* Smaller for mobile safety */
    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; /* Force white text */
    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;
}

/* ============================================================
   FACTION THEME: RESCUE & REMOVAL (The Skippers)
   ============================================================ */
.faction-skipper {
    /* Override the Purple with Skipper Blue */
    --color-primary: #21b0cd; 
    --color-primary--hover: #1e9cb5;
    --color-primary--active: #187d91;
    border-left: 5px solid #21b0cd;
    padding-left: 15px;
}

/* ============================================================
   THE CRDD CALCULATOR (The Device)
   ============================================================ */
#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;
}

/* The Header of the Device */
.crdd-header {
    border-bottom: 1px dashed #21b0cd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: right;
    font-size: 0.8em;
    opacity: 0.8;
}

/* The Sections (1/3, 2/3, 3/3) */
.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;
}

/* The Sliders */
.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; /* Makes the slider blue */
}

.crdd-value-display {
    width: 30px;
    text-align: right;
    font-weight: bold;
}

/* The "Skip" Checkbox */
.crdd-skip-label {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.8em;
    cursor: pointer;
}

/* The Result Box */
#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;
}