MediaWiki:Common.css: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
JADNIX CODEX: MEDIK VOID | JADNIX CODEX: MEDIK VOID (FINAL MASTER) | ||
============================================================ */ | ============================================================ */ | ||
/* 1. NUCLEAR OPTION: KILL THE WHITE GRID */ | |||
/* We target html, body, and the main wrappers to force black */ | |||
html, | |||
/* | |||
body, | body, | ||
.medik-wrap, | |||
. | .container, | ||
. | .container-fluid, | ||
. | .row, | ||
#mw-wrapper { | |||
background-color: #0a0a0f !important; /* Void Black */ | background-color: #0a0a0f !important; /* Void Black */ | ||
background-image: none !important; /* Delete the graph paper image */ | |||
color: #d1d1d1 !important; | color: #d1d1d1 !important; | ||
} | } | ||
| Line 47: | Line 33: | ||
} | } | ||
/* 2. | /* 2. THE CONTENT CARD (The Grey Box) */ | ||
#content { | #content, | ||
background-color: #13131a !important; /* Dark Grey */ | .mw-body { | ||
border: 1px solid #333; | background-color: #13131a !important; /* Dark Grey Surface */ | ||
box-shadow: 0 0 30px rgba(0,0,0,0. | border: 1px solid #333 !important; | ||
margin-top: 20px; | border-left: 5px solid #a020f0 !important; /* Default Purple Accent */ | ||
padding: 30px; | box-shadow: 0 0 30px rgba(0,0,0,0.8) !important; | ||
margin-top: 20px !important; | |||
padding: 30px !important; | |||
color: #d1d1d1 !important; | |||
} | |||
/* Force transparent backgrounds on inner layout divs so black shows through */ | |||
.col-12, .col-md-9, .col-xl-9, .py-md-3 { | |||
background: transparent !important; | |||
} | } | ||
| Line 67: | Line 60: | ||
} | } | ||
/* 4. SIDEBAR | /* 4. SIDEBAR / DRAWER */ | ||
.sidebar, .portlet { | .sidebar, .portlet, .medik-drawer { | ||
background-color: #0f0f14 !important; | background-color: #0f0f14 !important; | ||
border-right: 1px solid #333; | border-right: 1px solid #333; | ||
| Line 77: | Line 70: | ||
} | } | ||
/* 5. SEARCH BAR */ | /* 5. SEARCH BAR & INPUTS */ | ||
.form-control, input { | .form-control, input, textarea { | ||
background-color: #000 !important; | background-color: #000 !important; | ||
border: 1px solid #333 !important; | border: 1px solid #333 !important; | ||
color: #fff !important; | color: #fff !important; | ||
} | |||
/* 6. TEXT STYLES */ | |||
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; } | |||
/* 7. FOOTER */ | |||
footer, .footer { | |||
background-color: #0a0a0f !important; | |||
border-top: 1px solid #333; | |||
color: #666 !important; | |||
} | } | ||
| Line 88: | Line 97: | ||
============================================================ */ | ============================================================ */ | ||
/* DEALERS (Gold) */ | /* --- 1. DEALERS (Gold) --- */ | ||
body.theme-dealer { | |||
--font-family-system: 'Georgia', 'Times New Roman', serif; | |||
} | |||
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; } | body.theme-dealer #content { border-left: 5px solid #DAA520 !important; } | ||
body.theme-dealer .navbar { border-bottom-color: #DAA520 !important; } | body.theme-dealer .navbar { border-bottom-color: #DAA520 !important; } | ||
body.theme-dealer a { color: #DAA520; } | body.theme-dealer a { color: #DAA520; } | ||
body.theme-dealer a:hover { color: #FFD700; text- | 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; } | |||
/* Dealer Buttons */ | |||
body.theme-dealer .btn-primary, | |||
body.theme-dealer .mw-ui-button.mw-ui-progressive { | |||
background-color: #DAA520 !important; | |||
border-color: #DAA520 !important; | |||
color: #000 !important; | |||
} | |||
/* SKIPPERS (Blue) */ | /* --- 2. SKIPPERS (Blue) --- */ | ||
body.theme-skipper { | |||
--font-family-system: 'Consolas', 'Monaco', monospace; | |||
} | |||
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; } | body.theme-skipper #content { border-left: 5px solid #21b0cd !important; } | ||
body.theme-skipper .navbar { border-bottom-color: #21b0cd !important; } | body.theme-skipper .navbar { border-bottom-color: #21b0cd !important; } | ||
body.theme-skipper a { color: #21b0cd; } | body.theme-skipper a { color: #21b0cd; } | ||
body.theme-skipper a:hover { color: #00e5ff; text- | body.theme-skipper a:hover { color: #00e5ff; text-shadow: 0 0 5px #21b0cd; } | ||
body.theme-skipper h1, body.theme-skipper h2 { color: #21b0cd !important; } | |||
/* Skipper Buttons */ | |||
body.theme-skipper .btn-primary, | |||
body.theme-skipper .mw-ui-button.mw-ui-progressive { | |||
background-color: #21b0cd !important; | |||
border-color: #21b0cd !important; | |||
color: #fff !important; | |||
} | |||
/* THE STILL (Purple) */ | /* --- 3. THE STILL (Purple - Default) --- */ | ||
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; } | ||
body.theme-still a { color: #a020f0; } | body.theme-still a { color: #a020f0; } | ||
body.theme-still a:hover { color: #b040ff; text- | body.theme-still a:hover { color: #b040ff; text-shadow: 0 0 5px #a020f0; } | ||
/* Still Buttons */ | |||
body.theme-still .btn-primary, | |||
body.theme-still .mw-ui-button.mw-ui-progressive { | |||
background-color: #a020f0 !important; | |||
border-color: #a020f0 !important; | |||
color: #fff !important; | |||
} | |||
/* ============================================================ | /* ============================================================ | ||
| Line 144: | Line 182: | ||
body.page-Warning nav.navbar, | body.page-Warning nav.navbar, | ||
body.page-Warning footer, | body.page-Warning footer, | ||
body.page-Warning | body.page-Warning .sidebar { | ||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 20:56, 9 February 2026
/* ============================================================
JADNIX CODEX: MEDIK VOID (FINAL MASTER)
============================================================ */
/* 1. NUCLEAR OPTION: KILL THE WHITE GRID */
/* We target html, body, and the main wrappers to force black */
html,
body,
.medik-wrap,
.container,
.container-fluid,
.row,
#mw-wrapper {
background-color: #0a0a0f !important; /* Void Black */
background-image: none !important; /* Delete the graph paper image */
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. THE CONTENT CARD (The Grey Box) */
#content,
.mw-body {
background-color: #13131a !important; /* Dark Grey Surface */
border: 1px solid #333 !important;
border-left: 5px solid #a020f0 !important; /* Default Purple Accent */
box-shadow: 0 0 30px rgba(0,0,0,0.8) !important;
margin-top: 20px !important;
padding: 30px !important;
color: #d1d1d1 !important;
}
/* Force transparent backgrounds on inner layout divs so black shows through */
.col-12, .col-md-9, .col-xl-9, .py-md-3 {
background: transparent !important;
}
/* 3. HEADER / NAVBAR */
.navbar {
background-color: #1a1a24 !important;
border-bottom: 2px solid #a020f0;
}
.navbar-brand, .nav-link {
color: #fff !important;
font-family: 'Consolas', monospace;
}
/* 4. SIDEBAR / DRAWER */
.sidebar, .portlet, .medik-drawer {
background-color: #0f0f14 !important;
border-right: 1px solid #333;
}
.sidebar h3 {
color: #a020f0 !important;
text-transform: uppercase;
}
/* 5. SEARCH BAR & INPUTS */
.form-control, input, textarea {
background-color: #000 !important;
border: 1px solid #333 !important;
color: #fff !important;
}
/* 6. TEXT STYLES */
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; }
/* 7. FOOTER */
footer, .footer {
background-color: #0a0a0f !important;
border-top: 1px solid #333;
color: #666 !important;
}
/* ============================================================
FACTION THEMES (Medik Version)
============================================================ */
/* --- 1. DEALERS (Gold) --- */
body.theme-dealer {
--font-family-system: 'Georgia', 'Times New Roman', serif;
}
body.theme-dealer #content { border-left: 5px solid #DAA520 !important; }
body.theme-dealer .navbar { border-bottom-color: #DAA520 !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; }
/* Dealer Buttons */
body.theme-dealer .btn-primary,
body.theme-dealer .mw-ui-button.mw-ui-progressive {
background-color: #DAA520 !important;
border-color: #DAA520 !important;
color: #000 !important;
}
/* --- 2. SKIPPERS (Blue) --- */
body.theme-skipper {
--font-family-system: 'Consolas', 'Monaco', monospace;
}
body.theme-skipper #content { border-left: 5px solid #21b0cd !important; }
body.theme-skipper .navbar { border-bottom-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; }
/* Skipper Buttons */
body.theme-skipper .btn-primary,
body.theme-skipper .mw-ui-button.mw-ui-progressive {
background-color: #21b0cd !important;
border-color: #21b0cd !important;
color: #fff !important;
}
/* --- 3. THE STILL (Purple - Default) --- */
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; }
/* Still Buttons */
body.theme-still .btn-primary,
body.theme-still .mw-ui-button.mw-ui-progressive {
background-color: #a020f0 !important;
border-color: #a020f0 !important;
color: #fff !important;
}
/* ============================================================
CRDD CALCULATOR (Universal)
============================================================ */
#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 (Warning Page - Medik Fix)
============================================================ */
/* Hide Medik UI elements on Warning page */
body.page-Warning nav.navbar,
body.page-Warning footer,
body.page-Warning .sidebar {
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;
}
/* (Keep title/btn styling same as before) */
.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; }