MediaWiki:Common.css: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
JADNIX CODEX: COSMOS DARK THEME ( | JADNIX CODEX: COSMOS DARK THEME (FINAL w/ FANDOM FIX) | ||
============================================================ */ | ============================================================ */ | ||
/* | /* 1. CORE DARK MODE */ | ||
:root { | :root { color-scheme: dark; } | ||
} | |||
html, body, #mw-wrapper { | html, body, #mw-wrapper { | ||
background-color: #0a0a0f !important; | background-color: #0a0a0f !important; | ||
| Line 13: | Line 11: | ||
} | } | ||
/* | /* 2. HEADER & NAV */ | ||
.cosmos-header, | .cosmos-header, header, #cosmos-banner, nav.cosmos-nav { | ||
header, | |||
#cosmos-banner, | |||
nav.cosmos-nav { | |||
display: block !important; | display: block !important; | ||
background-image: none !important; | background-image: none !important; | ||
| Line 25: | Line 20: | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.cosmos-header a, header a, .cosmos-nav a { | .cosmos-header a, header a, .cosmos-nav a { color: #ffffff !important; } | ||
} | |||
/* | /* 3. 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; | ||
border: 1px solid #333 !important; | border: 1px solid #333 !important; | ||
color: #d1d1d1 !important; | color: #d1d1d1 !important; | ||
} | } | ||
.cosmos-footer, footer { | .cosmos-footer, footer { background-color: #0a0a0f !important; border-top: 1px solid #333; } | ||
input, textarea, #simpleSearch { background-color: #000 !important; color: #fff !important; border: 1px solid #333 !important; } | |||
h1, h2, h3, h4, h5, h6 { color: #fff !important; border-bottom: 1px solid #333; font-family: 'Consolas', monospace; } | |||
} | |||
input, textarea, #simpleSearch | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
} | |||
/* ============================================================ | /* ============================================================ | ||
!!! THE DROPDOWN FIXES (CSS LAYER) !!! | |||
============================================================ */ | ============================================================ */ | ||
/* | /* Target Bootstrap Popovers (The "Explore" Menu) */ | ||
.popover, .popover-body, .popover-content { | |||
background-color: #1b1b1b !important; | |||
border: 1px solid #333 !important; | |||
color: #fff !important; | |||
} | |||
.popover .arrow:after { border-bottom-color: #1b1b1b !important; } | |||
. | |||
/* | /* Target Fandom/Cosmos Specific Dropdowns (.wds) */ | ||
. | .wds-dropdown__content, .wds-list { | ||
. | |||
background-color: #1b1b1b !important; | background-color: #1b1b1b !important; | ||
border | border: 1px solid #333 !important; | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
/* | /* Target MediaWiki Internal Menus (OOUI - "Edit" Menu) */ | ||
.oo-ui-popupWidget-body, | .oo-ui-popupWidget-body, .oo-ui-menuSelectWidget { | ||
.oo-ui- | |||
background-color: #1b1b1b !important; | background-color: #1b1b1b !important; | ||
border | border: 1px solid #333 !important; | ||
} | } | ||
.oo-ui-menuOptionWidget, | .oo-ui-menuOptionWidget, .oo-ui-decoratedOptionWidget { | ||
.oo-ui-decoratedOptionWidget { | |||
background-color: transparent !important; | background-color: transparent !important; | ||
color: #fff !important; | color: #fff !important; | ||
| Line 143: | Line 66: | ||
} | } | ||
/* | /* Target Standard Bootstrap Dropdowns */ | ||
.dropdown-menu | .dropdown-menu { | ||
background-color: #1b1b1b !important; | background-color: #1b1b1b !important; | ||
border | border: 1px solid #333 !important; | ||
} | } | ||
.dropdown-menu *, .wds-dropdown__content * { | |||
.dropdown-menu *, . | |||
background-color: transparent !important; | background-color: transparent !important; | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
.dropdown-menu a:hover, .wds-list li:hover { | |||
.dropdown-menu a:hover, | |||
. | |||
background-color: #333 !important; | background-color: #333 !important; | ||
color: #8ab4f8 !important; | color: #8ab4f8 !important; | ||
} | } | ||
/* | /* ============================================================ | ||
.mw- | FACTION THEMES & EXTRAS | ||
============================================================ */ | |||
/* Dealers */ | |||
body.theme-dealer .mw-body { border-left: 5px solid #DAA520; } | |||
body.theme-dealer h1 { color: #DAA520 !important; font-family: 'Georgia', serif; } | |||
.mw- | body.theme-dealer .mw-ui-button { background-color: #DAA520 !important; color: #000 !important; } | ||
/* Skippers */ | |||
body.theme-skipper .mw-body { border-left: 5px solid #21b0cd; } | |||
} | body.theme-skipper h1 { color: #21b0cd !important; font-family: 'Consolas', monospace; } | ||
body.theme-skipper .mw-ui-button { background-color: #21b0cd !important; color: #fff !important; } | |||
/* Still */ | |||
body.theme-still .mw-body { border-left: 5px solid #a020f0; } | |||
body.theme-still h1 { color: #a020f0 !important; font-family: 'Consolas', monospace; } | |||
body.theme-still .mw-ui-button { background-color: #a020f0 !important; color: #fff !important; } | |||
/* CRDD & Splash */ | |||
#crdd-interface { background-color: #0a0a0f; border: 2px solid #21b0cd; color: #21b0cd; padding: 20px; margin-top: 20px; } | |||
.crdd-input-group { display: flex; justify-content: space-between; margin-bottom: 10px; } | |||
body.page-Warning nav, body.page-Warning #cosmos-header, body.page-Warning footer { display: none !important; } | |||
body.page-Warning .splash-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #0a0a0f; z-index: 99999; display: flex; justify-content: center; align-items: center; } | |||
.splash-inner-wrapper { background: #13131a; padding: 30px; border-top: 4px solid #a020f0; text-align: center; } | |||
Revision as of 17:38, 9 February 2026
/* ============================================================
JADNIX CODEX: COSMOS DARK THEME (FINAL w/ FANDOM FIX)
============================================================ */
/* 1. CORE DARK MODE */
:root { color-scheme: dark; }
html, body, #mw-wrapper {
background-color: #0a0a0f !important;
background-image: none !important;
color: #d1d1d1 !important;
}
/* 2. HEADER & NAV */
.cosmos-header, header, #cosmos-banner, nav.cosmos-nav {
display: block !important;
background-image: none !important;
background-color: #1a1a24 !important;
border-bottom: 1px solid #333;
color: #fff !important;
box-shadow: none !important;
}
.cosmos-header a, header a, .cosmos-nav a { color: #ffffff !important; }
/* 3. CONTENT BOX */
#mw-content, #content, .mw-body {
background-color: #13131a !important;
background-image: none !important;
border: 1px solid #333 !important;
color: #d1d1d1 !important;
}
.cosmos-footer, footer { background-color: #0a0a0f !important; border-top: 1px solid #333; }
input, textarea, #simpleSearch { background-color: #000 !important; color: #fff !important; border: 1px solid #333 !important; }
h1, h2, h3, h4, h5, h6 { color: #fff !important; border-bottom: 1px solid #333; font-family: 'Consolas', monospace; }
/* ============================================================
!!! THE DROPDOWN FIXES (CSS LAYER) !!!
============================================================ */
/* Target Bootstrap Popovers (The "Explore" Menu) */
.popover, .popover-body, .popover-content {
background-color: #1b1b1b !important;
border: 1px solid #333 !important;
color: #fff !important;
}
.popover .arrow:after { border-bottom-color: #1b1b1b !important; }
/* Target Fandom/Cosmos Specific Dropdowns (.wds) */
.wds-dropdown__content, .wds-list {
background-color: #1b1b1b !important;
border: 1px solid #333 !important;
color: #fff !important;
}
/* Target MediaWiki Internal Menus (OOUI - "Edit" Menu) */
.oo-ui-popupWidget-body, .oo-ui-menuSelectWidget {
background-color: #1b1b1b !important;
border: 1px solid #333 !important;
}
.oo-ui-menuOptionWidget, .oo-ui-decoratedOptionWidget {
background-color: transparent !important;
color: #fff !important;
}
.oo-ui-optionWidget-highlighted {
background-color: #333 !important;
color: #8ab4f8 !important;
}
/* Target Standard Bootstrap Dropdowns */
.dropdown-menu {
background-color: #1b1b1b !important;
border: 1px solid #333 !important;
}
.dropdown-menu *, .wds-dropdown__content * {
background-color: transparent !important;
color: #fff !important;
}
.dropdown-menu a:hover, .wds-list li:hover {
background-color: #333 !important;
color: #8ab4f8 !important;
}
/* ============================================================
FACTION THEMES & EXTRAS
============================================================ */
/* Dealers */
body.theme-dealer .mw-body { border-left: 5px solid #DAA520; }
body.theme-dealer h1 { color: #DAA520 !important; font-family: 'Georgia', serif; }
body.theme-dealer .mw-ui-button { background-color: #DAA520 !important; color: #000 !important; }
/* Skippers */
body.theme-skipper .mw-body { border-left: 5px solid #21b0cd; }
body.theme-skipper h1 { color: #21b0cd !important; font-family: 'Consolas', monospace; }
body.theme-skipper .mw-ui-button { background-color: #21b0cd !important; color: #fff !important; }
/* Still */
body.theme-still .mw-body { border-left: 5px solid #a020f0; }
body.theme-still h1 { color: #a020f0 !important; font-family: 'Consolas', monospace; }
body.theme-still .mw-ui-button { background-color: #a020f0 !important; color: #fff !important; }
/* CRDD & Splash */
#crdd-interface { background-color: #0a0a0f; border: 2px solid #21b0cd; color: #21b0cd; padding: 20px; margin-top: 20px; }
.crdd-input-group { display: flex; justify-content: space-between; margin-bottom: 10px; }
body.page-Warning nav, body.page-Warning #cosmos-header, body.page-Warning footer { display: none !important; }
body.page-Warning .splash-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #0a0a0f; z-index: 99999; display: flex; justify-content: center; align-items: center; }
.splash-inner-wrapper { background: #13131a; padding: 30px; border-top: 4px solid #a020f0; text-align: center; }