MediaWiki:Common.css

From Twisted
Revision as of 22:20, 13 August 2025 by Cactii (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* ===== General Layout ===== */
body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
    background-color: #101014 !important;
    color: #e4e4e4 !important;
}

/* Remove ugly serif in page titles */
#firstHeading {
    font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: bold;
    font-size: 1.8em;
}

/* ===== Header / Search Bar ===== */
#mw-page-base, #mw-head-base {
    background: #15151b !important;
}
#p-search {
    background: none !important;
}
#simpleSearch {
    background: #1f1f27 !important;
    border: none !important;
    border-radius: 5px;
}
#searchInput {
    background: transparent !important;
    color: #e4e4e4 !important;
}

/* ===== Sidebar ===== */
#mw-panel {
    background: #15151b !important;
}
#mw-panel .portal h3 {
    color: #bbb !important;
}
#mw-panel .portal .body li a {
    color: #a8b3ff !important;
}
#mw-panel .portal .body li a:hover {
    color: #ff7878 !important;
}

/* ===== Content Area ===== */
.mw-body {
    background: #18181f !important;
    border-radius: 8px;
    padding: 15px;
}
.mw-body h1, .mw-body h2, .mw-body h3 {
    color: #ffffff !important;
}

/* ===== Links ===== */
a {
    color: #6fa8ff !important;
}
a:visited {
    color: #a87fff !important;
}
a:hover {
    color: #ff7878 !important;
}

/* ===== Tables ===== */
table {
    background: #202028 !important;
    border: 1px solid #333 !important;
    border-radius: 6px;
}
th {
    background: #2a2a38 !important;
    color: #fff !important;
}
td {
    color: #ddd !important;
}

/* ===== Footer ===== */
footer, #footer {
    background: #15151b !important;
    color: #aaa !important;
}
footer .mw-poweredby {
    display: none;
}

/* ===== Logo ===== */
#p-logo {
    width: 200px !important;
}
#p-logo a {
    background-size: contain !important;
    background-repeat: no-repeat !important;
}
/* --- Base page background & text --- */
.skin-timeless body {
    background-color: #0e0e0e !important;
    color: #e6e6e6 !important;
}

/* Content area */
.skin-timeless #mw-content {
    background-color: #1a1a1a !important;
    border-radius: 6px;
    padding: 1rem;
}

/* Links */
.skin-timeless a {
    color: #89b4ff !important;
}
.skin-timeless a:visited {
    color: #b890ff !important;
}
.skin-timeless a:hover {
    color: #ffcc66 !important;
}

/* Sidebar background */
.skin-timeless #mw-navigation {
    background-color: #121212 !important;
}

/* Header bar */
.skin-timeless #mw-header {
    background-color: #181818 !important;
    border-bottom: 2px solid #ff3c3c !important; /* Accent */
}

/* Footer */
.skin-timeless #mw-footer {
    background-color: #101010 !important;
    border-top: 1px solid #333 !important;
}

/* Search bar */
.skin-timeless #searchInput {
    background-color: #222 !important;
    color: #eee !important;
    border: 1px solid #555 !important;
}