MediaWiki:Timeless.css: Difference between revisions

OMNIVERSE
No edit summary
No edit summary
Line 1: Line 1:
/* ==================== BACKGROUND COLORS ==================== */
/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
/* Complete custom theme to match omni-verse.us website */
 
/* ==================== BASE COLORS ==================== */
body {
body {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
Line 5: Line 8:
}
}


#mw-content-container {
/* ==================== MAIN CONTENT AREA ==================== */
     background-color: #252936 !important;
#mw-content-container,
#mw-content-wrapper,
#mw-content,
.mw-body {
     background-color: #2c3142 !important;
    color: #e5e7eb !important;
}
}


.mw-body {
.mw-parser-output {
    background-color: #252936 !important;
     color: #e5e7eb !important;
     color: #e5e7eb !important;
}
}


/* ==================== HEADER / TOP BAR ==================== */
/* ==================== HEADER / TOP NAVIGATION ==================== */
#mw-header-container {
#mw-header-container {
     background-color: #2d3142 !important;
     background-color: #2d3142 !important;
     border-bottom: 2px solid #3a3f51 !important;
     border-bottom: none !important;
}
}


#mw-header-container .color-left {
#mw-header-container .color-left {
     border-bottom-color: #f59e0b !important; /* Orange accent like your logo */
     border-bottom: 2px solid #f59e0b !important;
}
}


#mw-header-container .color-middle {
#mw-header-container .color-middle {
     border-bottom-color: #3b82f6 !important; /* Blue accent */
     border-bottom: 2px solid #3b82f6 !important;
}
}


#mw-header-container .color-right {
#mw-header-container .color-right {
     border-bottom-color: #10b981 !important; /* Green accent */
     border-bottom: 2px solid #10b981 !important;
}
}


/* Site logo and title */
#mw-header {
#p-logo a {
    color: #ffffff !important;
}
 
/* ==================== NAVIGATION SIDEBARS ==================== */
#mw-site-navigation,
#mw-related-navigation {
    background-color: #1a1d29 !important;
}
 
.mw-portal {
    background-color: #1a1d29 !important;
}
 
.mw-portal h3 {
    color: #fbbf24 !important; /* Golden/orange color */
    background-color: transparent !important;
    border: none !important;
}
 
.mw-portal .body li a {
    color: #e5e7eb !important;
}
 
.mw-portal .body li a:hover {
    color: #60a5fa !important;
    background-color: #2d3142 !important;
}
 
/* ==================== LINKS ==================== */
a {
    color: #60a5fa !important; /* Light blue */
}
 
a:visited {
    color: #a78bfa !important; /* Purple */
}
 
a:hover {
    color: #93c5fd !important;
}
 
a.new {
    color: #f87171 !important; /* Red for non-existent pages */
}
 
/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    border-bottom-color: #3a3f51 !important;
}
 
.mw-body h1.firstHeading {
    color: #ffffff !important;
    border-bottom: 2px solid #3a3f51 !important;
}
 
/* ==================== CONTENT BOXES ==================== */
.toc {
     background-color: #2d3142 !important;
     background-color: #2d3142 !important;
    border: 1px solid #3a3f51 !important;
}
}


.toc h2 {
/* Site title/logo */
#p-logo a,
.mw-wiki-title {
     color: #ffffff !important;
     color: #ffffff !important;
    background-color: transparent !important;
}
.toc ul a {
    color: #60a5fa !important;
}
}


Line 109: Line 53:
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: 1px solid #3a3f51 !important;
     border: 1px solid #4a5568 !important;
}
}


Line 118: Line 62:


.search-form {
.search-form {
     background-color: #2d3142 !important;
     background-color: transparent !important;
}
}


/* ==================== BUTTONS ==================== */
#searchButton {
.mw-ui-button,
button,
input[type="submit"] {
     background-color: #3b82f6 !important;
     background-color: #3b82f6 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border: 1px solid #2563eb !important;
}
}


.mw-ui-button:hover,
/* ==================== USER MENU ==================== */
button:hover,
#personal,
input[type="submit"]:hover {
#user-tools {
    background-color: #2563eb !important;
}
 
/* ==================== TABS (Edit, History, etc.) ==================== */
#p-namespaces ul li {
     background-color: #2d3142 !important;
     background-color: #2d3142 !important;
}
}


#p-namespaces ul li a {
#personal ul li a,
#user-tools a {
     color: #e5e7eb !important;
     color: #e5e7eb !important;
}
}


#p-namespaces ul li.selected {
/* ==================== LEFT SIDEBAR - COMPLETE RESET ==================== */
     background-color: #252936 !important;
#mw-site-navigation,
#mw-related-navigation,
#mw-navigation,
#mw-panel {
     background-color: #1a1d29 !important;
}
}


#p-namespaces ul li:hover {
/* Remove ALL borders from portlets */
     background-color: #3a3f51 !important;
.mw-portlet {
     background-color: #1a1d29 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    margin-bottom: 1em !important;
}
}


/* ==================== PAGE TOOLS MENU ==================== */
/* Portlet headers (Navigation, Wiki tools, etc) */
#page-tools {
.mw-portlet h3,
.mw-portlet-heading {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
}
#page-tools h3 {
     color: #fbbf24 !important;
     color: #fbbf24 !important;
    border: 0 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    font-weight: bold !important;
}
}


#page-tools .body li a {
/* Portlet body containers */
     color: #e5e7eb !important;
.mw-portlet .body,
.mw-portlet .mw-portlet-body,
.mw-portlet-body {
     background-color: #1a1d29 !important;
    border: 0 !important;
    padding: 0 !important;
}
}


#page-tools .body li a:hover {
/* Sidebar links */
     color: #60a5fa !important;
.mw-portlet .body ul,
     background-color: #2d3142 !important;
.mw-portlet-body ul {
     background-color: transparent !important;
     margin: 0 !important;
    list-style: none !important;
}
}


/* ==================== FOOTER ==================== */
.mw-portlet .body ul li,
#footer {
.mw-portlet-body ul li {
     background-color: #1a1d29 !important;
     background-color: transparent !important;
     border-top: 2px solid #3a3f51 !important;
     padding: 6px 12px !important;
     color: #9ca3af !important;
     border: 0 !important;
}
}


#footer a {
.mw-portlet .body ul li a,
     color: #60a5fa !important;
.mw-portlet-body ul li a {
}
     color: #93c5fd !important;
 
     text-decoration: none !important;
/* ==================== TABLES ==================== */
table {
     background-color: #2d3142 !important;
    color: #e5e7eb !important;
}
}


table th {
.mw-portlet .body ul li a:hover,
    background-color: #3a3f51 !important;
.mw-portlet-body ul li a:hover {
     color: #ffffff !important;
     color: #ffffff !important;
}
}


table td {
.mw-portlet .body ul li:hover,
     border-color: #3a3f51 !important;
.mw-portlet-body ul li:hover {
     background-color: #2d3142 !important;
}
}


/* ==================== CODE BLOCKS ==================== */
/* ==================== PAGE TABS (Main Page, Discussion, Edit, etc) ==================== */
code,
#p-namespaces ul,
pre {
#p-views ul {
     background-color: #1a1d29 !important;
     background-color: transparent !important;
    border: 1px solid #3a3f51 !important;
    color: #f3f4f6 !important;
}
}


/* ==================== WARNING/INFO BOXES ==================== */
#p-namespaces ul li,
.mw-warning,
#p-views ul li {
.mw-message-box {
     background-color: #2d3142 !important;
     background-color: #2d3142 !important;
     border-color: #3a3f51 !important;
     border: 0 !important;
     color: #e5e7eb !important;
     margin-right: 2px !important;
}
}


/* ==================== INPUT FIELDS ==================== */
#p-namespaces ul li a,
input[type="text"],
#p-views ul li a {
textarea {
     color: #93c5fd !important;
     background-color: #1a1d29 !important;
     padding: 8px 16px !important;
     color: #ffffff !important;
    border: 1px solid #3a3f51 !important;
}
}


input[type="text"]:focus,
#p-namespaces ul li.selected,
textarea:focus {
#p-views ul li.selected {
    border-color: #60a5fa !important;
     background-color: #2c3142 !important;
}
     border-bottom: 2px solid #fbbf24 !important;
/* ==================== FIX SIDEBAR BACKGROUNDS ==================== */
#mw-site-navigation .mw-portlet,
#mw-related-navigation .mw-portlet,
.mw-portlet {
     background-color: #1a1d29 !important;
     border: none !important;
}
}


#mw-navigation {
#p-namespaces ul li:hover,
     background-color: #1a1d29 !important;
#p-views ul li:hover {
     background-color: #3a3f51 !important;
}
}


/* Fix white box around navigation */
/* ==================== TABLE OF CONTENTS ==================== */
#mw-site-navigation,
#mw-related-navigation {
    background-color: #1a1d29 !important;
    border: none !important;
}
 
/* ==================== FIX CONTENT WRAPPER ==================== */
#mw-content-wrapper {
    background-color: #252936 !important;
}
 
#mw-content {
    background-color: #252936 !important;
}
 
/* ==================== FIX TABLE OF CONTENTS ==================== */
.toc {
.toc {
     background-color: #2d3447 !important;
     background-color: #2d3447 !important;
     border: 1px solid #3a3f51 !important;
     border: 0 !important;
    padding: 12px !important;
}
}


.toc h2,
.toc .toctitle h2 {
.toc .toctitle h2 {
    color: #fbbf24 !important;
     background-color: transparent !important;
     background-color: transparent !important;
     color: #fbbf24 !important;
     border: 0 !important;
    margin: 0 0 8px 0 !important;
}
}


.toc ul {
.toc ul {
     background-color: transparent !important;
     background-color: transparent !important;
    margin: 0 !important;
}
}


Line 276: Line 207:
}
}


/* ==================== FIX PAGE CONTENT AREA ==================== */
.toc a {
.mw-parser-output {
    color: #e5e7eb !important;
}
 
/* ==================== FIX HEADER AREA ==================== */
#mw-header {
    background-color: #2d3142 !important;
}
 
#personal {
    background-color: #2d3142 !important;
}
 
#personal ul li a {
    color: #e5e7eb !important;
}
 
/* ==================== FIX EDIT LINKS ==================== */
.mw-editsection,
.mw-editsection a {
     color: #60a5fa !important;
     color: #60a5fa !important;
}
}


/* ==================== FIX PAGE TOOLS SIDEBAR ==================== */
/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */
#page-tools {
#page-tools {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
     border: 1px solid #3a3f51 !important;
     border: 0 !important;
}
}


#page-tools h3 {
#page-tools .mw-portlet {
    background-color: transparent !important;
     border: 0 !important;
     border-bottom: 1px solid #3a3f51 !important;
}
}


#page-tools .mw-portlet-body {
#page-tools h3 {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
    color: #fbbf24 !important;
    border: 0 !important;
}
}


/* ==================== FIX ANY REMAINING WHITE BOXES ==================== */
#page-tools .mw-portlet-body {
.mw-portlet .body {
    background-color: transparent !important;
}
 
div#mw-panel {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
}
}


/* ==================== FIX DROPDOWN MENUS ==================== */
#page-tools .body li a {
.dropdown {
     color: #93c5fd !important;
     background-color: #2d3142 !important;
}
}


.dropdown .body {
#page-tools .body li a:hover {
    color: #ffffff !important;
     background-color: #2d3142 !important;
     background-color: #2d3142 !important;
    border: 1px solid #3a3f51 !important;
}
}


/* ==================== FIX USER MENU ==================== */
/* ==================== LINKS ==================== */
#user-tools {
a {
     background-color: #2d3142 !important;
     color: #60a5fa !important;
}
}


#user-tools .body {
a:visited {
     background-color: #2d3142 !important;
     color: #a78bfa !important;
}
}


/* ==================== REMOVE ANY WHITE BORDERS ==================== */
a:hover {
* {
     color: #93c5fd !important;
     scrollbar-color: #3a3f51 #1a1d29;
    text-decoration: underline !important;
}
}


::-webkit-scrollbar {
a.new {
     background-color: #1a1d29;
     color: #f87171 !important;
}
}


::-webkit-scrollbar-thumb {
.mw-editsection,
     background-color: #3a3f51;
.mw-editsection a {
     color: #60a5fa !important;
}
}


::-webkit-scrollbar-thumb:hover {
/* ==================== HEADINGS ==================== */
    background-color: #4a5568;
h1, h2, h3, h4, h5, h6 {
}
     color: #ffffff !important;
/* ==================== FIX REMAINING WHITE SIDEBAR BOXES ==================== */
     border-bottom: 1px solid #3a3f51 !important;
/* Target the specific portlet containers */
.mw-portlet {
     background-color: #1a1d29 !important;
     border: none !important;
}
}


/* Navigation and Wiki tools headers */
.mw-body h1.firstHeading {
.mw-portlet h3 {
     color: #ffffff !important;
     background-color: #1a1d29 !important;
     border-bottom: 2px solid #3a3f51 !important;
     color: #fbbf24 !important;
     margin-bottom: 1em !important;
     border: none !important;
    padding: 8px 12px !important;
}
}


/* The body/content of each portlet */
/* ==================== BUTTONS ==================== */
.mw-portlet .body,
.mw-ui-button,
.mw-portlet .mw-portlet-body {
button,
     background-color: #1a1d29 !important;
input[type="submit"],
     border: none !important;
.oo-ui-buttonElement-button {
     background-color: #3b82f6 !important;
    color: #ffffff !important;
     border: 1px solid #2563eb !important;
}
}


/* Specific fix for Navigation box */
.mw-ui-button:hover,
#p-navigation {
button:hover,
     background-color: #1a1d29 !important;
input[type="submit"]:hover {
     background-color: #2563eb !important;
}
}


#p-navigation .body {
/* ==================== FORMS & INPUTS ==================== */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
}
}


/* Specific fix for Wiki tools box */
input[type="text"]:focus,
#p-Wiki.tools,
textarea:focus,
#p-tb {
select:focus {
     background-color: #1a1d29 !important;
     border-color: #60a5fa !important;
    outline: none !important;
}
}


/* Fix any lingering white backgrounds in sidebar */
/* ==================== TABLES ==================== */
#mw-site-navigation > *,
table {
#mw-related-navigation > * {
     background-color: #2d3142 !important;
     background-color: #1a1d29 !important;
    color: #e5e7eb !important;
    border-collapse: collapse !important;
}
}


/* Navigation links styling */
table th {
.mw-portlet .body ul {
     background-color: #3a3f51 !important;
     background-color: transparent !important;
    color: #ffffff !important;
     margin: 0 !important;
    padding: 8px !important;
     border: 1px solid #4a5568 !important;
}
}


.mw-portlet .body ul li {
table td {
     background-color: transparent !important;
     padding: 8px !important;
     padding: 4px 12px !important;
     border: 1px solid #3a3f51 !important;
}
}


.mw-portlet .body ul li a {
table tr:hover {
     color: #93c5fd !important;
     background-color: #353847 !important;
}
}


.mw-portlet .body ul li a:hover {
/* ==================== CODE BLOCKS ==================== */
     color: #ffffff !important;
code,
     background-color: #2d3142 !important;
pre,
     text-decoration: none !important;
.mw-code {
     background-color: #1a1d29 !important;
    border: 1px solid #3a3f51 !important;
     color: #f3f4f6 !important;
     padding: 2px 6px !important;
}
}


/* ==================== FIX CONTENTS BOX COLOR ==================== */
pre {
.toc {
     padding: 12px !important;
     background-color: #2d3447 !important;
    border: 1px solid #4a5568 !important;
}
}


.toc h2,
/* ==================== WARNING/INFO BOXES ==================== */
.toc .toctitle h2 {
.mw-warning,
     color: #fbbf24 !important;
.mw-message-box,
     background-color: transparent !important;
.warningbox,
     border: none !important;
.errorbox {
     background-color: #2d3142 !important;
    border: 1px solid #f59e0b !important;
     color: #e5e7eb !important;
     padding: 12px !important;
}
}


/* ==================== IMPROVE OVERALL SIDEBAR CONTRAST ==================== */
/* ==================== FOOTER ==================== */
/* Make sure the entire left column is dark */
#footer {
#mw-navigation,
#mw-panel {
     background-color: #1a1d29 !important;
     background-color: #1a1d29 !important;
    border-top: 2px solid #3a3f51 !important;
    color: #9ca3af !important;
    padding: 20px !important;
}
}


/* Remove any default MediaWiki backgrounds */
#footer a {
.mw-portlet,
     color: #60a5fa !important;
.portal {
     background: #1a1d29 !important;
    background-color: #1a1d29 !important;
    background-image: none !important;
}
}
/* ==================== REMOVE SIDEBAR BOX BORDERS ==================== */
 
.mw-portlet {
#footer ul li {
     border: none !important;
     color: #9ca3af !important;
    box-shadow: none !important;
}
}


/* ==================== MATCH CONTENTS HEADER TO SIDEBAR STYLE ==================== */
/* ==================== DROPDOWN MENUS ==================== */
.toc .toctitle h2 {
.dropdown,
     color: #fbbf24 !important;
.dropdown .body {
     background-color: #2d3142 !important;
    border: 1px solid #3a3f51 !important;
}
}


/* ==================== SUBTLE HOVER EFFECT FOR SIDEBAR LINKS ==================== */
.dropdown a {
.mw-portlet .body ul li {
     color: #e5e7eb !important;
     transition: background-color 0.2s ease !important;
}
}


.mw-portlet .body ul li:hover {
.dropdown a:hover {
     background-color: #2d3142 !important;
     background-color: #3a3f51 !important;
}
}


/* ==================== POLISH THE TABS (Main Page, Discussion, etc) ==================== */
/* ==================== SCROLLBARS ==================== */
#p-namespaces ul li {
* {
     border: none !important;
    scrollbar-color: #4a5568 #1a1d29;
     scrollbar-width: thin;
}
}


#p-namespaces ul li.selected {
::-webkit-scrollbar {
     border-bottom: 2px solid #fbbf24 !important;
     width: 12px;
    background-color: #1a1d29;
}
}


/* ==================== MAKE PAGE TOOLS SIDEBAR MATCH LEFT SIDEBAR ==================== */
::-webkit-scrollbar-thumb {
#page-tools {
    background-color: #4a5568;
     border: none !important;
     border-radius: 6px;
}
}


#page-tools .mw-portlet {
::-webkit-scrollbar-thumb:hover {
    border: none !important;
     background-color: #5a6578;
}
/* ==================== FORCE REMOVE ALL SIDEBAR BORDERS ==================== */
#mw-site-navigation .mw-portlet,
#mw-related-navigation .mw-portlet,
.mw-portlet,
.portal {
     border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
}


/* Remove borders from portlet headers */
/* ==================== MISC ELEMENTS ==================== */
.mw-portlet h3,
hr {
.mw-portlet .mw-portlet-heading {
     border-color: #3a3f51 !important;
    border: none !important;
    border-bottom: none !important;
     border-top: none !important;
}
}


/* Remove borders from portlet bodies */
.mw-collapsible-toggle {
.mw-portlet .body,
     color: #60a5fa !important;
.mw-portlet .mw-portlet-body,
.mw-portlet-body {
     border: none !important;
}
}


/* Target specific Navigation and Wiki tools boxes */
/* Diff pages */
#p-navigation,
.diff-addedline {
#p-tb,
     background-color: #1e3a1e !important;
#p-Wiki\.tools {
     border: none !important;
    outline: none !important;
}
}


/* Remove any default Timeless borders */
.diff-deletedline {
.mw-portlet > div {
     background-color: #3a1e1e !important;
     border: none !important;
}
}


/* ==================== ALSO REMOVE CONTENTS BOX BORDER ==================== */
/* Categories */
.toc {
#catlinks {
     border: none !important;
    background-color: #2d3142 !important;
     border: 1px solid #3a3f51 !important;
}
}


/* ==================== REMOVE PAGE TOOLS BORDER ==================== */
/* ==================== FORCE OVERRIDE ANY REMAINING ISSUES ==================== */
#page-tools,
div, span, section, article, aside {
#page-tools .mw-portlet {
     border-color: transparent !important;
     border: none !important;
    outline: none !important;
}
/* ==================== NUCLEAR OPTION - REMOVE ALL BORDERS ==================== */
#mw-navigation * {
    border: none !important;
}
}


#page-tools * {
/* Keep only intentional borders */
     border: none !important;
h1, h2, h3, h4, h5, h6 {
     border-bottom: 1px solid #3a3f51 !important;
}
}


/* But keep the colored top border */
#mw-header-container .color-left,
#mw-header-container .color-left,
#mw-header-container .color-middle,  
#mw-header-container .color-middle,
#mw-header-container .color-right {
#mw-header-container .color-right {
     border-bottom: 2px solid !important;
     border-bottom: 2px solid !important;
}
}

Revision as of 03:18, 19 January 2026

/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
/* Complete custom theme to match omni-verse.us website */

/* ==================== BASE COLORS ==================== */
body {
    background-color: #1a1d29 !important;
    color: #e5e7eb !important;
}

/* ==================== MAIN CONTENT AREA ==================== */
#mw-content-container,
#mw-content-wrapper,
#mw-content,
.mw-body {
    background-color: #2c3142 !important;
    color: #e5e7eb !important;
}

.mw-parser-output {
    color: #e5e7eb !important;
}

/* ==================== HEADER / TOP NAVIGATION ==================== */
#mw-header-container {
    background-color: #2d3142 !important;
    border-bottom: none !important;
}

#mw-header-container .color-left {
    border-bottom: 2px solid #f59e0b !important;
}

#mw-header-container .color-middle {
    border-bottom: 2px solid #3b82f6 !important;
}

#mw-header-container .color-right {
    border-bottom: 2px solid #10b981 !important;
}

#mw-header {
    background-color: #2d3142 !important;
}

/* Site title/logo */
#p-logo a,
.mw-wiki-title {
    color: #ffffff !important;
}

/* ==================== SEARCH BAR ==================== */
#searchInput {
    background-color: #1a1d29 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
}

#searchInput:focus {
    border-color: #60a5fa !important;
    outline: none !important;
}

.search-form {
    background-color: transparent !important;
}

#searchButton {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

/* ==================== USER MENU ==================== */
#personal,
#user-tools {
    background-color: #2d3142 !important;
}

#personal ul li a,
#user-tools a {
    color: #e5e7eb !important;
}

/* ==================== LEFT SIDEBAR - COMPLETE RESET ==================== */
#mw-site-navigation,
#mw-related-navigation,
#mw-navigation,
#mw-panel {
    background-color: #1a1d29 !important;
}

/* Remove ALL borders from portlets */
.mw-portlet {
    background-color: #1a1d29 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    margin-bottom: 1em !important;
}

/* Portlet headers (Navigation, Wiki tools, etc) */
.mw-portlet h3,
.mw-portlet-heading {
    background-color: #1a1d29 !important;
    color: #fbbf24 !important;
    border: 0 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    font-weight: bold !important;
}

/* Portlet body containers */
.mw-portlet .body,
.mw-portlet .mw-portlet-body,
.mw-portlet-body {
    background-color: #1a1d29 !important;
    border: 0 !important;
    padding: 0 !important;
}

/* Sidebar links */
.mw-portlet .body ul,
.mw-portlet-body ul {
    background-color: transparent !important;
    margin: 0 !important;
    list-style: none !important;
}

.mw-portlet .body ul li,
.mw-portlet-body ul li {
    background-color: transparent !important;
    padding: 6px 12px !important;
    border: 0 !important;
}

.mw-portlet .body ul li a,
.mw-portlet-body ul li a {
    color: #93c5fd !important;
    text-decoration: none !important;
}

.mw-portlet .body ul li a:hover,
.mw-portlet-body ul li a:hover {
    color: #ffffff !important;
}

.mw-portlet .body ul li:hover,
.mw-portlet-body ul li:hover {
    background-color: #2d3142 !important;
}

/* ==================== PAGE TABS (Main Page, Discussion, Edit, etc) ==================== */
#p-namespaces ul,
#p-views ul {
    background-color: transparent !important;
}

#p-namespaces ul li,
#p-views ul li {
    background-color: #2d3142 !important;
    border: 0 !important;
    margin-right: 2px !important;
}

#p-namespaces ul li a,
#p-views ul li a {
    color: #93c5fd !important;
    padding: 8px 16px !important;
}

#p-namespaces ul li.selected,
#p-views ul li.selected {
    background-color: #2c3142 !important;
    border-bottom: 2px solid #fbbf24 !important;
}

#p-namespaces ul li:hover,
#p-views ul li:hover {
    background-color: #3a3f51 !important;
}

/* ==================== TABLE OF CONTENTS ==================== */
.toc {
    background-color: #2d3447 !important;
    border: 0 !important;
    padding: 12px !important;
}

.toc h2,
.toc .toctitle h2 {
    color: #fbbf24 !important;
    background-color: transparent !important;
    border: 0 !important;
    margin: 0 0 8px 0 !important;
}

.toc ul {
    background-color: transparent !important;
    margin: 0 !important;
}

.tocnumber {
    color: #9ca3af !important;
}

.toctext {
    color: #60a5fa !important;
}

.toc a {
    color: #60a5fa !important;
}

/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */
#page-tools {
    background-color: #1a1d29 !important;
    border: 0 !important;
}

#page-tools .mw-portlet {
    border: 0 !important;
}

#page-tools h3 {
    background-color: #1a1d29 !important;
    color: #fbbf24 !important;
    border: 0 !important;
}

#page-tools .mw-portlet-body {
    background-color: #1a1d29 !important;
}

#page-tools .body li a {
    color: #93c5fd !important;
}

#page-tools .body li a:hover {
    color: #ffffff !important;
    background-color: #2d3142 !important;
}

/* ==================== LINKS ==================== */
a {
    color: #60a5fa !important;
}

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

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

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

.mw-editsection,
.mw-editsection a {
    color: #60a5fa !important;
}

/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    border-bottom: 1px solid #3a3f51 !important;
}

.mw-body h1.firstHeading {
    color: #ffffff !important;
    border-bottom: 2px solid #3a3f51 !important;
    margin-bottom: 1em !important;
}

/* ==================== BUTTONS ==================== */
.mw-ui-button,
button,
input[type="submit"],
.oo-ui-buttonElement-button {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border: 1px solid #2563eb !important;
}

.mw-ui-button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #2563eb !important;
}

/* ==================== FORMS & INPUTS ==================== */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    background-color: #1a1d29 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    border-color: #60a5fa !important;
    outline: none !important;
}

/* ==================== TABLES ==================== */
table {
    background-color: #2d3142 !important;
    color: #e5e7eb !important;
    border-collapse: collapse !important;
}

table th {
    background-color: #3a3f51 !important;
    color: #ffffff !important;
    padding: 8px !important;
    border: 1px solid #4a5568 !important;
}

table td {
    padding: 8px !important;
    border: 1px solid #3a3f51 !important;
}

table tr:hover {
    background-color: #353847 !important;
}

/* ==================== CODE BLOCKS ==================== */
code,
pre,
.mw-code {
    background-color: #1a1d29 !important;
    border: 1px solid #3a3f51 !important;
    color: #f3f4f6 !important;
    padding: 2px 6px !important;
}

pre {
    padding: 12px !important;
}

/* ==================== WARNING/INFO BOXES ==================== */
.mw-warning,
.mw-message-box,
.warningbox,
.errorbox {
    background-color: #2d3142 !important;
    border: 1px solid #f59e0b !important;
    color: #e5e7eb !important;
    padding: 12px !important;
}

/* ==================== FOOTER ==================== */
#footer {
    background-color: #1a1d29 !important;
    border-top: 2px solid #3a3f51 !important;
    color: #9ca3af !important;
    padding: 20px !important;
}

#footer a {
    color: #60a5fa !important;
}

#footer ul li {
    color: #9ca3af !important;
}

/* ==================== DROPDOWN MENUS ==================== */
.dropdown,
.dropdown .body {
    background-color: #2d3142 !important;
    border: 1px solid #3a3f51 !important;
}

.dropdown a {
    color: #e5e7eb !important;
}

.dropdown a:hover {
    background-color: #3a3f51 !important;
}

/* ==================== SCROLLBARS ==================== */
* {
    scrollbar-color: #4a5568 #1a1d29;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #1a1d29;
}

::-webkit-scrollbar-thumb {
    background-color: #4a5568;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5a6578;
}

/* ==================== MISC ELEMENTS ==================== */
hr {
    border-color: #3a3f51 !important;
}

.mw-collapsible-toggle {
    color: #60a5fa !important;
}

/* Diff pages */
.diff-addedline {
    background-color: #1e3a1e !important;
}

.diff-deletedline {
    background-color: #3a1e1e !important;
}

/* Categories */
#catlinks {
    background-color: #2d3142 !important;
    border: 1px solid #3a3f51 !important;
}

/* ==================== FORCE OVERRIDE ANY REMAINING ISSUES ==================== */
div, span, section, article, aside {
    border-color: transparent !important;
}

/* Keep only intentional borders */
h1, h2, h3, h4, h5, h6 {
    border-bottom: 1px solid #3a3f51 !important;
}

#mw-header-container .color-left,
#mw-header-container .color-middle,
#mw-header-container .color-right {
    border-bottom: 2px solid !important;
}