MediaWiki:Common.css: Difference between revisions

From The Jadnix Codex

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   JADNIX CODEX: MEDIK VOID (FINAL MASTER V4)
   JADNIX CODEX: MEDIK VOID (FINAL MASTER V5)
   ============================================================ */
   ============================================================ */


/* 1. NUCLEAR BACKGROUND FIX */
/* 1. NUCLEAR BACKGROUND FIX (Kills White Grid) */
html, body, .medik-wrap, .container, .container-fluid, .row, #mw-wrapper {
html, body, .medik-wrap, .container, .container-fluid, .row, #mw-wrapper {
     background-color: #0a0a0f !important;
     background-color: #0a0a0f !important;
Line 10: Line 10:
}
}


/* SCANLINES */
/* SCANLINES OVERLAY */
body::before {
body::before {
     content: " ";
     content: " ";
Line 23: Line 23:
}
}


/* 2. NAVIGATION & LINKS (Fixing the Invisible Text) */
/* 2. NAVIGATION & LINKS ( The Fix for "Smushed" & "Dark" links ) */
/* Sidebar Links */
 
.sidebar a, .portlet a, .medik-drawer a {
/* TOP HEADER LINKS */
     color: #d1d1d1 !important;
#mw-navigation a,
.navbar-nav .nav-link,
.dropdown-toggle {
     color: #d1d1d1 !important; /* Light Grey text */
    font-family: 'Consolas', monospace;
}
}
.sidebar a:hover, .portlet a:hover {
#mw-navigation a:hover,
     color: #fff !important;
.navbar-nav .nav-link:hover {
     color: #ffffff !important;
    text-shadow: 0 0 5px #a020f0;
     text-decoration: none;
     text-decoration: none;
    text-shadow: 0 0 5px #a020f0;
}
}


/* Top Navbar Links */
/* SIDEBAR LINKS (Spacing Fix) */
.navbar-nav .nav-link, .navbar a {
aside a,
.sidebar a,
.medik-drawer a {
     color: #d1d1d1 !important;
     color: #d1d1d1 !important;
    font-family: sans-serif;
    display: block;          /* Forces them to be blocks */
    padding: 8px 10px !important; /* Adds breathing room (Fixes smushing) */
    margin-bottom: 2px;
    border-radius: 4px;
    transition: background 0.2s;
}
}
.navbar-nav .nav-link:hover {
 
/* Sidebar Hover */
aside a:hover, .sidebar a:hover {
    background-color: rgba(160, 32, 240, 0.15); /* Purple Highlight */
     color: #fff !important;
     color: #fff !important;
    text-decoration: none !important;
    padding-left: 15px !important; /* Slight slide animation */
}
/* Sidebar Headers */
aside h3, .sidebar h3 {
    color: #a020f0 !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 0 5px 10px;
    border-bottom: 1px solid #333;
}
}


/* Dropdown Menus (The "Actions" Menu) */
/* 3. DROPDOWNS & MENUS */
.dropdown-menu {
.dropdown-menu {
     background-color: #13131a !important;
     background-color: #13131a !important;
     border: 1px solid #a020f0 !important;
     border: 1px solid #a020f0 !important;
}
}
.dropdown-item {
.dropdown-item { color: #d1d1d1 !important; }
    color: #d1d1d1 !important;
.dropdown-item:hover {
}
.dropdown-item:hover, .dropdown-item:focus {
     background-color: #a020f0 !important;
     background-color: #a020f0 !important;
     color: #fff !important;
     color: #fff !important;
}
}


/* 3. LAYOUT CONTAINERS */
/* 4. CONTENT CARD */
/* Main Content Card */
#content, .mw-body {
#content, .mw-body {
     background-color: #13131a !important;
     background-color: #13131a !important;
Line 66: Line 90:
     color: #d1d1d1 !important;
     color: #d1d1d1 !important;
}
}
/* Header/Navbar */
/* Transparent Layout Columns */
.col-12, .col-md-9, .col-xl-9, .py-md-3 { background: transparent !important; }
 
/* 5. HEADER / NAVBAR CONTAINER */
.navbar {
.navbar {
     background-color: #1a1a24 !important;
     background-color: #1a1a24 !important;
     border-bottom: 2px solid #a020f0;
     border-bottom: 2px solid #a020f0;
}
}
/* 6. SIDEBAR (Fixed using Inspector) */
.navbar-brand {
    color: #fff !important;
    font-family: 'Consolas', monospace;
    font-size: 1.5em;
}
 
/* 6. SIDEBAR CONTAINER */
.sidebar, .portlet, .medik-drawer, aside {
.sidebar, .portlet, .medik-drawer, aside {
     background-color: #0f0f14 !important;
     background-color: #0f0f14 !important;
Line 77: Line 110:
}
}


/* HEADERS */
/* 7. SEARCH & INPUTS */
aside h3, .sidebar h3 {
.form-control, input, textarea {
    color: #a020f0 !important;
     background-color: #000 !important;
    text-transform: uppercase;
     border: 1px solid #333 !important;
    font-weight: bold;
     color: #fff !important;
    padding-left: 10px;
}
 
/* LINKS - THE FIX */
aside a,
aside a:not(.disabled),  
.sidebar a,
.medik-drawer a {
     color: #d1d1d1 !important; /* Readable Light Grey */
    font-family: sans-serif;
    padding: 5px 10px;
     display: block;
}
 
/* HOVER EFFECT */
aside a:hover,
aside a:not(.disabled):hover,
.sidebar a:hover {
    color: #ffffff !important; /* Pure White */
     text-shadow: 0 0 5px #a020f0; /* Purple Glow */
    text-decoration: none !important;
    background-color: rgba(160, 32, 240, 0.1); /* Subtle purple background */
}
}


/* 4. TYPOGRAPHY */
/* 8. TYPOGRAPHY & FOOTER */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     color: #fff !important;
     color: #fff !important;
Line 115: Line 126:
a:hover { color: #b040ff; text-decoration: none; }
a:hover { color: #b040ff; text-decoration: none; }


/* ============================================================
footer, .footer, .mw-footer {
  HOME PAGE STYLES (Moved here to fix the broken page)
    background-color: #0a0a0f !important;
  ============================================================ */
    color: #666 !important;
.home-wrapper { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; font-family: 'Consolas', 'Monaco', monospace; }
    border-top: 1px solid #333;
.memo-box { border: 1px solid #333; background: #0f0f14; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
    margin-top: 0 !important;
.memo-header { background: #1a1a24; border-bottom: 1px solid #a020f0; padding: 15px; color: #a020f0; font-size: 0.9em; letter-spacing: 1px; }
.memo-content { padding: 25px; color: #d1d1d1; line-height: 1.6; font-size: 1.05em; }
.memo-signoff { margin-top: 20px; font-style: italic; color: #a020f0; text-align: right; }
 
.faction-list { display: flex; flex-direction: column; gap: 30px; }
.faction-row { display: flex; align-items: flex-start; gap: 30px; background: #0f0f14; border: 1px solid #333; padding: 30px; text-decoration: none !important; color: #d1d1d1 !important; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; }
.faction-row:hover { transform: translateX(10px); z-index: 10; }
.faction-logo { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }
.faction-text-area { flex-grow: 1; }
.faction-header { font-size: 1.5em; font-weight: bold; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px dashed #333; padding-bottom: 10px; }
.faction-body { font-size: 0.95em; line-height: 1.6; color: #aaa; }
 
.card-still { border-left: 6px solid #a020f0; }
.card-still:hover { box-shadow: -10px 0 30px rgba(160, 32, 240, 0.15); border-color: #a020f0; }
.card-still .faction-header { color: #a020f0; }
 
.card-void { border-left: 6px solid #DAA520; }
.card-void:hover { box-shadow: -10px 0 30px rgba(218, 165, 32, 0.15); border-color: #DAA520; }
.card-void .faction-header { color: #DAA520; font-family: 'Georgia', serif; }
.card-void .faction-body { font-family: 'Georgia', serif; color: #ccc; }
 
.card-rr { border-left: 6px solid #21b0cd; }
.card-rr:hover { box-shadow: -10px 0 30px rgba(33, 176, 205, 0.15); border-color: #21b0cd; }
.card-rr .faction-header { color: #21b0cd; }
 
.nav-header { border-bottom: 1px dashed #555; padding-bottom: 10px; margin-bottom: 20px; color: #fff; text-transform: uppercase; }
.nav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.nav-card { position: relative; background-color: #0f0f14; border: 1px solid #333; height: 120px; overflow: hidden; text-decoration: none !important; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: all 0.3s ease; }
.nav-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.1; transition: opacity 0.3s ease, transform 0.5s ease; z-index: 1; filter: grayscale(100%); }
.nav-content { z-index: 2; text-align: center; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.nav-title { font-family: 'Consolas', monospace; font-size: 1.2em; font-weight: bold; color: #fff; display: block; background: rgba(0,0,0,0.6); padding: 5px 10px; }
.nav-sub { font-family: 'Arial', sans-serif; font-size: 0.7em; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; display: block; }
.nav-card:hover { border-color: #a020f0; box-shadow: 0 0 15px rgba(160, 32, 240, 0.3); transform: translateY(-2px); }
.nav-card:hover .nav-bg { opacity: 0.5; transform: scale(1.1); filter: grayscale(0%); }
.nav-card:hover .nav-title { color: #a020f0; background: #000; }
 
@media (max-width: 768px) {
    .faction-row { flex-direction: column; align-items: center; text-align: center; }
    .faction-logo { margin-bottom: 20px; }
    .nav-grid { grid-template-columns: 1fr 1fr; }
}
}


Line 165: Line 136:
   FACTION THEMES
   FACTION THEMES
   ============================================================ */
   ============================================================ */
/* DEALERS (Gold) */
body.theme-dealer { --font-family-system: 'Georgia', serif; }
body.theme-dealer { --font-family-system: 'Georgia', serif; }
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; }
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; }
Line 173: Line 145:
body.theme-dealer a:hover { color: #FFD700; text-shadow: 0 0 5px #DAA520; }
body.theme-dealer a:hover { color: #FFD700; text-shadow: 0 0 5px #DAA520; }
body.theme-dealer h1, body.theme-dealer h2 { font-family: 'Georgia', serif; color: #DAA520 !important; }
body.theme-dealer h1, body.theme-dealer h2 { font-family: 'Georgia', serif; color: #DAA520 !important; }
/* Sidebar Highlight for Dealers */
body.theme-dealer aside a:hover { background-color: rgba(218, 165, 32, 0.15); color: #FFD700 !important; }


/* SKIPPERS (Blue) */
body.theme-skipper { --font-family-system: 'Consolas', monospace; }
body.theme-skipper { --font-family-system: 'Consolas', monospace; }
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; }
Line 182: Line 157:
body.theme-skipper a:hover { color: #00e5ff; text-shadow: 0 0 5px #21b0cd; }
body.theme-skipper a:hover { color: #00e5ff; text-shadow: 0 0 5px #21b0cd; }
body.theme-skipper h1, body.theme-skipper h2 { color: #21b0cd !important; }
body.theme-skipper h1, body.theme-skipper h2 { color: #21b0cd !important; }
/* Sidebar Highlight for Skippers */
body.theme-skipper aside a:hover { background-color: rgba(33, 176, 205, 0.15); color: #00e5ff !important; }


/* STILL (Purple) */
body.theme-still #content { border-left: 5px solid #a020f0 !important; }
body.theme-still #content { border-left: 5px solid #a020f0 !important; }
body.theme-still .navbar { border-bottom-color: #a020f0 !important; }
body.theme-still .navbar { border-bottom-color: #a020f0 !important; }
Line 213: Line 191:
   SPLASH SCREEN
   SPLASH SCREEN
   ============================================================ */
   ============================================================ */
body.page-Warning nav.navbar, body.page-Warning footer, body.page-Warning .sidebar { display: none !important; }
body.page-Warning nav.navbar, body.page-Warning footer, body.page-Warning .sidebar, body.page-Warning aside { 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; }
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; }
.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; }

Revision as of 21:52, 9 February 2026

/* ============================================================
   JADNIX CODEX: MEDIK VOID (FINAL MASTER V5)
   ============================================================ */

/* 1. NUCLEAR BACKGROUND FIX (Kills White Grid) */
html, body, .medik-wrap, .container, .container-fluid, .row, #mw-wrapper {
    background-color: #0a0a0f !important;
    background-image: none !important;
    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. NAVIGATION & LINKS ( The Fix for "Smushed" & "Dark" links ) */

/* TOP HEADER LINKS */
#mw-navigation a,
.navbar-nav .nav-link,
.dropdown-toggle {
    color: #d1d1d1 !important; /* Light Grey text */
    font-family: 'Consolas', monospace;
}
#mw-navigation a:hover,
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #a020f0;
    text-decoration: none;
}

/* SIDEBAR LINKS (Spacing Fix) */
aside a, 
.sidebar a, 
.medik-drawer a {
    color: #d1d1d1 !important;
    font-family: sans-serif;
    display: block;          /* Forces them to be blocks */
    padding: 8px 10px !important; /* Adds breathing room (Fixes smushing) */
    margin-bottom: 2px;
    border-radius: 4px;
    transition: background 0.2s;
}

/* Sidebar Hover */
aside a:hover, .sidebar a:hover {
    background-color: rgba(160, 32, 240, 0.15); /* Purple Highlight */
    color: #fff !important;
    text-decoration: none !important;
    padding-left: 15px !important; /* Slight slide animation */
}

/* Sidebar Headers */
aside h3, .sidebar h3 {
    color: #a020f0 !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 0 5px 10px;
    border-bottom: 1px solid #333;
}

/* 3. DROPDOWNS & MENUS */
.dropdown-menu {
    background-color: #13131a !important;
    border: 1px solid #a020f0 !important;
}
.dropdown-item { color: #d1d1d1 !important; }
.dropdown-item:hover {
    background-color: #a020f0 !important;
    color: #fff !important;
}

/* 4. CONTENT CARD */
#content, .mw-body {
    background-color: #13131a !important;
    border: 1px solid #333 !important;
    border-left: 5px solid #a020f0 !important;
    box-shadow: 0 0 30px rgba(0,0,0,0.8) !important;
    margin-top: 20px !important;
    padding: 30px !important;
    color: #d1d1d1 !important;
}
/* Transparent Layout Columns */
.col-12, .col-md-9, .col-xl-9, .py-md-3 { background: transparent !important; }

/* 5. HEADER / NAVBAR CONTAINER */
.navbar {
    background-color: #1a1a24 !important;
    border-bottom: 2px solid #a020f0;
}
.navbar-brand {
    color: #fff !important;
    font-family: 'Consolas', monospace;
    font-size: 1.5em;
}

/* 6. SIDEBAR CONTAINER */
.sidebar, .portlet, .medik-drawer, aside {
    background-color: #0f0f14 !important;
    border-right: 1px solid #333;
}

/* 7. SEARCH & INPUTS */
.form-control, input, textarea {
    background-color: #000 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}

/* 8. TYPOGRAPHY & FOOTER */
h1, h2, h3, h4, h5, h6 {
    color: #fff !important;
    font-family: 'Consolas', monospace;
    border-bottom: 1px solid #333;
}
a { color: #a020f0; transition: 0.2s; }
a:hover { color: #b040ff; text-decoration: none; }

footer, .footer, .mw-footer {
    background-color: #0a0a0f !important;
    color: #666 !important;
    border-top: 1px solid #333;
    margin-top: 0 !important;
}

/* ============================================================
   FACTION THEMES
   ============================================================ */
/* DEALERS (Gold) */
body.theme-dealer { --font-family-system: 'Georgia', serif; }
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; }
body.theme-dealer .navbar { border-bottom-color: #DAA520 !important; }
body.theme-dealer .dropdown-menu { border-color: #DAA520 !important; }
body.theme-dealer .dropdown-item:hover { background-color: #DAA520 !important; color: #000 !important; }
body.theme-dealer a { color: #DAA520; }
body.theme-dealer a:hover { color: #FFD700; text-shadow: 0 0 5px #DAA520; }
body.theme-dealer h1, body.theme-dealer h2 { font-family: 'Georgia', serif; color: #DAA520 !important; }
/* Sidebar Highlight for Dealers */
body.theme-dealer aside a:hover { background-color: rgba(218, 165, 32, 0.15); color: #FFD700 !important; }

/* SKIPPERS (Blue) */
body.theme-skipper { --font-family-system: 'Consolas', monospace; }
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper .navbar { border-bottom-color: #21b0cd !important; }
body.theme-skipper .dropdown-menu { border-color: #21b0cd !important; }
body.theme-skipper .dropdown-item:hover { background-color: #21b0cd !important; }
body.theme-skipper a { color: #21b0cd; }
body.theme-skipper a:hover { color: #00e5ff; text-shadow: 0 0 5px #21b0cd; }
body.theme-skipper h1, body.theme-skipper h2 { color: #21b0cd !important; }
/* Sidebar Highlight for Skippers */
body.theme-skipper aside a:hover { background-color: rgba(33, 176, 205, 0.15); color: #00e5ff !important; }

/* STILL (Purple) */
body.theme-still #content { border-left: 5px solid #a020f0 !important; }
body.theme-still .navbar { border-bottom-color: #a020f0 !important; }
body.theme-still a { color: #a020f0; }
body.theme-still a:hover { color: #b040ff; text-shadow: 0 0 5px #a020f0; }

/* ============================================================
   CRDD CALCULATOR
   ============================================================ */
#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
   ============================================================ */
body.page-Warning nav.navbar, body.page-Warning footer, body.page-Warning .sidebar, body.page-Warning aside { 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; }
.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; }