MediaWiki:Common.css: Difference between revisions

From Exuvia Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* =========================
/* ===== Timeless Dark Mode ===== */
  Timeless Dark Theme
  ========================= */
 
html {
    background: #111 !important;
}


html,
body {
body {
     background: #111 !important;
     background: #111 !important;
Line 12: Line 7:
}
}


/* Main content */
/* Main page background */
#mw-content,
#mw-content-container {
#mw-content-container,
#mw-content-block,
#mw-page-base,
#mw-head-base {
     background: #111 !important;
     background: #111 !important;
    background-image: none !important;
    border-bottom-color: #333 !important;
}
}


/* Article */
/* Article/content box */
.mw-body {
#mw-content {
     background: #181818 !important;
     background: #181818 !important;
     color: #ddd !important;
     color: #ddd !important;
}
}


/* Headings */
/* Header */
h1,
#mw-header-container {
h2,
     background: #181818 !important;
h3,
h4,
h5,
h6 {
     color: #eee !important;
}
}


/* Links */
/* Navigation */
a {
#mw-site-navigation,
     color: #6fa8dc !important;
#mw-related-navigation {
     background: #181818 !important;
}
}


a:visited {
/* Navigation portlets */
     color: #9b8dcc !important;
#mw-site-navigation .portal,
#mw-related-navigation .portal {
    background: #181818 !important;
     color: #ddd !important;
}
}


a:hover {
/* Navigation headings */
     color: #9fc9f5 !important;
#mw-site-navigation .portal h3,
#mw-related-navigation .portal h3 {
    background: #222 !important;
     color: #eee !important;
}
}


/* Navigation/sidebar */
/* Navigation lists */
#mw-site-navigation,
#mw-site-navigation ul,
#mw-related-navigation,
#mw-site-navigation li,
.sidebar-inner {
#mw-related-navigation ul,
     background: #181818 !important;
#mw-related-navigation li {
    color: #ddd !important;
     background: transparent !important;
}
}


/* Sidebar links */
/* Header links */
#mw-header a,
#mw-site-navigation a,
#mw-site-navigation a,
#mw-related-navigation a {
#mw-related-navigation a {
Line 65: Line 61:


/* Search */
/* Search */
#simpleSearch,
#simpleSearch {
#searchInput {
     background: #222 !important;
     background: #222 !important;
    color: #eee !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}


/* Inputs */
#searchInput {
input,
textarea,
select {
    background: #222 !important;
     color: #eee !important;
     color: #eee !important;
     border-color: #555 !important;
     background: transparent !important;
}
 
/* Links */
a {
    color: #75aadb !important;
}
 
a:visited {
    color: #a98bd4 !important;
}
}


/* Buttons */
/* Headings */
button,
h1,
.oo-ui-buttonElement-button,
h2,
.oo-ui-inputWidget-input {
h3,
    background: #292929 !important;
h4,
h5,
h6 {
     color: #eee !important;
     color: #eee !important;
     border-color: #555 !important;
     border-color: #444 !important;
}
}


/* Tables */
/* Tables */
table.wikitable {
.wikitable,
.mw-datatable,
.mw-metadata {
     background: #202020 !important;
     background: #202020 !important;
     color: #ddd !important;
     color: #ddd !important;
     border-color: #555 !important;
     border-color: #444 !important;
}
}


table.wikitable th {
.wikitable th,
.mw-datatable th {
     background: #292929 !important;
     background: #292929 !important;
     color: #eee !important;
     color: #eee !important;
}
}


table.wikitable td {
.wikitable td,
.mw-datatable td {
     background: #202020 !important;
     background: #202020 !important;
     color: #ddd !important;
     color: #ddd !important;
    border-color: #444 !important;
}
}


/* Code / preformatted text */
/* Infoboxes */
pre,
.infobox {
.mw-code,
.mw-highlight {
     background: #202020 !important;
     background: #202020 !important;
     color: #ddd !important;
     color: #ddd !important;
    border-color: #444 !important;
}
}


/* Infoboxes */
/* Code */
.infobox {
pre,
code,
.mw-code {
     background: #202020 !important;
     background: #202020 !important;
     color: #ddd !important;
     color: #ddd !important;
    border-color: #444 !important;
}
}


/* Category boxes / miscellaneous panels */
/* Inputs */
.mw-body .mw-parser-output {
input,
     color: #ddd !important;
textarea,
select {
     background: #222 !important;
    color: #eee !important;
    border-color: #555 !important;
}
}


/* Footer */
/* Footer */
#footer {
.mw-footer-container,
.mw-footer {
     background: #111 !important;
     background: #111 !important;
     color: #aaa !important;
     color: #aaa !important;
}
#footer a {
    color: #6fa8dc !important;
}
/* Timeless UI containers */
/* Top/header area */
#mw-header-container,
#mw-header,
#mw-site-navigation,
#mw-related-navigation,
#mw-sidebar {
    background: #181818 !important;
}
/* Header/search area */
#p-search,
#p-personal,
#p-cactions,
#mw-page-header-links {
    background: #181818 !important;
}
/* Sidebar navigation boxes */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
.sidebar-chunk {
    background: #181818 !important;
    border-color: #333 !important;
}
/* Sidebar headings */
.sidebar-chunk h3,
.sidebar-chunk .sidebar-heading {
    background: #222 !important;
    color: #ddd !important;
}
/* Individual sidebar links/items */
.sidebar-chunk li,
.sidebar-chunk ul {
    background: transparent !important;
}
/* Top navigation links */
#mw-header a,
#mw-site-navigation a,
#mw-related-navigation a {
    background: transparent !important;
}
/* Search box and surrounding container */
#searchform,
#simpleSearch {
    background: #222 !important;
    border-color: #444 !important;
}
/* Personal tools at top right */
#p-personal ul,
#p-personal li {
    background: transparent !important;
}
/* Generic Timeless portlets */
.portal,
.portal .body {
    background: #181818 !important;
    color: #ddd !important;
}
/* Kill remaining white backgrounds in Timeless UI */
#mw-content-container *,
#mw-header-container *,
#mw-site-navigation *,
#mw-related-navigation * {
    border-color: #333;
}
}

Revision as of 23:54, 25 August 2026

/* ===== Timeless Dark Mode ===== */

html,
body {
    background: #111 !important;
    color: #ddd !important;
}

/* Main page background */
#mw-content-container {
    background: #111 !important;
    background-image: none !important;
    border-bottom-color: #333 !important;
}

/* Article/content box */
#mw-content {
    background: #181818 !important;
    color: #ddd !important;
}

/* Header */
#mw-header-container {
    background: #181818 !important;
}

/* Navigation */
#mw-site-navigation,
#mw-related-navigation {
    background: #181818 !important;
}

/* Navigation portlets */
#mw-site-navigation .portal,
#mw-related-navigation .portal {
    background: #181818 !important;
    color: #ddd !important;
}

/* Navigation headings */
#mw-site-navigation .portal h3,
#mw-related-navigation .portal h3 {
    background: #222 !important;
    color: #eee !important;
}

/* Navigation lists */
#mw-site-navigation ul,
#mw-site-navigation li,
#mw-related-navigation ul,
#mw-related-navigation li {
    background: transparent !important;
}

/* Header links */
#mw-header a,
#mw-site-navigation a,
#mw-related-navigation a {
    color: #ccc !important;
}

/* Search */
#simpleSearch {
    background: #222 !important;
    border-color: #444 !important;
}

#searchInput {
    color: #eee !important;
    background: transparent !important;
}

/* Links */
a {
    color: #75aadb !important;
}

a:visited {
    color: #a98bd4 !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #eee !important;
    border-color: #444 !important;
}

/* Tables */
.wikitable,
.mw-datatable,
.mw-metadata {
    background: #202020 !important;
    color: #ddd !important;
    border-color: #444 !important;
}

.wikitable th,
.mw-datatable th {
    background: #292929 !important;
    color: #eee !important;
}

.wikitable td,
.mw-datatable td {
    background: #202020 !important;
    color: #ddd !important;
    border-color: #444 !important;
}

/* Infoboxes */
.infobox {
    background: #202020 !important;
    color: #ddd !important;
}

/* Code */
pre,
code,
.mw-code {
    background: #202020 !important;
    color: #ddd !important;
    border-color: #444 !important;
}

/* Inputs */
input,
textarea,
select {
    background: #222 !important;
    color: #eee !important;
    border-color: #555 !important;
}

/* Footer */
.mw-footer-container,
.mw-footer {
    background: #111 !important;
    color: #aaa !important;
}