|
|
| Line 1: |
Line 1: |
| /* ========================================================= | | /* Main background */ |
| OMNIVERSE Dark Theme — MediaWiki (Skin: Timeless)
| | body { |
| ========================================================= */
| | background-color: #1a1d29 !important; |
| | | color: #ffffff !important; |
| /* ---------- Theme tokens ---------- */
| |
| :root {
| |
| --bg: #0f141c;
| |
| --panel: #1a2230;
| |
| --panel-2: #202a3a;
| |
| --border: rgba(255,255,255,0.08);
| |
| --text: rgba(255,255,255,0.88);
| |
| --muted: rgba(255,255,255,0.65);
| |
| --accent: #f2b233;
| |
| --accent-2: #ffd36a;
| |
| --shadow: 0 12px 32px rgba(0,0,0,0.45);
| |
| --radius: 14px;
| |
| }
| |
| | |
| /* =========================================================
| |
| GLOBAL CANVAS — kill ALL light backgrounds
| |
| ========================================================= */
| |
| html,
| |
| body,
| |
| #mw-wrapper,
| |
| #mw-content-wrapper,
| |
| #mw-page-base,
| |
| #mw-head-base,
| |
| .mw-page-container,
| |
| .mw-page-container-inner,
| |
| .mw-body,
| |
| .mw-body-content,
| |
| #mw-content-text,
| |
| #mw-panel,
| |
| #mw-navigation,
| |
| #sidebar,
| |
| .sidebar,
| |
| #mw-aside,
| |
| #mw-related-navigation {
| |
| background: var(--bg) !important;
| |
| color: var(--text);
| |
| }
| |
| | |
| /* Ensure parser output never paints white */
| |
| .mw-parser-output {
| |
| background: transparent !important;
| |
| color: var(--text);
| |
| line-height: 1.65;
| |
| font-size: 16px;
| |
| } | | } |
|
| |
|
| /* ========================================================= | | /* Content area */ |
| HEADER
| | .mw-body, #mw-content-container { |
| ========================================================= */
| | background-color: #252936 !important; |
| #mw-header { | | color: #ffffff !important; |
| background:
| |
| linear-gradient(rgba(10,14,20,0.92), rgba(10,14,20,0.92)), | |
| url("/images/wiki-header-bg.jpg") center / cover no-repeat;
| |
| border-bottom: 1px solid var(--border);
| |
| } | | } |
|
| |
|
| /* ========================================================= | | /* Sidebar */ |
| MAIN CONTENT CARD
| | #mw-site-navigation, #mw-related-navigation { |
| ========================================================= */
| | background-color: #1a1d29 !important; |
| #content { | |
| background: var(--panel) !important;
| |
| border: none !important;
| |
| border-radius: var(--radius);
| |
| box-shadow: var(--shadow);
| |
| padding: 20px 22px;
| |
| } | | } |
|
| |
|
| /* Limit width to feel like a forum */ | | /* Navigation links */ |
| .mw-body-content { | | .mw-portal h3, .mw-portal .body li a { |
| max-width: 1250px;
| | color: #ffffff !important; |
| } | | } |
|
| |
|
| /* ========================================================= | | /* Headers */ |
| HEADINGS — no full-width lines, only gold accents
| | h1, h2, h3, h4, h5, h6 { |
| ========================================================= */
| | color: #ffffff !important; |
| .firstHeading,
| | border-bottom-color: #3a3f51 !important; |
| .mw-parser-output h2,
| |
| .mw-parser-output h3 {
| |
| color: rgba(255,255,255,0.95);
| |
| border-bottom: none !important;
| |
| } | | } |
|
| |
|
| .firstHeading::after {
| | /* Links */ |
| content: "";
| |
| display: block;
| |
| width: 56px;
| |
| height: 3px;
| |
| margin-top: 10px;
| |
| background: var(--accent);
| |
| border-radius: 999px;
| |
| }
| |
| | |
| .mw-parser-output h2::after {
| |
| content: "";
| |
| display: block;
| |
| width: 34px;
| |
| height: 3px;
| |
| margin-top: 8px;
| |
| background: var(--accent);
| |
| border-radius: 999px;
| |
| }
| |
| | |
| /* ========================================================= | |
| LINKS
| |
| ========================================================= */
| |
| a { | | a { |
| color: var(--accent);
| | color: #5cb3ff !important; |
| text-decoration: none;
| |
| }
| |
| a:hover {
| |
| color: var(--accent-2);
| |
| text-decoration: underline;
| |
| }
| |
| | |
| /* =========================================================
| |
| SIDEBAR + PAGE TOOLS — dark cards
| |
| ========================================================= */
| |
| #mw-panel .mw-portlet,
| |
| #mw-navigation .mw-portlet,
| |
| #sidebar .mw-portlet,
| |
| #p-navigation,
| |
| #p-tb,
| |
| #p-views,
| |
| #p-cactions,
| |
| #p-personal {
| |
| background: var(--panel) !important;
| |
| border: 1px solid var(--border);
| |
| border-radius: var(--radius);
| |
| padding: 14px;
| |
| margin-bottom: 16px;
| |
| box-shadow: var(--shadow);
| |
| }
| |
| | |
| .mw-portlet h3 {
| |
| color: rgba(255,255,255,0.75);
| |
| font-size: 13px;
| |
| font-weight: 700;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.06em;
| |
| margin-bottom: 10px;
| |
| border-bottom: 1px solid var(--border);
| |
| padding-bottom: 8px;
| |
| }
| |
| | |
| .mw-portlet ul {
| |
| list-style: none;
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| | |
| .mw-portlet li a {
| |
| display: block;
| |
| padding: 8px 10px;
| |
| border-radius: 8px;
| |
| color: rgba(255,255,255,0.78);
| |
| }
| |
| | |
| .mw-portlet li a:hover {
| |
| background: rgba(255,255,255,0.06);
| |
| color: rgba(255,255,255,0.95);
| |
| }
| |
| | |
| /* =========================================================
| |
| SEAMLESS TOC (Citizen-like)
| |
| ========================================================= */
| |
| #toc, | |
| .toc {
| |
| background: transparent !important;
| |
| border: none !important;
| |
| box-shadow: none !important;
| |
| padding: 0 !important;
| |
| margin-bottom: 18px;
| |
| }
| |
| | |
| #toc .toctitle h2 {
| |
| font-size: 13px;
| |
| font-weight: 700;
| |
| letter-spacing: 0.06em;
| |
| text-transform: uppercase;
| |
| color: rgba(255,255,255,0.7);
| |
| }
| |
| | |
| #toc ul {
| |
| list-style: none;
| |
| padding-left: 14px;
| |
| border-left: 2px solid rgba(255,255,255,0.07);
| |
| }
| |
| | |
| #toc a {
| |
| display: block;
| |
| padding: 7px 8px;
| |
| border-radius: 8px;
| |
| color: rgba(255,255,255,0.7);
| |
| }
| |
| | |
| #toc a:hover {
| |
| background: rgba(255,255,255,0.06);
| |
| color: rgba(255,255,255,0.95);
| |
| }
| |
| | |
| /* =========================================================
| |
| TABLES
| |
| ========================================================= */
| |
| .wikitable {
| |
| background: var(--panel-2);
| |
| border: 1px solid var(--border);
| |
| border-radius: var(--radius);
| |
| border-collapse: separate;
| |
| border-spacing: 0;
| |
| }
| |
| | |
| .wikitable th,
| |
| .wikitable td {
| |
| padding: 10px 12px;
| |
| border-top: 1px solid rgba(255,255,255,0.06);
| |
| }
| |
| | |
| .wikitable th {
| |
| background: rgba(255,255,255,0.04);
| |
| color: rgba(255,255,255,0.9);
| |
| }
| |
| | |
| /* =========================================================
| |
| CODE BLOCKS
| |
| ========================================================= */
| |
| pre,
| |
| .mw-code {
| |
| background: #0c1118;
| |
| border: 1px solid rgba(255,255,255,0.1);
| |
| border-radius: 12px;
| |
| padding: 14px;
| |
| }
| |
| | |
| /* =========================================================
| |
| FORMS / BUTTONS
| |
| ========================================================= */
| |
| input,
| |
| textarea,
| |
| select {
| |
| background: #0c1118;
| |
| border: 1px solid rgba(255,255,255,0.12);
| |
| color: var(--text);
| |
| border-radius: 10px;
| |
| padding: 8px 10px;
| |
| }
| |
| | |
| button,
| |
| .mw-ui-button {
| |
| background: var(--accent);
| |
| border: none;
| |
| color: #141a22;
| |
| border-radius: 10px;
| |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| button:hover {
| | a:visited { |
| background: var(--accent-2);
| | color: #a78bfa !important; |
| } | | } |
| /* =========================================================
| |
| FINAL: Kill Timeless outer light canvas
| |
| ========================================================= */
| |
|
| |
|
| /* This is the layer Timeless uses for the gray background */ | | /* Top navigation bar */ |
| .mw-page-container,
| | #mw-header-container { |
| .mw-page-container-inner,
| | background-color: #2d3142 !important; |
| .mw-content-container,
| |
| .mw-content-container-inner,
| |
| .mw-page-base,
| |
| .mw-head-base {
| |
| background: var(--bg) !important;
| |
| background-color: var(--bg) !important;
| |
| } | | } |
|
| |
|
| /* Ensure nothing reintroduces light panels */ | | /* Buttons and accents */ |
| #mw-wrapper,
| | .mw-ui-button, button { |
| #mw-content-wrapper { | | background-color: #4a5568 !important; |
| background: var(--bg) !important;
| | color: #ffffff !important; |
| } | | } |
|
| |
|
| /* Safety net: if anything still leaks white */ | | /* Search box */ |
| body::before,
| | #searchInput { |
| body::after {
| | background-color: #1a1d29 !important; |
| background: none !important;
| | color: #ffffff !important; |
| | border-color: #3a3f51 !important; |
| } | | } |
| /* =========================================================
| |
| FINAL FIX: Timeless sidebar column background
| |
| ========================================================= */
| |
|
| |
|
| body.skin-timeless #mw-panel,
| | /* Content boxes */ |
| body.skin-timeless #mw-panel-wrapper {
| | .toc, .mw-warning, .mw-message-box { |
| background: var(--bg) !important;
| | background-color: #2d3142 !important; |
| background-image: none !important;
| | border-color: #3a3f51 !important; |
| } | | } |