MediaWiki:Common.css: Difference between revisions

From New Hope UO Wiki
(Dark theme setup)
 
(Black theme setup)
Line 1: Line 1:
/* Global Dark Fantasy Theme for New Hope UO Wiki */
/* Complete Black Theme for MediaWiki (Outlands Style) */


/* Body and main backgrounds */
html, body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-head, #mw-panel,
body {
.vector-menu-portal .vector-menu-content, .vector-header {
     background-color: #0b0e14 !important;
     background-color: #000000 !important;
     color: #d1d5db !important;
    background: #000000 !important;
     font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
     color: #e2e8f0 !important;
     border-color: #222222 !important;
}
}


/* Content Panel */
.mw-body {
.mw-body, #content {
     border: 1px solid #222222 !important;
    background-color: #111827 !important;
     background-color: #000000 !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 */
/* Headings */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     color: #eab308 !important; /* Gold headings */
     color: #eab308 !important; /* Gold */
     font-family: 'Cinzel', Georgia, serif !important;
     font-family: 'Cinzel', Georgia, serif !important;
     border-bottom: 1px solid #374151 !important;
     border-bottom: 1px solid #222222 !important;
}
 
h1 {
    font-size: 2.2rem !important;
}
 
h2 {
    font-size: 1.6rem !important;
}
}


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


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


a.new:hover {
/* Left sidebar styles */
     color: #f87171 !important;
.vector-menu-heading {
     color: #eab308 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: 1px solid #222222 !important;
    font-weight: bold;
    padding-top: 10px !important;
}
}


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


.vector-menu-portal .vector-menu-content-list a:hover {
.vector-menu-portal .vector-menu-content-list a:hover {
    color: #f59e0b !important;
}
.vector-menu-heading {
     color: #eab308 !important;
     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;
}
}


/* Tabs */
.vector-menu-tabs li {
.vector-menu-tabs li {
    background-image: none !important;
     background-color: #111111 !important;
     background-color: #1f2937 !important;
     border: 1px solid #222222 !important;
     border: 1px solid #374151 !important;
     border-bottom: none !important;
     border-bottom: none !important;
    margin-right: 2px;
}
.vector-menu-tabs li a {
    color: #9ca3af !important;
}
}


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


Line 101: Line 70:
}
}


/* Tables styling */
.vector-menu-tabs li a {
    color: #a0aec0 !important;
}
 
/* Tables */
.wikitable {
.wikitable {
     background-color: #1f2937 !important;
     background-color: #09090b !important;
     color: #e5e7eb !important;
     color: #e2e8f0 !important;
     border: 1px solid #374151 !important;
     border: 1px solid #222222 !important;
    border-collapse: collapse;
}
}


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


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


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


#searchButton, #searchGoButton {
#searchButton, #searchGoButton {
     background-color: #111827 !important;
     background-color: #18181b !important;
     color: #eab308 !important;
     color: #eab308 !important;
     border: 1px solid #374151 !important;
     border: 1px solid #222222 !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;
}
}

Revision as of 15:00, 27 June 2026

/* Complete Black Theme for MediaWiki (Outlands Style) */

html, body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-head, #mw-panel, 
.vector-menu-portal .vector-menu-content, .vector-header {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #e2e8f0 !important;
    border-color: #222222 !important;
}

.mw-body {
    border: 1px solid #222222 !important;
    background-color: #000000 !important;
}

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

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

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

a.new {
    color: #ef4444 !important;
}

/* Left sidebar styles */
.vector-menu-heading {
    color: #eab308 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: 1px solid #222222 !important;
    font-weight: bold;
    padding-top: 10px !important;
}

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

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

/* Tabs */
.vector-menu-tabs li {
    background-color: #111111 !important;
    border: 1px solid #222222 !important;
    border-bottom: none !important;
}

.vector-menu-tabs li.selected {
    background-color: #000000 !important;
    border-color: #222222 !important;
}

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

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

/* Tables */
.wikitable {
    background-color: #09090b !important;
    color: #e2e8f0 !important;
    border: 1px solid #222222 !important;
}

.wikitable th {
    background-color: #18181b !important;
    color: #eab308 !important;
    border: 1px solid #222222 !important;
    font-family: 'Cinzel', Georgia, serif !important;
}

.wikitable td {
    border: 1px solid #222222 !important;
}

/* Search input */
#searchInput {
    background-color: #09090b !important;
    color: #e2e8f0 !important;
    border: 1px solid #222222 !important;
}

#searchButton, #searchGoButton {
    background-color: #18181b !important;
    color: #eab308 !important;
    border: 1px solid #222222 !important;
}