MediaWiki:Common.css: Difference between revisions
From Descendants of Darkness Wiki
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
/* ============================================================ | /* ============================================================ | ||
DESCENDANTS OF DARKNESS — | DESCENDANTS OF DARKNESS — GOTHIC DARK THEME (MEDIK) | ||
============================================================ */ | ============================================================ */ | ||
/* Base page background & text */ | /* 0. Global reset: stop any skin element from forcing a white background */ | ||
html, body { | .skin-medik *, | ||
background: #050509 !important; /* almost | .skin-medik *::before, | ||
.skin-medik *::after { | |||
background-color: transparent !important; | |||
} | |||
/* 1. Base page background & text */ | |||
.skin-medik html, | |||
.skin-medik body { | |||
background-color: #050509 !important; /* almost black */ | |||
color: #dddddd !important; | color: #dddddd !important; | ||
} | } | ||
/* Main content area */ | /* 2. Main content area */ | ||
.mw-body, | .skin-medik .mw-body, | ||
.mw-content-container | .skin-medik #content, | ||
.skin-medik .mw-content-container { | |||
background: #09090f !important; | background-color: #09090f !important; /* slightly lighter panel */ | ||
color: #dddddd !important; | color: #dddddd !important; | ||
border: none !important; | border: none !important; | ||
| Line 40: | Line 48: | ||
/* Headings */ | /* Headings */ | ||
.mw-body h1, | .skin-medik .mw-body h1, | ||
.mw-body h2, | .skin-medik .mw-body h2, | ||
.mw-body h3, | .skin-medik .mw-body h3, | ||
.mw-body h4, | .skin-medik .mw-body h4, | ||
.mw-body h5 { | .skin-medik .mw-body h5 { | ||
color: #f0f0f0 !important; | color: #f0f0f0 !important; | ||
} | } | ||
/* Top bar / navbar – | /* 3. Top bar / navbar – solid black */ | ||
.navbar, | .skin-medik .navbar, | ||
.navbar-default, | .skin-medik .navbar-default, | ||
#mw-head { | .skin-medik #mw-head { | ||
background: #000000 !important; | background-color: #000000 !important; | ||
border-bottom: 1px solid #222 !important; | border-bottom: 1px solid #222 !important; | ||
} | } | ||
/* Top-left wiki name in the bar (white, not red) */ | /* Top-left wiki name in the bar (white, not red) */ | ||
.navbar-brand, | .skin-medik .navbar-brand, | ||
.navbar-brand a { | .skin-medik .navbar-brand a { | ||
color: #f5f5f5 !important; | color: #f5f5f5 !important; | ||
text-shadow: none !important; | text-shadow: none !important; | ||
} | } | ||
/* | /* 4. Sidebar – dark, no white behind it */ | ||
.skin-medik #mw-panel { | |||
#mw-panel | background-color: #050509 !important; | ||
background: #050509 !important; | |||
color: #dddddd !important; | color: #dddddd !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* Sidebar | /* Sidebar headings (Introduction, HUD Guide, etc.) */ | ||
#mw-panel .portal h3 { | .skin-medik #mw-panel .portal h3 { | ||
color: #d64040 !important; | color: #d64040 !important; /* red section titles */ | ||
} | } | ||
/* Sidebar links */ | /* Sidebar links */ | ||
#mw-panel a { | .skin-medik #mw-panel a { | ||
color: #f0f0f0 !important; | color: #f0f0f0 !important; | ||
} | } | ||
#mw-panel a:hover { | .skin-medik #mw-panel a:hover { | ||
color: #ff5b5b !important; | color: #ff5b5b !important; | ||
} | } | ||
/* Article links (the ones in | /* 5. Article links (the ones in page content) */ | ||
.mw-body a, | .skin-medik .mw-body a, | ||
.mw-body a:visited { | .skin-medik .mw-body a:visited { | ||
color: #d64040 !important; | color: #d64040 !important; | ||
} | } | ||
.mw-body a:hover { | .skin-medik .mw-body a:hover { | ||
color: #ff5b5b !important; | color: #ff5b5b !important; | ||
} | } | ||
/* TOC, infoboxes, tables */ | /* 6. TOC, infoboxes, tables */ | ||
.toc, | .skin-medik .toc, | ||
.infobox, | .skin-medik .infobox, | ||
.wikitable, | .skin-medik .wikitable, | ||
table { | .skin-medik table { | ||
background: #101018 !important; | background-color: #101018 !important; | ||
border-color: #2a2a3a !important; | border-color: #2a2a3a !important; | ||
color: #dddddd !important; | color: #dddddd !important; | ||
} | } | ||
/* | /* 7. Kill any remaining white strips/wrappers explicitly */ | ||
.skin-medik #mw-head-base, | |||
.skin-medik #mw-page-base, | |||
. | .skin-medik #mw-wrapper, | ||
.skin-medik .mw-page-container, | |||
.skin-medik .mw-page-container-inner { | |||
background-color: #050509 !important; | |||
#mw-head-base, | |||
#mw-page-base, | |||
#mw- | |||
background-color: #050509 !important; | |||
border: none !important; | border: none !important; | ||
} | } | ||
/* | /* 8. Logo – keep its original colours */ | ||
.skin-medik .mw-wiki-logo, | |||
.skin-medik #p-logo a, | |||
.skin-medik .mw-logo-icon img { | |||
filter: none !important; | |||
background-color: transparent !important; | |||
.skin-medik .mw- | |||
.skin-medik #p-logo, | |||
.skin-medik | |||
. | |||
} | } | ||
Revision as of 07:31, 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 — GOTHIC DARK THEME (MEDIK)
============================================================ */
/* 0. Global reset: stop any skin element from forcing a white background */
.skin-medik *,
.skin-medik *::before,
.skin-medik *::after {
background-color: transparent !important;
}
/* 1. Base page background & text */
.skin-medik html,
.skin-medik body {
background-color: #050509 !important; /* almost black */
color: #dddddd !important;
}
/* 2. Main content area */
.skin-medik .mw-body,
.skin-medik #content,
.skin-medik .mw-content-container {
background-color: #09090f !important; /* slightly lighter panel */
color: #dddddd !important;
border: none !important;
}
/* Headings */
.skin-medik .mw-body h1,
.skin-medik .mw-body h2,
.skin-medik .mw-body h3,
.skin-medik .mw-body h4,
.skin-medik .mw-body h5 {
color: #f0f0f0 !important;
}
/* 3. Top bar / navbar – solid black */
.skin-medik .navbar,
.skin-medik .navbar-default,
.skin-medik #mw-head {
background-color: #000000 !important;
border-bottom: 1px solid #222 !important;
}
/* Top-left wiki name in the bar (white, not red) */
.skin-medik .navbar-brand,
.skin-medik .navbar-brand a {
color: #f5f5f5 !important;
text-shadow: none !important;
}
/* 4. Sidebar – dark, no white behind it */
.skin-medik #mw-panel {
background-color: #050509 !important;
color: #dddddd !important;
border: none !important;
}
/* Sidebar headings (Introduction, HUD Guide, etc.) */
.skin-medik #mw-panel .portal h3 {
color: #d64040 !important; /* red section titles */
}
/* Sidebar links */
.skin-medik #mw-panel a {
color: #f0f0f0 !important;
}
.skin-medik #mw-panel a:hover {
color: #ff5b5b !important;
}
/* 5. Article links (the ones in page content) */
.skin-medik .mw-body a,
.skin-medik .mw-body a:visited {
color: #d64040 !important;
}
.skin-medik .mw-body a:hover {
color: #ff5b5b !important;
}
/* 6. TOC, infoboxes, tables */
.skin-medik .toc,
.skin-medik .infobox,
.skin-medik .wikitable,
.skin-medik table {
background-color: #101018 !important;
border-color: #2a2a3a !important;
color: #dddddd !important;
}
/* 7. Kill any remaining white strips/wrappers explicitly */
.skin-medik #mw-head-base,
.skin-medik #mw-page-base,
.skin-medik #mw-wrapper,
.skin-medik .mw-page-container,
.skin-medik .mw-page-container-inner {
background-color: #050509 !important;
border: none !important;
}
/* 8. Logo – keep its original colours */
.skin-medik .mw-wiki-logo,
.skin-medik #p-logo a,
.skin-medik .mw-logo-icon img {
filter: none !important;
background-color: transparent !important;
}