MediaWiki:Common.css: Difference between revisions

From Descendants of Darkness Wiki

No edit summary
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 18: Line 18:
#site-navigation {
#site-navigation {
     min-height: 90px !important;
     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;
}
}

Latest revision as of 07:38, 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;
}