MediaWiki:Common.css

From New Hope UO Wiki
Revision as of 14:59, 27 June 2026 by Admin (talk | contribs) (Dark theme setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* Global Dark Fantasy Theme for New Hope UO Wiki */

/* Body and main backgrounds */
body {
    background-color: #0b0e14 !important;
    color: #d1d5db !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Content Panel */
.mw-body, #content {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border: 1px solid #1f2937 !important;
    border-radius: 8px;
    margin-top: 10px;
    padding: 20px 30px !important;
}

/* Logo and navigation panel */
#mw-navigation {
    background-color: #0b0e14 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #eab308 !important; /* Gold headings */
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: 1px solid #374151 !important;
}

h1 {
    font-size: 2.2rem !important;
}

h2 {
    font-size: 1.6rem !important;
}

/* Links */
a {
    color: #f59e0b !important; /* Gold links */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #fbbf24 !important;
    text-decoration: underline;
}

/* Red link for missing pages */
a.new {
    color: #ef4444 !important;
}

a.new:hover {
    color: #f87171 !important;
}

/* Navigation Links (left panel) */
.vector-menu-portal .vector-menu-content-list a {
    color: #9ca3af !important;
}

.vector-menu-portal .vector-menu-content-list a:hover {
    color: #f59e0b !important;
}

.vector-menu-heading {
    color: #eab308 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    font-weight: bold;
    border-bottom: 1px solid #374151 !important;
}

/* Header & Tab menu */
#mw-head {
    background-color: #0b0e14 !important;
}

.vector-menu-tabs li {
    background-image: none !important;
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    border-bottom: none !important;
    margin-right: 2px;
}

.vector-menu-tabs li a {
    color: #9ca3af !important;
}

.vector-menu-tabs li.selected {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}

.vector-menu-tabs li.selected a {
    color: #eab308 !important;
}

/* Tables styling */
.wikitable {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
    border-collapse: collapse;
}

.wikitable th {
    background-color: #111827 !important;
    color: #eab308 !important;
    border: 1px solid #374151 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    padding: 10px 12px !important;
}

.wikitable td {
    border: 1px solid #374151 !important;
    padding: 8px 12px !important;
}

/* Search input */
#searchInput {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
    border-radius: 4px;
    padding: 4px 8px !important;
}

#searchButton, #searchGoButton {
    background-color: #111827 !important;
    color: #eab308 !important;
    border: 1px solid #374151 !important;
    border-radius: 4px;
}

/* Infobox & templates styling */
.portable-infobox, .infobox {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    color: #e5e7eb !important;
}

/* Standard alerts & notifications */
.mw-parser-output .mbox-inside {
    background-color: #1f2937 !important;
    border-color: #eab308 !important;
    color: #e5e7eb !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0e14;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #eab308;
}