Jump to content

MediaWiki:Common.css

From HOPE 01 Wiki
Revision as of 01:59, 23 September 2026 by Wechev (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ===== HOPE 01 Wiki theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap');

:root {
    --hope-bg: #0b0c0a;
    --hope-panel: #1c1e1a;
    --hope-border: #3a3d38;
    --hope-green: #39ff6a;
    --hope-green-dim: #2c9c4a;
    --hope-red: #c31d24;
    --hope-amber: #d99b2b;
    --hope-text: #c9cdc4;
    --hope-text-dim: #7a8478;
}

body {
    background-color: var(--hope-bg) !important;
    color: var(--hope-text) !important;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
}

/* Page content panel */
.mw-body, .vector-body {
    background-color: var(--hope-panel) !important;
    border: 1px solid var(--hope-border) !important;
    color: var(--hope-text) !important;
}

/* Headings — pixel/terminal display font */
h1, h2, h3, .mw-first-heading, .vector-page-titlebar {
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    color: var(--hope-green) !important;
    border-bottom: 1px solid var(--hope-green-dim) !important;
    text-shadow: 0 0 4px rgba(57, 255, 106, 0.35);
}

/* Links */
a {
    color: var(--hope-green) !important;
}
a:visited {
    color: var(--hope-green-dim) !important;
}
a.new {
    color: var(--hope-red) !important;
}

/* Sidebar / navigation */
#mw-panel, .vector-menu-content, .vector-pinned-container {
    background-color: var(--hope-bg) !important;
    border-right: 1px solid var(--hope-border) !important;
}
.vector-menu-heading {
    color: var(--hope-amber) !important;
    font-family: 'VT323', monospace;
}

/* Top header bar */
.vector-header, .vector-header-container {
    background-color: #0e0f0d !important;
    border-bottom: 2px solid var(--hope-green-dim) !important;
}

/* Buttons / tabs */
.vector-tab-noicon a, .cdx-button {
    background-color: var(--hope-panel) !important;
    border: 1px solid var(--hope-border) !important;
    color: var(--hope-text) !important;
}
.vector-tab-noicon.selected a {
    border-bottom: 2px solid var(--hope-green) !important;
    color: var(--hope-green) !important;
}

/* Infobox-style tables (for weapon/item/enemy pages) */
.infobox, table.wikitable {
    background-color: #141513 !important;
    border: 1px solid var(--hope-border) !important;
    color: var(--hope-text) !important;
}
.infobox th, table.wikitable th {
    background-color: #23261f !important;
    color: var(--hope-amber) !important;
    font-family: 'VT323', monospace;
}

/* Blockquote / callout style, blood-scrawl feel for warnings */
blockquote {
    border-left: 3px solid var(--hope-red);
    background-color: rgba(195, 29, 36, 0.08);
    color: var(--hope-red);
    font-family: 'VT323', monospace;
    padding: 8px 12px;
}


html,
body,
.mw-page-container,
.vector-body-container,
.vector-column-start,
.vector-column-end,
.vector-header-container,
.vector-header,
.vector-sitenotice-container,
.vector-page-titlebar,
#content,
.mw-body,
footer#footer,
.mw-footer,
.vector-pinned-container,
.vector-sticky-pinned-container {
    background-color: var(--hope-bg) !important;
}

/* Footer text/links still need to be visible on dark bg */
.mw-footer, .mw-footer a {
    color: var(--hope-text-dim) !important;
}
.mw-footer a {
    color: var(--hope-green-dim) !important;
}

/* Make columns stretch full height so no box "runs out" of background early */
.mw-page-container {
    min-height: 100vh;
}