MediaWiki:Timeless.css: Difference between revisions
OMNIVERSE
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================= | /* ========================================================= | ||
OMNIVERSE | OMNIVERSE Dark Theme — MediaWiki (Skin: Timeless) | ||
========================================================= */ | ========================================================= */ | ||
/* ---------- Theme tokens ---------- */ | /* ---------- Theme tokens ---------- */ | ||
:root { | :root { | ||
--bg: #0f141c; | --bg: #0f141c; | ||
--panel: #1a2230; | --panel: #1a2230; | ||
--panel-2: #202a3a; | --panel-2: #202a3a; | ||
--border: rgba(255,255,255,0.08); | --border: rgba(255,255,255,0.08); | ||
--text: rgba(255,255,255,0.88); | --text: rgba(255,255,255,0.88); | ||
--muted: rgba(255,255,255,0.65); | --muted: rgba(255,255,255,0.65); | ||
--accent: #f2b233; | --accent: #f2b233; | ||
--accent-2: #ffd36a; | --accent-2: #ffd36a; | ||
--shadow: 0 | --shadow: 0 12px 32px rgba(0,0,0,0.45); | ||
--radius: 14px; | --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; | background: var(--bg) !important; | ||
color: var(--text); | color: var(--text); | ||
} | } | ||
/* Ensure parser output never paints white */ | |||
.mw- | .mw-parser-output { | ||
background: transparent !important; | |||
color: var(--text); | 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 { | #content { | ||
background: var(--panel); | background: var(--panel) !important; | ||
border: | border: none !important; | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
box-shadow: var(--shadow); | box-shadow: var(--shadow); | ||
padding: | padding: 20px 22px; | ||
} | } | ||
/* | /* Limit width to feel like a forum */ | ||
.mw-body-content { | .mw-body-content { | ||
max-width: | max-width: 1250px; | ||
} | } | ||
/* - | /* ========================================================= | ||
. | HEADINGS — no full-width lines, only gold accents | ||
========================================================= */ | |||
.firstHeading, | |||
.mw-parser-output h2, | .mw-parser-output h2, | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
color: rgba(255,255,255,0. | 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; | |||
} | } | ||
| Line 106: | Line 98: | ||
content: ""; | content: ""; | ||
display: block; | display: block; | ||
width: | width: 34px; | ||
height: 3px; | height: 3px; | ||
margin-top: 8px; | margin-top: 8px; | ||
background: var(--accent); | background: var(--accent); | ||
border-radius: | 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-panel .mw-portlet, | ||
#mw-navigation .mw-portlet, | #mw-navigation .mw-portlet, | ||
#sidebar .mw-portlet, | #sidebar .mw-portlet, | ||
# | #p-navigation, | ||
background: var(--panel); | #p-tb, | ||
#p-views, | |||
#p-cactions, | |||
#p-personal { | |||
background: var(--panel) !important; | |||
border: 1px solid var(--border); | border: 1px solid var(--border); | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
padding: | padding: 14px; | ||
margin-bottom: 16px; | margin-bottom: 16px; | ||
box-shadow: var(--shadow); | box-shadow: var(--shadow); | ||
} | } | ||
.mw-portlet h3 { | |||
color: rgba(255,255,255,0.75); | |||
color: rgba(255,255,255,0. | |||
font-size: 13px; | font-size: 13px; | ||
font-weight: 700; | font-weight: 700; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.06em; | letter-spacing: 0.06em; | ||
margin: | margin-bottom: 10px; | ||
border-bottom: 1px solid var(--border); | |||
padding-bottom: 8px; | padding-bottom: 8px; | ||
} | } | ||
.mw-portlet ul { | |||
list-style: none; | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.mw-portlet li a { | |||
display: block; | display: block; | ||
padding: 8px 10px; | padding: 8px 10px; | ||
border-radius: 8px; | border-radius: 8px; | ||
color: rgba(255,255,255,0. | color: rgba(255,255,255,0.78); | ||
} | } | ||
.mw-portlet li a:hover { | |||
background: rgba(255,255,255,0.06); | background: rgba(255,255,255,0.06); | ||
color: rgba(255,255,255,0.95); | color: rgba(255,255,255,0.95); | ||
} | } | ||
/* ================================================= | /* ========================================================= | ||
SEAMLESS TOC (Citizen-like) | |||
========================================================= */ | |||
================================================= | #toc, | ||
.toc { | |||
background: transparent !important; | |||
# | border: none !important; | ||
box-shadow: none !important; | |||
background: | |||
border | |||
box-shadow: | |||
padding: 0 !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); | |||
color: rgba(255,255,255,0. | |||
} | } | ||
# | #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 | |||
background: | ========================================================= */ | ||
pre, | |||
.mw-code { | |||
background: #0c1118; | |||
border: 1px solid rgba(255,255,255,0.1); | |||
border-radius: 12px; | |||
padding: 14px; | |||
} | } | ||
/* ========================================================= | |||
background | 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; | |||
.mw- | |||
# | |||
} | } | ||
button:hover { | |||
background: var(--accent-2); | |||
background | |||
} | } | ||
Revision as of 02:53, 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);
}
