MediaWiki:Common.css: Difference between revisions
From Descendants of Darkness Wiki
No edit summary |
No edit summary |
||
| Line 127: | Line 127: | ||
body { | body { | ||
background-color: #050509 !important; | background-color: #050509 !important; | ||
} | |||
/* ==== FINAL WHITE-KILLER FOR MEDIK ==== */ | |||
.skin-medik html, | |||
.skin-medik body, | |||
.skin-medik #mw-wrapper, | |||
.skin-medik .mw-page-container, | |||
.skin-medik .mw-page-container-inner, | |||
.skin-medik #mw-head-base, | |||
.skin-medik #mw-page-base, | |||
.skin-medik #content, | |||
.skin-medik #p-logo, | |||
.skin-medik #mw-panel, | |||
.skin-medik #mw-panel .portal, | |||
.skin-medik #mw-panel .body { | |||
background-color: #050509 !important; /* same near-black as rest */ | |||
border: none !important; | |||
} | } | ||
Revision as of 07:24, 14 November 2025
/* Descendants of Darkness – bigger logo in left nav */
.mw-wiki-navigation-logo {
width: 250px !important; /* overall logo area width */
height: 250px !important; /* overall logo area height */
}
.mw-wiki-navigation-logo .mw-wiki-logo,
a.mw-wiki-logo {
display: block !important;
width: 100% !important; /* fill the container width */
height: 100% !important; /* fill the container height */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: left center !important;
}
/* If the menu looks squashed vertically, give the whole nav a bit more height */
#site-navigation {
min-height: 90px !important;
}
/* ============================================================
DESCENDANTS OF DARKNESS — GLOBAL DARK THEME (MEDIK)
============================================================ */
/* Base page background & text */
html, body {
background: #050509 !important; /* almost-black */
color: #dddddd !important;
}
/* Main content area */
.mw-body,
.mw-content-container,
#content {
background: #09090f !important;
color: #dddddd !important;
border: none !important;
}
/* Headings */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5 {
color: #f0f0f0 !important;
}
/* Top bar / navbar – keep it solid black */
.navbar,
.navbar-default,
#mw-head {
background: #000000 !important;
border-bottom: 1px solid #222 !important;
}
/* Top-left wiki name in the bar (white, not red) */
.navbar-brand,
.navbar-brand a {
color: #f5f5f5 !important;
text-shadow: none !important;
}
/* Left sidebar (kill the white behind it) */
#mw-panel,
#mw-panel .portal,
#mw-panel .body {
background: #050509 !important;
color: #dddddd !important;
border: none !important;
}
/* Sidebar section headings (Introduction, HUD Guide, etc.) */
#mw-panel .portal h3 {
color: #d64040 !important; /* red headings */
}
/* Sidebar links */
#mw-panel a {
color: #f0f0f0 !important;
}
#mw-panel a:hover {
color: #ff5b5b !important;
}
/* Article links (the ones in your content) */
.mw-body a,
.mw-body a:visited {
color: #d64040 !important;
}
.mw-body a:hover {
color: #ff5b5b !important;
}
/* TOC, infoboxes, tables */
.toc,
.infobox,
.wikitable,
table {
background: #101018 !important;
border-color: #2a2a3a !important;
color: #dddddd !important;
}
/* Logo – don’t mess with its colours */
.mw-wiki-logo,
#p-logo a,
.mw-logo-icon img {
filter: none !important;
background-color: transparent !important;
}
/* --- Fix remaining white behind sidebar & under top bar --- */
#mw-head-base,
#mw-page-base,
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#p-logo {
background-color: #050509 !important; /* same near-black as page */
border: none !important;
}
/* Just to be sure the overall screen never shows white */
body {
background-color: #050509 !important;
}
/* ==== FINAL WHITE-KILLER FOR MEDIK ==== */
.skin-medik html,
.skin-medik body,
.skin-medik #mw-wrapper,
.skin-medik .mw-page-container,
.skin-medik .mw-page-container-inner,
.skin-medik #mw-head-base,
.skin-medik #mw-page-base,
.skin-medik #content,
.skin-medik #p-logo,
.skin-medik #mw-panel,
.skin-medik #mw-panel .portal,
.skin-medik #mw-panel .body {
background-color: #050509 !important; /* same near-black as rest */
border: none !important;
}