MediaWiki:Timeless.css: Difference between revisions
OMNIVERSE
No edit summary |
No edit summary |
||
| Line 260: | Line 260: | ||
button:hover { | button:hover { | ||
background: var(--accent-2); | background: var(--accent-2); | ||
} | |||
/* ========================================================= | |||
FINAL: Kill Timeless outer light canvas | |||
========================================================= */ | |||
/* This is the layer Timeless uses for the gray background */ | |||
.mw-page-container, | |||
.mw-page-container-inner, | |||
.mw-content-container, | |||
.mw-content-container-inner, | |||
.mw-page-base, | |||
.mw-head-base { | |||
background: var(--bg) !important; | |||
background-color: var(--bg) !important; | |||
} | |||
/* Ensure nothing reintroduces light panels */ | |||
#mw-wrapper, | |||
#mw-content-wrapper { | |||
background: var(--bg) !important; | |||
} | |||
/* Safety net: if anything still leaks white */ | |||
body::before, | |||
body::after { | |||
background: none !important; | |||
} | } | ||
Revision as of 02:55, 19 January 2026
/* =========================================================
OMNIVERSE Dark Theme — MediaWiki (Skin: Timeless)
========================================================= */
/* ---------- Theme tokens ---------- */
:root {
--bg: #0f141c;
--panel: #1a2230;
--panel-2: #202a3a;
--border: rgba(255,255,255,0.08);
--text: rgba(255,255,255,0.88);
--muted: rgba(255,255,255,0.65);
--accent: #f2b233;
--accent-2: #ffd36a;
--shadow: 0 12px 32px rgba(0,0,0,0.45);
--radius: 14px;
}
/* =========================================================
GLOBAL CANVAS — kill ALL light backgrounds
========================================================= */
html,
body,
#mw-wrapper,
#mw-content-wrapper,
#mw-page-base,
#mw-head-base,
.mw-page-container,
.mw-page-container-inner,
.mw-body,
.mw-body-content,
#mw-content-text,
#mw-panel,
#mw-navigation,
#sidebar,
.sidebar,
#mw-aside,
#mw-related-navigation {
background: var(--bg) !important;
color: var(--text);
}
/* Ensure parser output never paints white */
.mw-parser-output {
background: transparent !important;
color: var(--text);
line-height: 1.65;
font-size: 16px;
}
/* =========================================================
HEADER
========================================================= */
#mw-header {
background:
linear-gradient(rgba(10,14,20,0.92), rgba(10,14,20,0.92)),
url("/images/wiki-header-bg.jpg") center / cover no-repeat;
border-bottom: 1px solid var(--border);
}
/* =========================================================
MAIN CONTENT CARD
========================================================= */
#content {
background: var(--panel) !important;
border: none !important;
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 20px 22px;
}
/* Limit width to feel like a forum */
.mw-body-content {
max-width: 1250px;
}
/* =========================================================
HEADINGS — no full-width lines, only gold accents
========================================================= */
.firstHeading,
.mw-parser-output h2,
.mw-parser-output h3 {
color: rgba(255,255,255,0.95);
border-bottom: none !important;
}
.firstHeading::after {
content: "";
display: block;
width: 56px;
height: 3px;
margin-top: 10px;
background: var(--accent);
border-radius: 999px;
}
.mw-parser-output h2::after {
content: "";
display: block;
width: 34px;
height: 3px;
margin-top: 8px;
background: var(--accent);
border-radius: 999px;
}
/* =========================================================
LINKS
========================================================= */
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
color: var(--accent-2);
text-decoration: underline;
}
/* =========================================================
SIDEBAR + PAGE TOOLS — dark cards
========================================================= */
#mw-panel .mw-portlet,
#mw-navigation .mw-portlet,
#sidebar .mw-portlet,
#p-navigation,
#p-tb,
#p-views,
#p-cactions,
#p-personal {
background: var(--panel) !important;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 14px;
margin-bottom: 16px;
box-shadow: var(--shadow);
}
.mw-portlet h3 {
color: rgba(255,255,255,0.75);
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 10px;
border-bottom: 1px solid var(--border);
padding-bottom: 8px;
}
.mw-portlet ul {
list-style: none;
margin: 0;
padding: 0;
}
.mw-portlet li a {
display: block;
padding: 8px 10px;
border-radius: 8px;
color: rgba(255,255,255,0.78);
}
.mw-portlet li a:hover {
background: rgba(255,255,255,0.06);
color: rgba(255,255,255,0.95);
}
/* =========================================================
SEAMLESS TOC (Citizen-like)
========================================================= */
#toc,
.toc {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
margin-bottom: 18px;
}
#toc .toctitle h2 {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: rgba(255,255,255,0.7);
}
#toc ul {
list-style: none;
padding-left: 14px;
border-left: 2px solid rgba(255,255,255,0.07);
}
#toc a {
display: block;
padding: 7px 8px;
border-radius: 8px;
color: rgba(255,255,255,0.7);
}
#toc a:hover {
background: rgba(255,255,255,0.06);
color: rgba(255,255,255,0.95);
}
/* =========================================================
TABLES
========================================================= */
.wikitable {
background: var(--panel-2);
border: 1px solid var(--border);
border-radius: var(--radius);
border-collapse: separate;
border-spacing: 0;
}
.wikitable th,
.wikitable td {
padding: 10px 12px;
border-top: 1px solid rgba(255,255,255,0.06);
}
.wikitable th {
background: rgba(255,255,255,0.04);
color: rgba(255,255,255,0.9);
}
/* =========================================================
CODE BLOCKS
========================================================= */
pre,
.mw-code {
background: #0c1118;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 12px;
padding: 14px;
}
/* =========================================================
FORMS / BUTTONS
========================================================= */
input,
textarea,
select {
background: #0c1118;
border: 1px solid rgba(255,255,255,0.12);
color: var(--text);
border-radius: 10px;
padding: 8px 10px;
}
button,
.mw-ui-button {
background: var(--accent);
border: none;
color: #141a22;
border-radius: 10px;
font-weight: 700;
}
button:hover {
background: var(--accent-2);
}
/* =========================================================
FINAL: Kill Timeless outer light canvas
========================================================= */
/* This is the layer Timeless uses for the gray background */
.mw-page-container,
.mw-page-container-inner,
.mw-content-container,
.mw-content-container-inner,
.mw-page-base,
.mw-head-base {
background: var(--bg) !important;
background-color: var(--bg) !important;
}
/* Ensure nothing reintroduces light panels */
#mw-wrapper,
#mw-content-wrapper {
background: var(--bg) !important;
}
/* Safety net: if anything still leaks white */
body::before,
body::after {
background: none !important;
}
