MediaWiki:Common.css: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
JADNIX CODEX: | JADNIX CODEX: MASTER STYLESHEET | ||
============================================================ */ | ============================================================ */ | ||
:root { | :root { | ||
/* | /* DEFAULT THEME (The Void) */ | ||
--background-color-base: #0a0a0f; | --background-color-base: #0a0a0f; | ||
--background-color-surface: #13131a; | --background-color-surface: #13131a; | ||
--background-color-overlay: #1a1a24; | --background-color-overlay: #1a1a24; | ||
--color-base: #d1d1d1; | |||
--color-base: #d1d1d1; | |||
/* | /* DEFAULT COLORS (The Still - Purple) */ | ||
--color-primary: #a020f0; | --color-primary: #a020f0; | ||
--color-primary--hover: #b040ff; | --color-primary--hover: #b040ff; | ||
--color-primary--active: #9010e0; | --color-primary--active: #9010e0; | ||
--color-secondary: #00ff9f; /* Global Green Highlight */ | |||
--color-secondary: #00ff9f; | |||
/* | /* FONTS */ | ||
--font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace; | --font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace; | ||
--font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace; | --font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace; | ||
/* LAYOUT: KILL RIGHT SIDEBAR (Global) */ | |||
--width-layout-sidebar-secondary: 0px !important; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
GLOBAL VISUALS | |||
============================================================ */ | ============================================================ */ | ||
/* | /* SCANLINES OVERLAY */ | ||
body::before { | body::before { | ||
content: " "; | content: " "; | ||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; left: 0; width: 100%; height: 100%; | ||
background: repeating-linear-gradient( | background: repeating-linear-gradient( | ||
0deg, | 0deg, | ||
| Line 47: | Line 44: | ||
} | } | ||
/* | /* LINK BEHAVIOR (Default Green Glow) */ | ||
a { transition: all 0.2s ease-in-out; } | a { transition: all 0.2s ease-in-out; } | ||
a:hover { | a:hover { | ||
| Line 55: | Line 52: | ||
} | } | ||
/* | /* HEADERS & LOGO */ | ||
.mw-header { | .mw-header { border-bottom: 3px solid var(--color-primary); } | ||
.mw-logo-icon { filter: hue-rotate(260deg); } | |||
/* KILL RIGHT SIDEBAR (The Heavy Fix) */ | |||
#mw-related-navigation, | |||
.citizen-section-heading--toc { | |||
display: none !important; | |||
visibility: hidden !important; | |||
width: 0 !important; | |||
} | |||
.citizen-body, | |||
.citizen-body.citizen-body--toc-open { | |||
grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important; | |||
grid-template-areas: "sidebar-primary content ." !important; | |||
} | |||
.toc { | |||
display: table !important; | |||
float: none !important; | |||
margin-bottom: 1em !important; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
FACTION THEMES (Dynamic Colors via JS) | |||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* --- 1. DEALERS (Gold) --- */ | ||
/* | body.theme-dealer { | ||
body.page- | --color-primary: #DAA520; | ||
body. | --color-primary--hover: #FFD700; | ||
body. | --color-secondary: #FFD700; /* Gold Links */ | ||
body. | --color-progressive: #DAA520; /* Buttons */ | ||
body. | --citizen-theme-color: #DAA520; | ||
body. | |||
--font-family-system: 'Georgia', 'Times New Roman', serif; | |||
body. | --font-family-header: 'Georgia', 'Times New Roman', serif; | ||
body. | } | ||
/* DEALER BUTTONS (Targeting Every Possible Container) */ | |||
body.theme-dealer .citizen-page-actions__item .mw-ui-button, | |||
body.theme-dealer #p-views li a, | |||
body.theme-dealer #ca-edit a, | |||
body.theme-dealer #ca-history a, | |||
body.theme-dealer #ca-view a { | |||
background-color: #DAA520 !important; | |||
border-color: #DAA520 !important; | |||
color: #000000 !important; /* Black Text */ | |||
text-shadow: none !important; | |||
} | |||
body.theme-dealer .citizen-page-actions__item .mw-ui-button:hover, | |||
body.theme-dealer #p-views li a:hover { | |||
background-color: #FFD700 !important; | |||
box-shadow: 0 0 10px #DAA520; | |||
} | |||
/* DEALER CONTENT BAR */ | |||
body.theme-dealer #mw-content-text { | |||
border-left: 6px solid #DAA520; | |||
padding-left: 25px; | |||
background: linear-gradient(to right, rgba(218, 165, 32, 0.05), transparent 10%); | |||
} | } | ||
/* 2. | |||
body. | /* --- 2. SKIPPERS (Blue) --- */ | ||
body.theme-skipper { | |||
--color-primary: #21b0cd; | |||
--color-primary--hover: #00e5ff; | |||
--color-secondary: #00e5ff; /* Cyan Links */ | |||
--color-progressive: #21b0cd; /* Buttons */ | |||
--citizen-theme-color: #21b0cd; | |||
--font-family-system: 'Consolas', 'Monaco', monospace; | |||
--font-family-header: 'Consolas', 'Monaco', monospace; | |||
} | } | ||
/* | /* SKIPPER BUTTONS */ | ||
body.theme-skipper .citizen-page-actions__item .mw-ui-button, | |||
. | body.theme-skipper #p-views li a, | ||
body.theme-skipper #ca-edit a, | |||
body.theme-skipper #ca-history a { | |||
background-color: #21b0cd !important; | |||
border-color: #21b0cd !important; | |||
background: # | color: #ffffff !important; | ||
} | |||
box-shadow: 0 0 | body.theme-skipper .citizen-page-actions__item .mw-ui-button:hover { | ||
background-color: #00e5ff !important; | |||
box-shadow: 0 0 10px #21b0cd; | |||
} | } | ||
/* | /* SKIPPER CONTENT BAR */ | ||
. | body.theme-skipper #mw-content-text { | ||
border-left: 6px solid #21b0cd; | |||
padding-left: 25px; | |||
} | } | ||
. | |||
color: #a020f0; | /* --- 3. THE STILL (Purple) --- */ | ||
body.theme-still { | |||
--color-primary: #a020f0; | |||
--color-primary--hover: #b040ff; | |||
--color-secondary: #00ff9f; /* Keep Green Links for Still */ | |||
--color-progressive: #a020f0; | |||
--citizen-theme-color: #a020f0; | |||
--font-family-system: 'Consolas', 'Monaco', monospace; | |||
} | } | ||
. | /* STILL BUTTONS */ | ||
body.theme-still .citizen-page-actions__item .mw-ui-button, | |||
border: | body.theme-still #p-views li a, | ||
body.theme-still #ca-edit a, | |||
color: # | body.theme-still #ca-history a { | ||
background-color: #a020f0 !important; | |||
border-color: #a020f0 !important; | |||
color: #ffffff !important; | |||
} | |||
body.theme-still .citizen-page-actions__item .mw-ui-button:hover { | |||
background-color: #b040ff !important; | |||
box-shadow: 0 0 10px #a020f0; | |||
} | } | ||
. | /* STILL CONTENT BAR */ | ||
body.theme-still #mw-content-text { | |||
border-left: 6px solid #a020f0; | |||
padding-left: 25px; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
COMPONENT: CRDD CALCULATOR | |||
============================================================ */ | ============================================================ */ | ||
#crdd-interface { | #crdd-interface { | ||
| Line 170: | Line 192: | ||
max-width: 800px; | max-width: 800px; | ||
} | } | ||
.crdd-header { | .crdd-header { | ||
border-bottom: 1px dashed #21b0cd; | border-bottom: 1px dashed #21b0cd; | ||
| Line 180: | Line 200: | ||
opacity: 0.8; | opacity: 0.8; | ||
} | } | ||
.crdd-section { | .crdd-section { | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
| Line 188: | Line 206: | ||
background: #0f0f14; | background: #0f0f14; | ||
} | } | ||
.crdd-section-title { | .crdd-section-title { | ||
background: #21b0cd; | background: #21b0cd; | ||
| Line 197: | Line 214: | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
} | } | ||
.crdd-input-group { | .crdd-input-group { | ||
display: flex; | display: flex; | ||
| Line 205: | Line 220: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
.crdd-input-group label { flex: 1; font-size: 0.9em; } | |||
.crdd-input-group label { | .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-range { | |||
} | |||
.crdd-value-display { | |||
} | |||
.crdd-skip-label { | |||
} | |||
#crdd-final-result { | #crdd-final-result { | ||
border-top: 2px solid #21b0cd; | border-top: 2px solid #21b0cd; | ||
| Line 247: | Line 238: | ||
background: #0d1a1d; | background: #0d1a1d; | ||
} | } | ||
.crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; } | |||
/* MOBILE RESPONSIVENESS FOR CRDD */ | |||
/* | |||
@media only screen and (max-width: 768px) { | @media only screen and (max-width: 768px) { | ||
.crdd-input-group { | .crdd-input-group { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: column !important; | flex-direction: column !important; | ||
align-items: flex-start !important; | align-items: flex-start !important; | ||
margin-bottom: 25px !important; | margin-bottom: 25px !important; | ||
width: 100% !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-input-group label { | .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; } | |||
.crdd-range { | |||
.crdd-value-display { | |||
#crdd-interface { | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
COMPONENT: SPLASH SCREEN (Warning Page) | |||
============================================================ */ | ============================================================ */ | ||
body.page-Warning header, | |||
body.page-Warning footer, | |||
body. | body.page-Warning #mw-header-container, | ||
body.page-Warning #mw-site-navigation, | |||
body.page-Warning .mw-page-header, | |||
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; | |||
} | } | ||
body.page-Warning .splash-container { | |||
position: fixed !important; | |||
body. | top: 0 !important; | ||
left: 0 !important; | |||
width: 100vw !important; | |||
height: 100vh !important; | |||
background-color: #0a0a0f !important; | |||
background-color: # | 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; | |||
background | border-top: 4px solid #a020f0; | ||
box-shadow: 0 0 | 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: # | color: #fff; | ||
text-shadow: 0 0 | 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; | |||
background | |||
color: # | |||
box-shadow: 0 0 | |||
} | } | ||
Revision as of 15:53, 9 February 2026
/* ============================================================
JADNIX CODEX: MASTER STYLESHEET
============================================================ */
:root {
/* DEFAULT THEME (The Void) */
--background-color-base: #0a0a0f;
--background-color-surface: #13131a;
--background-color-overlay: #1a1a24;
--color-base: #d1d1d1;
/* DEFAULT COLORS (The Still - Purple) */
--color-primary: #a020f0;
--color-primary--hover: #b040ff;
--color-primary--active: #9010e0;
--color-secondary: #00ff9f; /* Global Green Highlight */
/* FONTS */
--font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
--font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
/* LAYOUT: KILL RIGHT SIDEBAR (Global) */
--width-layout-sidebar-secondary: 0px !important;
}
/* ============================================================
GLOBAL VISUALS
============================================================ */
/* 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;
}
/* LINK BEHAVIOR (Default Green Glow) */
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;
}
/* HEADERS & LOGO */
.mw-header { border-bottom: 3px solid var(--color-primary); }
.mw-logo-icon { filter: hue-rotate(260deg); }
/* KILL RIGHT SIDEBAR (The Heavy Fix) */
#mw-related-navigation,
.citizen-section-heading--toc {
display: none !important;
visibility: hidden !important;
width: 0 !important;
}
.citizen-body,
.citizen-body.citizen-body--toc-open {
grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important;
grid-template-areas: "sidebar-primary content ." !important;
}
.toc {
display: table !important;
float: none !important;
margin-bottom: 1em !important;
}
/* ============================================================
FACTION THEMES (Dynamic Colors via JS)
============================================================ */
/* --- 1. DEALERS (Gold) --- */
body.theme-dealer {
--color-primary: #DAA520;
--color-primary--hover: #FFD700;
--color-secondary: #FFD700; /* Gold Links */
--color-progressive: #DAA520; /* Buttons */
--citizen-theme-color: #DAA520;
--font-family-system: 'Georgia', 'Times New Roman', serif;
--font-family-header: 'Georgia', 'Times New Roman', serif;
}
/* DEALER BUTTONS (Targeting Every Possible Container) */
body.theme-dealer .citizen-page-actions__item .mw-ui-button,
body.theme-dealer #p-views li a,
body.theme-dealer #ca-edit a,
body.theme-dealer #ca-history a,
body.theme-dealer #ca-view a {
background-color: #DAA520 !important;
border-color: #DAA520 !important;
color: #000000 !important; /* Black Text */
text-shadow: none !important;
}
body.theme-dealer .citizen-page-actions__item .mw-ui-button:hover,
body.theme-dealer #p-views li a:hover {
background-color: #FFD700 !important;
box-shadow: 0 0 10px #DAA520;
}
/* DEALER CONTENT BAR */
body.theme-dealer #mw-content-text {
border-left: 6px solid #DAA520;
padding-left: 25px;
background: linear-gradient(to right, rgba(218, 165, 32, 0.05), transparent 10%);
}
/* --- 2. SKIPPERS (Blue) --- */
body.theme-skipper {
--color-primary: #21b0cd;
--color-primary--hover: #00e5ff;
--color-secondary: #00e5ff; /* Cyan Links */
--color-progressive: #21b0cd; /* Buttons */
--citizen-theme-color: #21b0cd;
--font-family-system: 'Consolas', 'Monaco', monospace;
--font-family-header: 'Consolas', 'Monaco', monospace;
}
/* SKIPPER BUTTONS */
body.theme-skipper .citizen-page-actions__item .mw-ui-button,
body.theme-skipper #p-views li a,
body.theme-skipper #ca-edit a,
body.theme-skipper #ca-history a {
background-color: #21b0cd !important;
border-color: #21b0cd !important;
color: #ffffff !important;
}
body.theme-skipper .citizen-page-actions__item .mw-ui-button:hover {
background-color: #00e5ff !important;
box-shadow: 0 0 10px #21b0cd;
}
/* SKIPPER CONTENT BAR */
body.theme-skipper #mw-content-text {
border-left: 6px solid #21b0cd;
padding-left: 25px;
}
/* --- 3. THE STILL (Purple) --- */
body.theme-still {
--color-primary: #a020f0;
--color-primary--hover: #b040ff;
--color-secondary: #00ff9f; /* Keep Green Links for Still */
--color-progressive: #a020f0;
--citizen-theme-color: #a020f0;
--font-family-system: 'Consolas', 'Monaco', monospace;
}
/* STILL BUTTONS */
body.theme-still .citizen-page-actions__item .mw-ui-button,
body.theme-still #p-views li a,
body.theme-still #ca-edit a,
body.theme-still #ca-history a {
background-color: #a020f0 !important;
border-color: #a020f0 !important;
color: #ffffff !important;
}
body.theme-still .citizen-page-actions__item .mw-ui-button:hover {
background-color: #b040ff !important;
box-shadow: 0 0 10px #a020f0;
}
/* STILL CONTENT BAR */
body.theme-still #mw-content-text {
border-left: 6px solid #a020f0;
padding-left: 25px;
}
/* ============================================================
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; }
/* MOBILE RESPONSIVENESS FOR CRDD */
@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; }
}
/* ============================================================
COMPONENT: SPLASH SCREEN (Warning Page)
============================================================ */
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,
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;
}
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;
}