MediaWiki:Common.css

From Descendants of Darkness Wiki

Revision as of 06:50, 14 November 2025 by Ninja (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}