MediaWiki:Common.css: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
JADNIX CODEX: COSMOS | JADNIX CODEX: COSMOS DARK THEME (CORRECTED MASTER FILE) | ||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* --- 1. CORE DARK MODE & HEADER REMOVAL --- */ | ||
:root { | :root { | ||
color-scheme: dark; | color-scheme: dark; | ||
| Line 13: | Line 13: | ||
} | } | ||
/* | /* Hide the main header */ | ||
.cosmos-header, | .cosmos-header, header { | ||
header { | display: none !important; | ||
} | } | ||
/* | /* Darken the Navigation Bar */ | ||
.cosmos-nav, | .cosmos-nav, nav.cosmos-nav, #cosmos-banner { | ||
nav.cosmos-nav { | |||
background-image: none !important; | background-image: none !important; | ||
background-color: #1a1a24 !important; | background-color: #1a1a24 !important; | ||
border-bottom: 1px solid #333; | border-bottom: 1px solid #333; | ||
box-shadow: none !important; | |||
} | } | ||
/* | /* Darken the Main Content Box */ | ||
#mw-content, #content, .mw-body { | |||
#mw-content, | |||
#content, | |||
.mw-body { | |||
background-color: #13131a !important; | background-color: #13131a !important; | ||
background-image: none !important; | background-image: none !important; | ||
| Line 50: | Line 35: | ||
} | } | ||
/* | /* Darken Footer */ | ||
input, textarea, #simpleSearch { | .cosmos-footer, footer { | ||
background-color: #0a0a0f !important; | |||
color: #666 !important; | |||
border-top: 1px solid #333; | |||
} | |||
/* Darken Inputs */ | |||
input, textarea, #simpleSearch, .mw-ui-input { | |||
background-color: #000 !important; | background-color: #000 !important; | ||
color: #fff !important; | color: #fff !important; | ||
| Line 57: | Line 49: | ||
} | } | ||
/* | /* Text Overrides */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: #fff !important; | color: #fff !important; | ||
| Line 65: | Line 57: | ||
/* ============================================================ | /* ============================================================ | ||
FACTION THEMES ( | FACTION THEMES (FULL RESTORATION) | ||
============================================================ */ | ============================================================ */ | ||
| Line 71: | Line 63: | ||
body.theme-dealer #content, | body.theme-dealer #content, | ||
body.theme-dealer .mw-body { | body.theme-dealer .mw-body { | ||
border-left: 5px solid #DAA520; | border-left: 5px solid #DAA520; | ||
box-shadow: -10px 0 20px -10px rgba(218, 165, 32, 0.2); | box-shadow: -10px 0 20px -10px rgba(218, 165, 32, 0.2); | ||
} | } | ||
body.theme-dealer h1, body.theme-dealer h2, body.theme-dealer h3 { | body.theme-dealer h1, body.theme-dealer h2, body.theme-dealer h3 { | ||
color: #DAA520 !important; | color: #DAA520 !important; | ||
| Line 80: | Line 71: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
body.theme-dealer a { color: #DAA520; } | body.theme-dealer a { color: #DAA520; } | ||
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 .mw-ui-button { | body.theme-dealer .mw-ui-button { | ||
background-color: #DAA520 !important; | background-color: #DAA520 !important; | ||
| Line 90: | Line 78: | ||
border: none; | border: none; | ||
} | } | ||
/* --- 2. SKIPPERS (Blue) --- */ | /* --- 2. SKIPPERS (Blue) --- */ | ||
body.theme-skipper #content, | body.theme-skipper #content, | ||
body.theme-skipper .mw-body { | body.theme-skipper .mw-body { | ||
border-left: 5px solid #21b0cd; | border-left: 5px solid #21b0cd; | ||
box-shadow: -10px 0 20px -10px rgba(33, 176, 205, 0.2); | box-shadow: -10px 0 20px -10px rgba(33, 176, 205, 0.2); | ||
} | } | ||
body.theme-skipper h1, body.theme-skipper h2, body.theme-skipper h3 { | body.theme-skipper h1, body.theme-skipper h2, body.theme-skipper h3 { | ||
color: #21b0cd !important; | color: #21b0cd !important; | ||
font-family: 'Consolas', monospace; | font-family: 'Consolas', monospace; | ||
} | } | ||
body.theme-skipper a { color: #21b0cd; } | body.theme-skipper a { color: #21b0cd; } | ||
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 .mw-ui-button { | body.theme-skipper .mw-ui-button { | ||
background-color: #21b0cd !important; | background-color: #21b0cd !important; | ||
| Line 113: | Line 96: | ||
border: none; | border: none; | ||
} | } | ||
/* --- 3. THE STILL (Purple) --- */ | /* --- 3. THE STILL (Purple) --- */ | ||
body.theme-still #content, | body.theme-still #content, | ||
body.theme-still .mw-body { | body.theme-still .mw-body { | ||
border-left: 5px solid #a020f0; | border-left: 5px solid #a020f0; | ||
box-shadow: -10px 0 20px -10px rgba(160, 32, 240, 0.2); | box-shadow: -10px 0 20px -10px rgba(160, 32, 240, 0.2); | ||
} | } | ||
body.theme-still h1, body.theme-still h2, body.theme-still h3 { | body.theme-still h1, body.theme-still h2, body.theme-still h3 { | ||
color: #a020f0 !important; | color: #a020f0 !important; | ||
font-family: 'Consolas', monospace; | font-family: 'Consolas', monospace; | ||
} | } | ||
body.theme-still a { color: #b040ff; } | body.theme-still a { color: #b040ff; } | ||
body.theme-still a:hover { color: #d080ff; text-shadow: 0 0 5px #a020f0; } | body.theme-still a:hover { color: #d080ff; text-shadow: 0 0 5px #a020f0; } | ||
body.theme-still .mw-ui-button { | body.theme-still .mw-ui-button { | ||
background-color: #a020f0 !important; | background-color: #a020f0 !important; | ||
| Line 140: | Line 118: | ||
COMPONENT: CRDD CALCULATOR | COMPONENT: CRDD CALCULATOR | ||
============================================================ */ | ============================================================ */ | ||
#crdd-interface { | #crdd-interface { | ||
background-color: #0a0a0f; | background-color: #0a0a0f; | ||
| Line 151: | Line 128: | ||
max-width: 800px; | max-width: 800px; | ||
} | } | ||
.crdd-header { | .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-section { | |||
} | |||
.crdd-section-title { | |||
} | |||
.crdd-input-group { | |||
} | |||
.crdd-input-group label { flex: 1; font-size: 0.9em; } | .crdd-input-group label { flex: 1; font-size: 0.9em; } | ||
.crdd-range { flex: 2; margin: 0 15px; accent-color: #21b0cd; } | .crdd-range { flex: 2; margin: 0 15px; accent-color: #21b0cd; } | ||
| Line 185: | Line 138: | ||
#crdd-final-result { | #crdd-final-result { | ||
border-top: 2px solid #21b0cd; | border-top: 2px solid #21b0cd; | ||
padding-top: 20px; | 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; | |||
font-size: 1.2em; | |||
display: flex; | |||
} | } | ||
.crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; } | .crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; } | ||
/* ============================================================ | /* ============================================================ | ||
COMPONENT: SPLASH SCREEN (Warning Page | COMPONENT: SPLASH SCREEN (Warning Page) | ||
============================================================ */ | ============================================================ */ | ||
body.page-Warning nav, body.page-Warning #cosmos-header, body.page-Warning .cosmos-footer, body.page-Warning #mw-head, body.page-Warning #mw-panel { | |||
body.page-Warning nav, | display: none !important; opacity: 0 !important; pointer-events: none !important; | ||
body.page-Warning #cosmos-header, | |||
body.page-Warning .cosmos-footer, | |||
body.page-Warning #mw-head, | |||
body.page-Warning #mw-panel { | |||
display: none !important; | |||
} | } | ||
body.page-Warning .splash-container { | body.page-Warning .splash-container { | ||
position: fixed !important; | 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; | |||
background-color: #0a0a0f !important; | |||
flex-direction: column; | |||
} | } | ||
.splash-inner-wrapper { | .splash-inner-wrapper { | ||
width: 100%; | 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 { | .splash-btn { | ||
display: inline-block; | 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; } | |||
/* ============================================================ | /* ============================================================ | ||
!!! THE DROPDOWN FIX (USER MENU & SEARCH) !!! | |||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* 1. Target the main container of ANY dropdown in Cosmos */ | ||
.dropdown-menu, | .dropdown-menu, | ||
.cosmos-dropdown-menu, | .cosmos-dropdown-menu, | ||
. | .cosmos-p-personal-dropdown, | ||
ul.dropdown-menu { | |||
.dropdown-menu | |||
background-color: #1b1b1b !important; | background-color: #1b1b1b !important; | ||
background-image: none !important; /* Kills white gradients */ | |||
border | border: 1px solid #444 !important; | ||
padding: 0 !important; | |||
} | } | ||
/* 2. | /* 2. SCORCHED EARTH: Force EVERY element inside the dropdown to be dark */ | ||
.dropdown-menu | /* This selects every div, list item, link, and span inside a dropdown */ | ||
.dropdown- | .dropdown-menu *, | ||
.cosmos-dropdown | .cosmos-dropdown-menu *, | ||
background-color: | .cosmos-p-personal-dropdown * { | ||
color: # | background-color: #1b1b1b !important; | ||
color: #fff !important; | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
text-shadow: none !important; | |||
border: none !important; /* Remove internal white borders */ | |||
} | } | ||
/* 3. | /* 3. Restore Hover Effects (We have to re-add them after the scorched earth above) */ | ||
.dropdown-menu a:hover, | .dropdown-menu a:hover, | ||
.dropdown- | .dropdown-menu li:hover, | ||
.dropdown-menu li:hover > a { | .dropdown-menu li:hover > a, | ||
.cosmos-dropdown-menu a:hover, | |||
.dropdown-item:hover { | |||
background-color: #333333 !important; | background-color: #333333 !important; | ||
color: #8ab4f8 !important; | color: #8ab4f8 !important; /* Blue text on hover */ | ||
text-decoration: none !important; | text-decoration: none !important; | ||
cursor: pointer !important; | |||
} | } | ||
/* 4. SEARCH | /* 4. SEARCH TABS FIX (The white bar with "Content pages | Multimedia") */ | ||
.mw-search-profile-tabs | .mw-search-profile-tabs { | ||
background: #1b1b1b !important; | |||
background | border: 1px solid #333 !important; | ||
border: 1px solid # | |||
padding: 5px !important; | padding: 5px !important; | ||
} | } | ||
/* Force the items inside search tabs to be dark */ | |||
/* | .mw-search-profile-tabs *, | ||
.mw-search-profile-tabs | .search-types, | ||
color: # | .search-types ul, | ||
.search-types li { | |||
background-color: #1b1b1b !important; | |||
color: #fff !important; | |||
background-image: none !important; | |||
} | } | ||
/* Highlight the active search tab */ | |||
/* | .mw-search-profile-tabs .current-tab { | ||
font-weight: bold !important; | |||
. | border-bottom: 2px solid #8ab4f8 !important; | ||
border: | |||
} | } | ||
/* 5. SEARCH FOOTER FIX */ | |||
.mw-search-form-wrapper { | .mw-search-form-wrapper { | ||
background | background: transparent !important; | ||
} | } | ||
Revision as of 17:16, 9 February 2026
/* ============================================================
JADNIX CODEX: COSMOS DARK THEME (CORRECTED MASTER FILE)
============================================================ */
/* --- 1. CORE DARK MODE & HEADER REMOVAL --- */
:root {
color-scheme: dark;
}
html, body, #mw-wrapper {
background-color: #0a0a0f !important;
background-image: none !important;
color: #d1d1d1 !important;
}
/* Hide the main header */
.cosmos-header, header {
display: none !important;
}
/* Darken the Navigation Bar */
.cosmos-nav, nav.cosmos-nav, #cosmos-banner {
background-image: none !important;
background-color: #1a1a24 !important;
border-bottom: 1px solid #333;
box-shadow: none !important;
}
/* Darken the Main Content Box */
#mw-content, #content, .mw-body {
background-color: #13131a !important;
background-image: none !important;
border: 1px solid #333 !important;
box-shadow: 0 0 30px rgba(0,0,0,0.5) !important;
color: #d1d1d1 !important;
}
/* Darken Footer */
.cosmos-footer, footer {
background-color: #0a0a0f !important;
color: #666 !important;
border-top: 1px solid #333;
}
/* Darken Inputs */
input, textarea, #simpleSearch, .mw-ui-input {
background-color: #000 !important;
color: #fff !important;
border: 1px solid #333 !important;
}
/* Text Overrides */
h1, h2, h3, h4, h5, h6 {
color: #fff !important;
border-bottom: 1px solid #333;
font-family: 'Consolas', monospace;
}
/* ============================================================
FACTION THEMES (FULL RESTORATION)
============================================================ */
/* --- 1. DEALERS (Gold) --- */
body.theme-dealer #content,
body.theme-dealer .mw-body {
border-left: 5px solid #DAA520;
box-shadow: -10px 0 20px -10px rgba(218, 165, 32, 0.2);
}
body.theme-dealer h1, body.theme-dealer h2, body.theme-dealer h3 {
color: #DAA520 !important;
font-family: 'Georgia', serif;
text-transform: uppercase;
}
body.theme-dealer a { color: #DAA520; }
body.theme-dealer a:hover { color: #FFD700; text-shadow: 0 0 5px #DAA520; }
body.theme-dealer .mw-ui-button {
background-color: #DAA520 !important;
color: #000 !important;
border: none;
}
/* --- 2. SKIPPERS (Blue) --- */
body.theme-skipper #content,
body.theme-skipper .mw-body {
border-left: 5px solid #21b0cd;
box-shadow: -10px 0 20px -10px rgba(33, 176, 205, 0.2);
}
body.theme-skipper h1, body.theme-skipper h2, body.theme-skipper h3 {
color: #21b0cd !important;
font-family: 'Consolas', monospace;
}
body.theme-skipper a { color: #21b0cd; }
body.theme-skipper a:hover { color: #00e5ff; text-shadow: 0 0 5px #21b0cd; }
body.theme-skipper .mw-ui-button {
background-color: #21b0cd !important;
color: #fff !important;
border: none;
}
/* --- 3. THE STILL (Purple) --- */
body.theme-still #content,
body.theme-still .mw-body {
border-left: 5px solid #a020f0;
box-shadow: -10px 0 20px -10px rgba(160, 32, 240, 0.2);
}
body.theme-still h1, body.theme-still h2, body.theme-still h3 {
color: #a020f0 !important;
font-family: 'Consolas', monospace;
}
body.theme-still a { color: #b040ff; }
body.theme-still a:hover { color: #d080ff; text-shadow: 0 0 5px #a020f0; }
body.theme-still .mw-ui-button {
background-color: #a020f0 !important;
color: #fff !important;
border: none;
}
/* ============================================================
COMPONENT: 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; }
/* ============================================================
COMPONENT: SPLASH SCREEN (Warning Page)
============================================================ */
body.page-Warning nav, body.page-Warning #cosmos-header, body.page-Warning .cosmos-footer, body.page-Warning #mw-head, body.page-Warning #mw-panel {
display: none !important; opacity: 0 !important; pointer-events: 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; }
/* ============================================================
!!! THE DROPDOWN FIX (USER MENU & SEARCH) !!!
============================================================ */
/* 1. Target the main container of ANY dropdown in Cosmos */
.dropdown-menu,
.cosmos-dropdown-menu,
.cosmos-p-personal-dropdown,
ul.dropdown-menu {
background-color: #1b1b1b !important;
background-image: none !important; /* Kills white gradients */
border: 1px solid #444 !important;
padding: 0 !important;
}
/* 2. SCORCHED EARTH: Force EVERY element inside the dropdown to be dark */
/* This selects every div, list item, link, and span inside a dropdown */
.dropdown-menu *,
.cosmos-dropdown-menu *,
.cosmos-p-personal-dropdown * {
background-color: #1b1b1b !important;
color: #fff !important;
background-image: none !important;
box-shadow: none !important;
text-shadow: none !important;
border: none !important; /* Remove internal white borders */
}
/* 3. Restore Hover Effects (We have to re-add them after the scorched earth above) */
.dropdown-menu a:hover,
.dropdown-menu li:hover,
.dropdown-menu li:hover > a,
.cosmos-dropdown-menu a:hover,
.dropdown-item:hover {
background-color: #333333 !important;
color: #8ab4f8 !important; /* Blue text on hover */
text-decoration: none !important;
cursor: pointer !important;
}
/* 4. SEARCH TABS FIX (The white bar with "Content pages | Multimedia") */
.mw-search-profile-tabs {
background: #1b1b1b !important;
border: 1px solid #333 !important;
padding: 5px !important;
}
/* Force the items inside search tabs to be dark */
.mw-search-profile-tabs *,
.search-types,
.search-types ul,
.search-types li {
background-color: #1b1b1b !important;
color: #fff !important;
background-image: none !important;
}
/* Highlight the active search tab */
.mw-search-profile-tabs .current-tab {
font-weight: bold !important;
border-bottom: 2px solid #8ab4f8 !important;
}
/* 5. SEARCH FOOTER FIX */
.mw-search-form-wrapper {
background: transparent !important;
}