MediaWiki:Common.css: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 310: | Line 310: | ||
/* ============================================================ | /* ============================================================ | ||
FACTION THEME: HOUSE VOIDSEED (The Dealers) | FACTION THEME: HOUSE VOIDSEED (The Dealers) - V2 STRONG | ||
============================================================ */ | ============================================================ */ | ||
.faction-dealer { | .faction-dealer { | ||
/* 1. The Gold Standard */ | /* 1. The Gold Standard */ | ||
--color-primary: #DAA520; | --color-primary: #DAA520; | ||
/* 2. The Contract Font | /* 2. The Contract Font */ | ||
font-family: 'Georgia', 'Times New Roman', serif !important; | font-family: 'Georgia', 'Times New Roman', serif !important; | ||
/* 3. | /* 3. Gold Left Border to mark the page */ | ||
border-left: 5px solid #DAA520; | border-left: 5px solid #DAA520; | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
/* | /* FORCE HEADERS TO BE GOLD */ | ||
.faction-dealer h1, | .faction-dealer h1, | ||
.faction-dealer h2, | .faction-dealer h2, | ||
.faction-dealer h3, | .faction-dealer h3, | ||
.faction-dealer h4 { | .faction-dealer h4, | ||
font-family: 'Georgia | .faction-dealer .mw-headline { | ||
color: #DAA520 !important; | |||
font-family: 'Georgia', serif !important; | |||
border-bottom: 1px solid #DAA520 !important; /* Underline */ | |||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing | letter-spacing: 1px; | ||
} | } | ||
/* | /* FORCE LINKS TO BE GOLD */ | ||
.faction-dealer a { | .faction-dealer a { | ||
color: #DAA520; | color: #DAA520 !important; | ||
text-decoration: | text-decoration: none; | ||
border-bottom: 1px dotted #DAA520; | |||
} | } | ||
.faction-dealer a:hover { | .faction-dealer a:hover { | ||
color: #FFD700; | background-color: rgba(218, 165, 32, 0.1); | ||
color: #FFD700 !important; | |||
} | |||
/* GOLD BULLET POINTS */ | |||
.faction-dealer ul { | |||
list-style-image: none; /* Remove default images */ | |||
} | |||
.faction-dealer li::marker { | |||
color: #DAA520; | |||
font-size: 1.2em; | |||
} | } | ||
Revision as of 14:18, 9 February 2026
/* ============================================================
JADNIX CODEX: CITIZEN OVERRIDE
============================================================ */
:root {
/* 1. THE VOID (Backgrounds) */
--background-color-base: #0a0a0f; /* Deep Void Black */
--background-color-surface: #13131a; /* Slightly lighter for cards */
--background-color-overlay: #1a1a24; /* Headers */
/* 2. THE TEXT */
--color-base: #d1d1d1; /* Light Gray text */
/* 3. THE FACTIONS (Colors) */
--color-primary: #a020f0; /* JADNIX PURPLE */
--color-primary--hover: #b040ff;
--color-primary--active: #9010e0;
--color-secondary: #00ff9f; /* JADNIX GREEN */
/* 4. THE FONT (Monospace/Terminal Style) */
--font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
--font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
}
/* ============================================================
CUSTOM VISUALS
============================================================ */
/* 5. THE SCANLINES (Your original code!) */
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;
}
/* 6. LINK BEHAVIOR (Green Glow on Hover) */
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;
}
/* 7. HEADER BORDER */
.mw-header {
border-bottom: 3px solid var(--color-primary);
}
/* 8. LOGO TINT (Makes the default logo purple-ish until you replace it) */
.mw-logo-icon { filter: hue-rotate(260deg); }
/* ============================================================
NUCLEAR SPLASH SCREEN V2 (Citizen Skin Fix)
============================================================ */
/* 1. HIDE ALL CITIZEN UI ELEMENTS ON WARNING PAGE */
/* We list every possible name Citizen uses for headers/footers */
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, /* The Edit Button area */
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;
}
/* 2. THE FULL SCREEN OVERLAY */
body.page-Warning .splash-container {
/* Force it to be fixed to the screen */
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
/* Ensure the background is SOLID black so nothing peeks through */
background-color: #0a0a0f !important;
/* Maximum Z-Index possible in a browser */
z-index: 2147483647 !important;
/* Centering Magic (Flexbox) */
display: flex !important;
flex-direction: column;
justify-content: center;
align-items: center;
/* Reset margins so it touches the edges */
margin: 0 !important;
padding: 20px !important; /* Padding for mobile screens */
box-sizing: border-box !important;
}
/* 3. THE INNER BOX (Visual Style) */
/* We wrap the text in a visual box so it looks good on mobile */
.splash-inner-wrapper {
width: 100%;
max-width: 500px;
border: 1px solid #333;
border-top: 4px solid #a020f0;
background: #13131a; /* Slightly lighter than void */
padding: 30px;
box-shadow: 0 0 30px rgba(0,0,0,0.8);
text-align: center;
}
/* 4. TEXT STYLING */
.splash-title {
font-family: 'Consolas', monospace;
font-size: 2em; /* Smaller for mobile safety */
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; /* Force white text */
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;
}
/* ============================================================
FACTION THEME: RESCUE & REMOVAL (The Skippers)
============================================================ */
.faction-skipper {
/* Override the Purple with Skipper Blue */
--color-primary: #21b0cd;
--color-primary--hover: #1e9cb5;
--color-primary--active: #187d91;
border-left: 5px solid #21b0cd;
padding-left: 15px;
}
/* ============================================================
THE CRDD CALCULATOR (The Device)
============================================================ */
#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;
}
/* The Header of the Device */
.crdd-header {
border-bottom: 1px dashed #21b0cd;
padding-bottom: 10px;
margin-bottom: 20px;
text-align: right;
font-size: 0.8em;
opacity: 0.8;
}
/* The Sections (1/3, 2/3, 3/3) */
.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;
}
/* The Sliders */
.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; /* Makes the slider blue */
}
.crdd-value-display {
width: 30px;
text-align: right;
font-weight: bold;
}
/* The "Skip" Checkbox */
.crdd-skip-label {
display: block;
margin-bottom: 15px;
color: #666;
font-size: 0.8em;
cursor: pointer;
}
/* The Result Box */
#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 (V2 - Forced Stacking)
============================================================ */
@media only screen and (max-width: 768px) {
/* FORCE VERTICAL STACK */
.crdd-input-group {
display: flex !important;
flex-direction: column !important; /* Stack top-to-bottom */
align-items: flex-start !important;
margin-bottom: 25px !important;
width: 100% !important;
}
/* LABEL ON TOP */
.crdd-input-group label {
width: 100% !important;
margin-bottom: 10px !important;
font-size: 1.2em !important;
}
/* SLIDER IN MIDDLE */
.crdd-range {
width: 100% !important;
margin: 10px 0 !important;
height: 40px !important; /* Easy to touch */
}
/* NUMBER ON BOTTOM (or Right) */
.crdd-value-display {
width: 100% !important;
text-align: right !important;
font-size: 1.2em !important;
color: #fff !important;
}
/* FIX PADDING */
#crdd-interface {
padding: 10px !important;
width: 100% !important;
box-sizing: border-box !important;
}
}
/* ============================================================
FACTION THEME: HOUSE VOIDSEED (The Dealers) - V2 STRONG
============================================================ */
.faction-dealer {
/* 1. The Gold Standard */
--color-primary: #DAA520;
/* 2. The Contract Font */
font-family: 'Georgia', 'Times New Roman', serif !important;
/* 3. Gold Left Border to mark the page */
border-left: 5px solid #DAA520;
padding-left: 20px;
}
/* FORCE HEADERS TO BE GOLD */
.faction-dealer h1,
.faction-dealer h2,
.faction-dealer h3,
.faction-dealer h4,
.faction-dealer .mw-headline {
color: #DAA520 !important;
font-family: 'Georgia', serif !important;
border-bottom: 1px solid #DAA520 !important; /* Underline */
text-transform: uppercase;
letter-spacing: 1px;
}
/* FORCE LINKS TO BE GOLD */
.faction-dealer a {
color: #DAA520 !important;
text-decoration: none;
border-bottom: 1px dotted #DAA520;
}
.faction-dealer a:hover {
background-color: rgba(218, 165, 32, 0.1);
color: #FFD700 !important;
}
/* GOLD BULLET POINTS */
.faction-dealer ul {
list-style-image: none; /* Remove default images */
}
.faction-dealer li::marker {
color: #DAA520;
font-size: 1.2em;
}