MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
🌙 DARK MODE THEME — Untenables Wiki Style | 🌙 DARK MODE THEME — Untenables Wiki Style | ||
Colors: | Colors: | ||
- Dark Grey: # | - Dark Grey: #101418 | ||
- Cream (text): #f8f8f2 | - Cream (text): #f8f8f2 | ||
- Pink (accent): #ff79c6 | - Pink (accent): #ff79c6 | ||
| Line 15: | Line 15: | ||
body.skin-vector-2022 #mw-content-container, | body.skin-vector-2022 #mw-content-container, | ||
body.skin-vector-2022 .mw-body { | body.skin-vector-2022 .mw-body { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
} | } | ||
| Line 21: | Line 21: | ||
/* ---- Base Page ---- */ | /* ---- Base Page ---- */ | ||
body { | body { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
} | } | ||
| Line 41: | Line 41: | ||
a:link, | a:link, | ||
.mw-body a { | .mw-body a { | ||
color: # | color: #ff79c6 !important; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Line 51: | Line 51: | ||
a:hover, | a:hover, | ||
a:focus { | a:focus { | ||
color: # | color: #ff5555 !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| Line 57: | Line 57: | ||
/* ---- Navigation & Sidebar ---- */ | /* ---- Navigation & Sidebar ---- */ | ||
#mw-panel, .vector-menu-content, .sidebar, .mw-sidebar, .minerva-header { | #mw-panel, .vector-menu-content, .sidebar, .mw-sidebar, .minerva-header { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
} | } | ||
| Line 73: | Line 73: | ||
/* ---- Header / Toolbar ---- */ | /* ---- Header / Toolbar ---- */ | ||
#mw-head, #mw-head-base, .vector-header, .header { | #mw-head, #mw-head-base, .vector-header, .header { | ||
background-color: # | background-color: #101418 !important; | ||
border-bottom: 1px solid #6272a4 !important; | border-bottom: 1px solid #6272a4 !important; | ||
} | } | ||
| Line 90: | Line 90: | ||
.mw-ui-input, | .mw-ui-input, | ||
input[type="search"] { | input[type="search"] { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
border: 1px solid #6272a4 !important; | border: 1px solid #6272a4 !important; | ||
| Line 102: | Line 102: | ||
table, th, td { | table, th, td { | ||
border-color: #6272a4 !important; | border-color: #6272a4 !important; | ||
background-color: #101418 !important; | |||
color: #f8f8f2 !important; | |||
background-color: # | |||
} | } | ||
th { | th { | ||
background-color: # | background-color: #101418 !important; | ||
color: #ff79c6 !important; | color: #ff79c6 !important; | ||
} | } | ||
| Line 119: | Line 113: | ||
/* ---- Code blocks & preformatted text ---- */ | /* ---- Code blocks & preformatted text ---- */ | ||
pre, code, .mw-code { | pre, code, .mw-code { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
border: 1px solid #6272a4 !important; | border: 1px solid #6272a4 !important; | ||
| Line 126: | Line 120: | ||
/* ---- Notifications, warnings, errors ---- */ | /* ---- Notifications, warnings, errors ---- */ | ||
.mw-warning, .warning, .errorbox { | .mw-warning, .warning, .errorbox { | ||
background-color: # | background-color: #101418 !important; | ||
border: 1px solid #ff5555 !important; | border: 1px solid #ff5555 !important; | ||
color: #ff5555 !important; | color: #ff5555 !important; | ||
} | } | ||
/* ---- Buttons ---- */ | |||
/* ---- | |||
button, .mw-ui-button, input[type="submit"], input[type="button"], .oo-ui-buttonElement-button { | button, .mw-ui-button, input[type="submit"], input[type="button"], .oo-ui-buttonElement-button { | ||
background-color: #6272a4 !important; | background-color: #6272a4 !important; | ||
| Line 147: | Line 135: | ||
button:hover, .mw-ui-button:hover, .oo-ui-buttonElement-button:hover { | button:hover, .mw-ui-button:hover, .oo-ui-buttonElement-button:hover { | ||
background-color: #ff79c6 !important; | background-color: #ff79c6 !important; | ||
color: # | color: #101418 !important; | ||
} | } | ||
/* ---- Footer ---- */ | /* ---- Footer ---- */ | ||
#footer, .mw-footer { | #footer, .mw-footer { | ||
background-color: # | background-color: #101418 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
border-top: 1px solid #6272a4 !important; | border-top: 1px solid #6272a4 !important; | ||
| Line 169: | Line 157: | ||
border-left: 3px solid #6272a4 !important; | border-left: 3px solid #6272a4 !important; | ||
color: #f8f8f2 !important; | color: #f8f8f2 !important; | ||
background-color: # | background-color: #101418 !important; | ||
} | } | ||
/* ---- | /* ---- Selection highlight ---- */ | ||
::selection { | ::selection { | ||
background: #ff79c6; | background: #ff79c6; | ||
color: # | color: #101418; | ||
} | } | ||
/* ---- Hide Vector sidebar tools (optional cleanup) ---- */ | |||
#vector-toc-landmark > .vector-page-tools-nav { | #vector-toc-landmark > .vector-page-tools-nav { | ||
display: none; | display: none; | ||
} | } | ||
Revision as of 19:22, 13 October 2025
/* ============================
🌙 DARK MODE THEME — Untenables Wiki Style
Colors:
- Dark Grey: #101418
- Cream (text): #f8f8f2
- Pink (accent): #ff79c6
- Blue Grey (secondary): #6272a4
- Red (alert): #ff5555
============================ */
/* --- Vector 2022 outer background overrides --- */
body.skin-vector-2022,
body.skin-vector-2022 #mw-page-base,
body.skin-vector-2022 #mw-header-container,
body.skin-vector-2022 #mw-content-container,
body.skin-vector-2022 .mw-body {
background-color: #101418 !important;
color: #f8f8f2 !important;
}
/* ---- Base Page ---- */
body {
background-color: #101418 !important;
color: #f8f8f2 !important;
}
/* Page content */
.mw-body, .mw-body-content, #content, .mw-parser-output {
background-color: transparent !important;
color: #f8f8f2 !important;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: #ff79c6 !important;
border-color: #6272a4 !important;
}
/* Links */
a,
a:link,
.mw-body a {
color: #ff79c6 !important;
text-decoration: none;
}
a:visited {
color: #6272a4 !important;
}
a:hover,
a:focus {
color: #ff5555 !important;
text-decoration: underline;
}
/* ---- Navigation & Sidebar ---- */
#mw-panel, .vector-menu-content, .sidebar, .mw-sidebar, .minerva-header {
background-color: #101418 !important;
color: #f8f8f2 !important;
}
#mw-panel a,
.vector-menu-content a {
color: #f8f8f2 !important;
}
#mw-panel a:hover,
.vector-menu-content a:hover {
color: #ff79c6 !important;
}
/* ---- Header / Toolbar ---- */
#mw-head, #mw-head-base, .vector-header, .header {
background-color: #101418 !important;
border-bottom: 1px solid #6272a4 !important;
}
#p-personal li a,
.vector-user-menu a {
color: #f8f8f2 !important;
}
#p-personal li a:hover {
color: #ff79c6 !important;
}
/* ---- Search box ---- */
#p-search input,
.mw-ui-input,
input[type="search"] {
background-color: #101418 !important;
color: #f8f8f2 !important;
border: 1px solid #6272a4 !important;
}
#p-search input:focus {
border-color: #ff79c6 !important;
}
/* ---- Tables ---- */
table, th, td {
border-color: #6272a4 !important;
background-color: #101418 !important;
color: #f8f8f2 !important;
}
th {
background-color: #101418 !important;
color: #ff79c6 !important;
}
/* ---- Code blocks & preformatted text ---- */
pre, code, .mw-code {
background-color: #101418 !important;
color: #f8f8f2 !important;
border: 1px solid #6272a4 !important;
}
/* ---- Notifications, warnings, errors ---- */
.mw-warning, .warning, .errorbox {
background-color: #101418 !important;
border: 1px solid #ff5555 !important;
color: #ff5555 !important;
}
/* ---- Buttons ---- */
button, .mw-ui-button, input[type="submit"], input[type="button"], .oo-ui-buttonElement-button {
background-color: #6272a4 !important;
color: #f8f8f2 !important;
border: none !important;
border-radius: 4px;
}
button:hover, .mw-ui-button:hover, .oo-ui-buttonElement-button:hover {
background-color: #ff79c6 !important;
color: #101418 !important;
}
/* ---- Footer ---- */
#footer, .mw-footer {
background-color: #101418 !important;
color: #f8f8f2 !important;
border-top: 1px solid #6272a4 !important;
}
#footer a {
color: #ff79c6 !important;
}
/* ---- Misc readability ---- */
hr {
border-color: #6272a4 !important;
}
blockquote {
border-left: 3px solid #6272a4 !important;
color: #f8f8f2 !important;
background-color: #101418 !important;
}
/* ---- Selection highlight ---- */
::selection {
background: #ff79c6;
color: #101418;
}
/* ---- Hide Vector sidebar tools (optional cleanup) ---- */
#vector-toc-landmark > .vector-page-tools-nav {
display: none;
}