MediaWiki:Timeless.css: Difference between revisions

OMNIVERSE
No edit summary
No edit summary
 
(107 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ==================== BACKGROUND COLORS ==================== */
/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');
/* ==================== CHANGE ALL FONTS TO KARLA ==================== */
* {
    font-family: 'Karla', sans-serif !important;
}
 
body,
html {
    font-family: 'Karla', sans-serif !important;
}
/* ==================== BASE COLORS ==================== */
body {
body {
     background-color: #1a1d29 !important;
     background-color: #1a1e29 !important;
     color: #e5e7eb !important;
     color: #e5e7eb !important;
}
}


#mw-content-container {
/* ==================== MAIN CONTENT AREA ==================== */
     background-color: #252936 !important;
#mw-content-container,
#mw-content-wrapper,
#mw-content,
.mw-body {
     background-color: #1f2637 !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;
}
}


#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;
}
 
#mw-header {
    background-color: #2d3142 !important;
}
 
/* ==================== SEARCH BAR ==================== */
#searchInput {
    background-color: #1a1e29 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
}
 
#searchInput:focus {
    border-color: #60a5fa !important;
    outline: none !important;
}
}


/* Site logo and title */
#searchButton {
#p-logo a {
    background-color: #3b82f6 !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* ==================== NAVIGATION SIDEBARS ==================== */
/* ==================== USER MENU ==================== */
#personal,
#user-tools {
    background-color: #2d3142 !important;
}
 
#personal ul li a,
#user-tools a {
    color: #e5e7eb !important;
}
 
/* ==================== LEFT SIDEBAR ==================== */
#mw-site-navigation,
#mw-site-navigation,
#mw-related-navigation {
#mw-related-navigation {
     background-color: #1a1d29 !important;
     background-color: #1a1e29 !important;
}
}


.mw-portal {
.mw-portlet {
     background-color: #1a1d29 !important;
     background-color: #1a1e29 !important;
    border: none !important;
    margin-bottom: 1em !important;
}
}


.mw-portal h3 {
.mw-portlet h3 {
     color: #fbbf24 !important; /* Golden/orange color */
     background-color: #1a1e29 !important;
     background-color: transparent !important;
     color: #ffb92a !important;
     border: none !important;
     border: none !important;
    padding: 8px 12px !important;
}
}


.mw-portal .body li a {
.mw-portlet .body,
     color: #e5e7eb !important;
.mw-portlet .mw-portlet-body {
     background-color: #1a1e29 !important;
    border: none !important;
}
}


.mw-portal .body li a:hover {
.mw-portlet .body ul li {
     color: #60a5fa !important;
     padding: 6px 12px !important;
    background-color: #2d3142 !important;
}
}


/* ==================== LINKS ==================== */
.mw-portlet .body ul li a {
a {
     color: #93c5fd !important;
     color: #60a5fa !important; /* Light blue */
}
}


a:visited {
.mw-portlet .body ul li a:hover {
     color: #a78bfa !important; /* Purple */
     color: #ffffff !important;
}
}


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


a.new {
/* ==================== PAGE TABS ==================== */
     color: #f87171 !important; /* Red for non-existent pages */
#p-namespaces ul li,
#p-views ul li {
     background-color: #2d3142 !important;
}
}


/* ==================== HEADINGS ==================== */
#p-namespaces ul li a,
h1, h2, h3, h4, h5, h6 {
#p-views ul li a {
    color: #ffffff !important;
     color: #93c5fd !important;
     border-bottom-color: #3a3f51 !important;
}
}


.mw-body h1.firstHeading {
#p-namespaces ul li.selected,
     color: #ffffff !important;
#p-views ul li.selected {
     border-bottom: 2px solid #3a3f51 !important;
     background-color: #1f2637 !important;
     border-bottom: 2px solid #ffb92a !important;
}
}


/* ==================== CONTENT BOXES ==================== */
/* ==================== TABLE OF CONTENTS ==================== */
.toc {
.toc {
     background-color: #2d3142 !important;
     background-color: #2E3548 !important;
     border: 1px solid #3a3f51 !important;
     border: 1px solid #3a3f51 !important;
    padding: 12px !important;
}
}


.toc h2 {
.toc h2 {
     color: #ffffff !important;
     color: #ffb92a !important;
     background-color: transparent !important;
     background-color: transparent !important;
}
}


.toc ul a {
.toc a {
    color: #60a5fa !important;
}
 
/* Style the "hide" button */
.toctogglelabel,
.toctogglespan,
.toc .toctogglelabel {
     color: #60a5fa !important;
     color: #60a5fa !important;
}
}


/* ==================== SEARCH BAR ==================== */
.toctogglelabel:hover {
#searchInput {
    color: #93c5fd !important;
     background-color: #1a1d29 !important;
}
     color: #ffffff !important;
 
     border: 1px solid #3a3f51 !important;
/* Balance the left and right spacing */
.toc ul {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important; /* Increase left padding */
    padding-right: 20px !important; /* Add right padding to balance */
}
 
.toc .toctitle {
    text-align: left !important;
    padding-left: 20px !important; /* Match the list padding */
}
/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */
#page-tools {
     background-color: #1a1e29 !important;
     border: none !important;
}
 
#page-tools h3 {
     color: #ffb92a !important;
}
}


#searchInput:focus {
#page-tools .body li a {
     border-color: #60a5fa !important;
     color: #93c5fd !important;
    outline: none !important;
}
}


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


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


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


/* ==================== TABS (Edit, History, etc.) ==================== */
a:hover {
#p-namespaces ul li {
     color: #93c5fd !important;
     background-color: #2d3142 !important;
}
}


#p-namespaces ul li a {
a.new {
     color: #e5e7eb !important;
    color: #F54927 !important;
}
/* ==================== MAKE LOGO TEXT GOLD ==================== */
.mw-wiki-title,
#p-banner a,
a.mw-wiki-title {
    color: #ffb92a !important;
    font-family: 'Karla', sans-serif !important;
    font-size: 24px !important; /* Adjust size if needed */
}
/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    border-bottom: 1px solid #3a3f51 !important;
}
/* ==================== MAKE ALL HEADERS GOLD ==================== */
h1, h2, h3, h4, h5, h6,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
     color: #fbbf24 !important;
}
}


#p-namespaces ul li.selected {
/* ==================== ADD GOLD UNDERLINES TO PAGE TITLE ==================== */
     background-color: #252936 !important;
.mw-first-heading,
#firstHeading {
    position: relative !important;
    padding-bottom: 4px !important;
     border-bottom: 1px solid #3a3f51 !important;
    margin-bottom: 12px !important; /* Add this */
}
}


#p-namespaces ul li:hover {
.mw-first-heading::after,
     background-color: #3a3f51 !important;
#firstHeading::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 30px !important;
    height: 3px !important;
     background-color: #fbbf24 !important;
}
}


/* ==================== PAGE TOOLS MENU ==================== */
/* ==================== ADD GOLD UNDERLINES TO PAGE HEADINGS ==================== */
#page-tools {
.mw-parser-output h1,
     background-color: #1a1d29 !important;
.mw-parser-output h2 {
     position: relative !important;
    padding-bottom: 2px !important;
    border-bottom: 1px solid #3a3f51 !important;
    margin-bottom: 0.2em !important; /* Add this to control space below */
}
}


#page-tools h3 {
.mw-parser-output h1::after,
     color: #fbbf24 !important;
.mw-parser-output h2::after {
     content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #fbbf24 !important;
}
}


#page-tools .body li a {
/* Remove underlines from h3 and below */
     color: #e5e7eb !important;
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
/* ==================== REMOVE UNDERLINE FROM CONTENTS ==================== */
.toc h2::after,
#toc h2::after {
    display: none !important;
}
/* ==================== BUTTONS ==================== */
.mw-ui-button,
button,
input[type="submit"] {
    background-color: #3b82f6 !important;
     color: #ffffff !important;
    border: 1px solid #2563eb !important;
}
}


#page-tools .body li a:hover {
.mw-ui-button:hover,
    color: #60a5fa !important;
button:hover,
     background-color: #2d3142 !important;
input[type="submit"]:hover {
     background-color: #2563eb !important;
}
}


/* ==================== FOOTER ==================== */
/* ==================== FORMS & INPUTS ==================== */
#footer {
input[type="text"],
     background-color: #1a1d29 !important;
textarea {
     border-top: 2px solid #3a3f51 !important;
     background-color: #1a1e29 !important;
     color: #9ca3af !important;
     color: #ffffff !important;
     border: 1px solid #4a5568 !important;
}
}


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


Line 194: Line 324:


table td {
table td {
     border-color: #3a3f51 !important;
     border: 1px solid #3a3f51 !important;
}
}


Line 200: Line 330:
code,
code,
pre {
pre {
     background-color: #1a1d29 !important;
     background-color: #1a1e29 !important;
     border: 1px solid #3a3f51 !important;
     border: 1px solid #3a3f51 !important;
     color: #f3f4f6 !important;
     color: #f3f4f6 !important;
}
}


/* ==================== WARNING/INFO BOXES ==================== */
/* ==================== FOOTER ==================== */
.mw-warning,
#footer {
.mw-message-box {
    background-color: #1a1e29 !important;
     background-color: #2d3142 !important;
    border-top: 2px solid #3a3f51 !important;
     border-color: #3a3f51 !important;
    color: #9ca3af !important;
     color: #e5e7eb !important;
}
 
#footer a {
    color: #60a5fa !important;
}
 
/* ==================== SCROLLBARS ==================== */
::-webkit-scrollbar {
    background-color: #1a1e29;
}
 
::-webkit-scrollbar-thumb {
    background-color: #4a5568;
}
/* ==================== NUCLEAR OPTION FOR SIDEBAR BOXES ==================== */
/* Force everything in the sidebar to be dark */
#mw-site-navigation *,
#mw-related-navigation * {
     background-color: #1a1e29 !important;
}
 
/* But keep the header gold */
.mw-portlet h3,
.mw-portlet h3 * {
     background-color: #1a1e29 !important;
     color: #ffb92a !important;
}
}


/* ==================== INPUT FIELDS ==================== */
/* Specifically target these IDs */
input[type="text"],
div#p-navigation,
textarea {
div#p-tb,
     background-color: #1a1d29 !important;
#navigation,
    color: #ffffff !important;
#Wiki\.tools {
    border: 1px solid #3a3f51 !important;
     background-color: #1a1e29 !important;
}
}


input[type="text"]:focus,
/* Try targeting by class patterns */
textarea:focus {
[class*="portlet"],
     border-color: #60a5fa !important;
[class*="portal"],
[id*="portlet"],
[id*="portal"] {
     background-color: #1a1e29 !important;
}
}
/* ==================== FIX SIDEBAR BACKGROUNDS ==================== */
/* ==================== REMOVE SIDEBAR BOX BORDERS & BACKGROUNDS ==================== */
#mw-site-navigation .mw-portlet,
/* The boxes have a border that creates the "frame" effect */
#mw-related-navigation .mw-portlet,
.mw-portlet {
.mw-portlet {
    background-color: #1a1d29 !important;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
}


#mw-navigation {
/* Remove the border from the outer container */
     background-color: #1a1d29 !important;
#mw-site-navigation .mw-portlet,
#mw-related-navigation .mw-portlet {
     border: 0 !important;
}
}


/* Fix white box around navigation */
/* Target the specific border style Timeless uses */
#mw-site-navigation,
.mw-portlet.emptyPortlet {
#mw-related-navigation {
    background-color: #1a1d29 !important;
     border: none !important;
     border: none !important;
}
}


/* ==================== FIX CONTENT WRAPPER ==================== */
/* If there's a wrapper div creating the border */
#mw-content-wrapper {
#mw-panel > .mw-portlet,
     background-color: #252936 !important;
#mw-site-navigation > .mw-portlet,
#mw-related-navigation > .mw-portlet {
     border: 0 !important;
    outline: 0 !important;
}
}


#mw-content {
/* Remove any box-shadow effects */
     background-color: #252936 !important;
.mw-portlet,
.mw-portlet * {
     box-shadow: none !important;
}
}


/* ==================== FIX TABLE OF CONTENTS ==================== */
/* Timeless might use these classes for the box styling */
.toc {
.mw-portlet.persistent,
    background-color: #2d3447 !important;
.mw-portlet-persistent {
     border: 1px solid #3a3f51 !important;
    border: none !important;
}
/* ==================== REMOVE BORDERS FROM PARENT CONTAINERS ==================== */
#mw-navigation,
#mw-site-navigation,
#mw-related-navigation {
     border: none !important;
}
}


.toc .toctitle h2 {
#mw-navigation > *,
    background-color: transparent !important;
#mw-site-navigation > *,
     color: #fbbf24 !important;
#mw-related-navigation > * {
     border: none !important;
}
}


.toc ul {
/* Style the headers with a slightly different shade */
     background-color: transparent !important;
.mw-portlet h3 {
     background-color: #2d3142 !important;
    color: #ffb92a !important;
    border: none !important;
    border-bottom: 1px solid #3a3f51 !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    border-radius: 4px 4px 0 0 !important;
}
}


.tocnumber {
/* Keep the body dark but distinct */
     color: #9ca3af !important;
.mw-portlet .body,
.mw-portlet .mw-portlet-body {
     background-color: #1a1e29 !important;
    border: none !important;
    padding: 8px 0 !important;
}
}


.toctext {
/* Add some padding to the links */
     color: #60a5fa !important;
.mw-portlet .body ul li {
     padding: 6px 12px !important;
    margin: 0 !important;
}
}


/* ==================== FIX PAGE CONTENT AREA ==================== */
/* Hover effect */
.mw-parser-output {
.mw-portlet .body ul li:hover {
     color: #e5e7eb !important;
    background-color: #252936 !important;
}
/* ==================== NUCLEAR OPTION FOR VERTICAL LINES ==================== */
/* Remove all vertical borders globally */
* {
    border-left: none !important;
     border-right: none !important;
}
}


/* ==================== FIX HEADER AREA ==================== */
/* But keep the horizontal ones we want */
#mw-header {
.mw-portlet {
     background-color: #2d3142 !important;
     border: 1px solid #2d3142 !important;
}
}


#personal {
.mw-portlet h3 {
     background-color: #2d3142 !important;
     border-bottom: 1px solid #3a3f51 !important;
}
}


#personal ul li a {
h1, h2, h3, h4, h5, h6 {
     color: #e5e7eb !important;
     border-bottom: 1px solid #3a3f51 !important;
    border-left: none !important;
    border-right: none !important;
}
}


/* ==================== FIX EDIT LINKS ==================== */
#footer {
.mw-editsection,
    border-top: 2px solid #3a3f51 !important;
.mw-editsection a {
    border-left: none !important;
     color: #60a5fa !important;
     border-right: none !important;
}
}


/* ==================== FIX PAGE TOOLS SIDEBAR ==================== */
/* Keep table borders */
#page-tools {
table td,
    background-color: #1a1d29 !important;
table th {
     border: 1px solid #3a3f51 !important;
     border: 1px solid #3a3f51 !important;
}
}


#page-tools h3 {
/* Restore the top colored lines */
#mw-header-container .color-left,
#mw-header-container .color-middle,
#mw-header-container .color-right {
    border-bottom: 2px solid !important;
}
/* ==================== REMOVE ALL BACKGROUNDS FROM TAB AREAS ==================== */
/* Target every possible container */
#p-namespaces,
#p-namespaces *,
#p-views,
#p-views * {
    background: transparent !important;
     background-color: transparent !important;
     background-color: transparent !important;
    border-bottom: 1px solid #3a3f51 !important;
}
}


#page-tools .mw-portlet-body {
/* Except the actual tab buttons themselves */
     background-color: #1a1d29 !important;
#p-namespaces ul li,
#p-views ul li {
     background-color: #2d3142 !important;
}
}


/* ==================== FIX ANY REMAINING WHITE BOXES ==================== */
#p-namespaces ul li.selected,
.mw-portlet .body {
#p-views ul li.selected {
     background-color: transparent !important;
    background-color: #1f2637 !important;
    border-bottom: 2px solid #ffb92a !important;
}
/* ==================== FIX TAB SPACING ==================== */
#p-namespaces ul li,
#p-views ul li {
     padding: 8px 16px !important; /* Adjust these values to make it tighter */
    margin: 0 !important;
}
}


div#mw-panel {
/* Make the box fit tighter to the text */
     background-color: #1a1d29 !important;
#p-namespaces ul li a,
#p-views ul li a {
     padding: 0 !important;
}
}
 
/* ==================== TARGET THE WRAPPER DIVS ==================== */
/* ==================== FIX DROPDOWN MENUS ==================== */
div#p-namespaces,
.dropdown {
div#p-views {
     background-color: #2d3142 !important;
     background: none !important;
}
}


.dropdown .body {
/* Target by class if it exists */
     background-color: #2d3142 !important;
.mw-portlet.emptyPortlet {
    border: 1px solid #3a3f51 !important;
     background: transparent !important;
}
}


/* ==================== FIX USER MENU ==================== */
/* ==================== REMOVE PAGE TOOLS OUTLINES ==================== */
#user-tools {
#page-tools,
     background-color: #2d3142 !important;
#page-tools * {
     outline: none !important;
}
}


#user-tools .body {
#page-tools .mw-portlet {
     background-color: #2d3142 !important;
     background-color: #1a1e29 !important;
    border: 1px solid #2d3142 !important;
}
}
 
/* ==================== REMOVE BORDERS FROM PAGE TOOLS SIDEBAR ==================== */
/* ==================== REMOVE ANY WHITE BORDERS ==================== */
#page-tools .mw-portlet {
* {
     border: none !important;
     scrollbar-color: #3a3f51 #1a1d29;
}
}


::-webkit-scrollbar {
#page-tools h3 {
     background-color: #1a1d29;
     border: none !important;
    border-bottom: none !important;
}
}


::-webkit-scrollbar-thumb {
/* Remove rounded corners too */
     background-color: #3a3f51;
#page-tools .mw-portlet {
     border-radius: 0 !important;
}
}


::-webkit-scrollbar-thumb:hover {
#page-tools h3 {
     background-color: #4a5568;
     border-radius: 0 !important;
}
}
/* ==================== FIX REMAINING WHITE SIDEBAR BOXES ==================== */
/* ==================== RESTORE HEADER UNDERLINES ==================== */
/* Target the specific portlet containers */
#page-tools h3 {
.mw-portlet {
    background-color: #1a1d29 !important;
     border: none !important;
     border: none !important;
    border-bottom: 1px solid #3a3f51 !important;
    border-radius: 0 !important;
    padding-bottom: 8px !important;
}
}


/* Navigation and Wiki tools headers */
/* Also restore them for left sidebar headers if needed */
.mw-portlet h3 {
.mw-portlet h3 {
     background-color: #1a1d29 !important;
     border-bottom: 1px solid #3a3f51 !important;
     color: #fbbf24 !important;
}
     border: none !important;
/* ==================== INCREASE HEADER FONT SIZE ==================== */
     padding: 8px 12px !important;
.mw-portlet h3,
#page-tools h3 {
    font-size: 16px !important;
     font-weight: bold !important;
}
/* ==================== STYLED HEADER UNDERLINES ==================== */
/* For left sidebar headers (Navigation, Wiki tools) */
#mw-site-navigation .mw-portlet h3::after,
#mw-related-navigation .mw-portlet h3::after {
    content: '' !important;
    position: absolute !important;
     bottom: 0 !important;
     left: 12px !important;
    width: 40px !important;
    height: 2px !important;
    background-color: #ffb92a !important;
}
}


/* The body/content of each portlet */
#mw-site-navigation .mw-portlet h3,
.mw-portlet .body,
#mw-related-navigation .mw-portlet h3 {
.mw-portlet .mw-portlet-body {
     position: relative !important;
     background-color: #1a1d29 !important;
    border: none !important;
}
}


/* Specific fix for Navigation box */
/* For right sidebar headers (Page tools, More) */
#p-navigation {
#page-tools h3::after {
     background-color: #1a1d29 !important;
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 2px !important;
     background-color: #ffb92a !important;
}
}


#p-navigation .body {
#page-tools h3 {
     background-color: #1a1d29 !important;
    position: relative !important;
}
/* ==================== REMOVE OLD FULL-WIDTH UNDERLINES ==================== */
#mw-site-navigation .mw-portlet h3,
#mw-related-navigation .mw-portlet h3,
#page-tools h3 {
     border-bottom: none !important;
}
}
/* ==================== UNIFY HEADER LINES WITH DARK HEADER ==================== */


/* Specific fix for Wiki tools box */
/* Header background (authoritative) */
#p-Wiki.tools,
#mw-header-container,
#p-tb {
#mw-header,
     background-color: #1a1d29 !important;
#mw-header-hack {
     background-color: #1a1e29 !important;
}
}


/* Fix any lingering white backgrounds in sidebar */
/* Top segmented color bars */
#mw-site-navigation > *,
#mw-header-hack .color-left,
#mw-related-navigation > * {
#mw-header-hack .color-middle,
     background-color: #1a1d29 !important;
#mw-header-hack .color-right,
.color-bar {
     background-color: #1a1e29 !important;
}
}


/* Navigation links styling */
/* Any borders used as accent lines */
.mw-portlet .body ul {
#mw-header-container,
     background-color: transparent !important;
#mw-header-hack {
     margin: 0 !important;
    border-top-color: #1a1e29 !important;
    border-bottom-color: #1a1e29 !important;
}
/* ==================== REMOVE BOXES FROM LIST ITEMS ==================== */
.mw-list-item {
    border: none !important;
    border-radius: 0 !important;
     background: transparent !important;
     box-shadow: none !important;
}
}


.mw-portlet .body ul li {
li.mw-list-item,
#p-namespaces .mw-list-item,
#p-views .mw-list-item {
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
}
/* ==================== REMOVE USER MENU BOX ==================== */
#user-tools,
#personal,
.user-links {
     background-color: transparent !important;
     background-color: transparent !important;
     padding: 4px 12px !important;
    border: none !important;
    box-shadow: none !important;
}
/* ==================== REMOVE SIDEBAR INDENTATION ==================== */
.mw-portlet,
#p-navigation,
div[role="navigation"] {
     padding-left: 0 !important;
    margin-left: 0 !important;
}
}


.mw-portlet .body ul li a {
.mw-portlet-body {
     color: #93c5fd !important;
     padding-left: 0 !important;
    margin-left: 0 !important;
}
}


.mw-portlet .body ul li a:hover {
/* Target the ul and li elements */
     color: #ffffff !important;
.mw-portlet-body ul {
     background-color: #2d3142 !important;
     padding-left: 0 !important;
     text-decoration: none !important;
     margin-left: 0 !important;
     list-style-position: inside !important;
}
}


/* ==================== FIX CONTENTS BOX COLOR ==================== */
.mw-portlet-body ul li {
.toc {
    padding-left: 10px !important;
     background-color: #2d3447 !important;
    margin-left: 0 !important;
     border: 1px solid #4a5568 !important;
}
/* ==================== SEARCH BAR CONTAINER ==================== */
#p-search,
#simpleSearch,
.search-container,
#searchform {
     background-color: #1a1e29 !important;
     border: none !important;
    position: relative !important;
    display: block !important;
}
}


.toc h2,
/* Remove blue background from search button wrapper */
.toc .toctitle h2 {
#p-search .mw-searchButton,
    color: #fbbf24 !important;
#p-search form,
.search-wrapper {
     background-color: transparent !important;
     background-color: transparent !important;
    border: none !important;
}
}


/* ==================== IMPROVE OVERALL SIDEBAR CONTRAST ==================== */
#searchInput {
/* Make sure the entire left column is dark */
    background-color: #2d3142 !important;
#mw-navigation,
    color: #ffffff !important;
#mw-panel {
    border: 2px solid transparent !important;
     background-color: #1a1d29 !important;
    border-radius: 8px !important;
    padding: 10px 50px 10px 16px !important; /* Extra padding on right for button */
    outline: none !important;
     width: 100% !important;
}
}


/* Remove any default MediaWiki backgrounds */
#searchInput:focus {
.mw-portlet,
     border-color: #fbbf24 !important;
.portal {
     outline: none !important;
     background: #1a1d29 !important;
     box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
     background-color: #1a1d29 !important;
     background-image: none !important;
}
}
/* ==================== REMOVE SIDEBAR BOX BORDERS ==================== */
 
.mw-portlet {
#searchButton,
     border: none !important;
.searchButton,
     box-shadow: none !important;
button[type="submit"] {
    background-color: #fbbf24 !important;
    color: #1a1e29 !important;
     border: none !important;  
     border-radius: 6px !important;
    padding: 6px 10px !important;
    font-weight: bold !important;
    height: auto !important;
    min-height: 0 !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
}


/* ==================== MATCH CONTENTS HEADER TO SIDEBAR STYLE ==================== */
#searchButton:hover {
.toc .toctitle h2 {
    background-color: #fcd34d !important;
}
/* ==================== USER MENU - Keep text gold ==================== */
#user-tools a,
#personal a {
     color: #fbbf24 !important;
     color: #fbbf24 !important;
}
/* ==================== REDUCE HEADER SPACING ==================== */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    margin-top: 0.5em !important;
    margin-bottom: 0em !important;
    padding-bottom: 0px !important;
}
}


/* ==================== SUBTLE HOVER EFFECT FOR SIDEBAR LINKS ==================== */
/* Keep padding for h1 and h2 with gold underlines */
.mw-portlet .body ul li {
.mw-parser-output h1,
     transition: background-color 0.2s ease !important;
.mw-parser-output h2,
.mw-body h1,
.mw-body h2 {
     padding-bottom: 2px !important;
    margin-bottom: 0.3em !important; /* Add space below h1 and h2 */
}
}


.mw-portlet .body ul li:hover {
/* Small spacing after all headers */
     background-color: #2d3142 !important;
.mw-parser-output h2 + *,
.mw-parser-output h3 + *,
.mw-parser-output h4 + *,
.mw-parser-output h5 + *,
.mw-parser-output h6 + * {
    margin-top: 0.2em !important; /* Small but visible gap */
     padding-top: 0em !important;
}
}


/* ==================== POLISH THE TABS (Main Page, Discussion, etc) ==================== */
/* Control paragraph spacing */
#p-namespaces ul li {
.mw-parser-output p,
     border: none !important;
.mw-body p {
     margin-top: 0.2em !important; /* Small gap */
    padding-top: 0em !important;
}
}
 
/* ==================== REDUCE TABLE CELL SPACING ==================== */
#p-namespaces ul li.selected {
table {
     border-bottom: 2px solid #fbbf24 !important;
    border-spacing: 0 !important;
     border-collapse: collapse !important;
    margin: 0 !important;
}
}


/* ==================== MAKE PAGE TOOLS SIDEBAR MATCH LEFT SIDEBAR ==================== */
table tr {
#page-tools {
    line-height: 1 !important;
     border: none !important;
     margin: 0 !important;
}
}


#page-tools .mw-portlet {
table td,
     border: none !important;
table th {
}
     padding: 2px 8px !important;
/* ==================== FORCE REMOVE ALL SIDEBAR BORDERS ==================== */
    line-height: 1.2 !important;
#mw-site-navigation .mw-portlet,
    text-align: left !important;
#mw-related-navigation .mw-portlet,
    vertical-align: middle !important;
.mw-portlet,
     text-indent: 0 !important;
.portal {
     margin: 0 !important;
    border: none !important;
     outline: none !important;
     box-shadow: none !important;
}
}


/* Remove borders from portlet headers */
/* Remove spacing between table rows - target the first cell in each row */
.mw-portlet h3,
table tr:not(:first-child) td:first-child {
.mw-portlet .mw-portlet-heading {
     padding-top: 2px !important;
     border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}
}


/* Remove borders from portlet bodies */
/* Specifically for drop lists or similar content */
.mw-portlet .body,
table td p {
.mw-portlet .mw-portlet-body,
    margin: 0 !important;
.mw-portlet-body {
     padding: 0 !important;
     border: none !important;
}
}


/* Target specific Navigation and Wiki tools boxes */
table td br {
#p-navigation,
     line-height: 0.8 !important;
#p-tb,
#p-Wiki\.tools {
     border: none !important;
    outline: none !important;
}
}


/* Remove any default Timeless borders */
/* Remove any default indentation from table cell content */
.mw-portlet > div {
table td > *:not(ul):not(ol),
     border: none !important;
table th > *:not(ul):not(ol) {
     margin: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
}


/* ==================== ALSO REMOVE CONTENTS BOX BORDER ==================== */
/* ==================== IMAGE COLUMN SPECIFIC STYLING ==================== */
.toc {
table td:first-child,
     border: none !important;
table th:first-child {
     padding: 2px !important; /* Uniform tight padding for image column */
}
}


/* ==================== REMOVE PAGE TOOLS BORDER ==================== */
/* Make images in first column display properly */
#page-tools,
table td:first-child img {
#page-tools .mw-portlet {
     display: block !important;
     border: none !important;
     width: 100% !important;
     outline: none !important;
    height: auto !important;
}
    margin: 0 !important;
/* ==================== NUCLEAR OPTION - REMOVE ALL BORDERS ==================== */
     padding: 0 !important;
#mw-navigation * {
     border: none !important;
}
}


#page-tools * {
/* If there's a link wrapping the image */
     border: none !important;
table td:first-child a {
     display: block !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
}


/* But keep the colored top border */
/* Remove any br tags after images */
#mw-header-container .color-left,
table td img + br,
#mw-header-container .color-middle,
table td img ~ br {
#mw-header-container .color-right {
     display: none !important;
     border-bottom: 2px solid !important;
}
}

Latest revision as of 04:10, 23 January 2026

/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');
/* ==================== CHANGE ALL FONTS TO KARLA ==================== */
* {
    font-family: 'Karla', sans-serif !important;
}

body,
html {
    font-family: 'Karla', sans-serif !important;
}
/* ==================== BASE COLORS ==================== */
body {
    background-color: #1a1e29 !important;
    color: #e5e7eb !important;
}

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

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

/* ==================== HEADER / TOP NAVIGATION ==================== */
#mw-header-container {
    background-color: #2d3142 !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;
}

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

#searchInput:focus {
    border-color: #60a5fa !important;
    outline: none !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 ==================== */
#mw-site-navigation,
#mw-related-navigation {
    background-color: #1a1e29 !important;
}

.mw-portlet {
    background-color: #1a1e29 !important;
    border: none !important;
    margin-bottom: 1em !important;
}

.mw-portlet h3 {
    background-color: #1a1e29 !important;
    color: #ffb92a !important;
    border: none !important;
    padding: 8px 12px !important;
}

.mw-portlet .body,
.mw-portlet .mw-portlet-body {
    background-color: #1a1e29 !important;
    border: none !important;
}

.mw-portlet .body ul li {
    padding: 6px 12px !important;
}

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

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

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

/* ==================== PAGE TABS ==================== */
#p-namespaces ul li,
#p-views ul li {
    background-color: #2d3142 !important;
}

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

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

/* ==================== TABLE OF CONTENTS ==================== */
.toc {
    background-color: #2E3548 !important;
    border: 1px solid #3a3f51 !important;
    padding: 12px !important;
}

.toc h2 {
    color: #ffb92a !important;
    background-color: transparent !important;
}

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

/* Style the "hide" button */
.toctogglelabel,
.toctogglespan,
.toc .toctogglelabel {
    color: #60a5fa !important;
}

.toctogglelabel:hover {
    color: #93c5fd !important;
}

/* Balance the left and right spacing */
.toc ul {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important; /* Increase left padding */
    padding-right: 20px !important; /* Add right padding to balance */
}

.toc .toctitle {
    text-align: left !important;
    padding-left: 20px !important; /* Match the list padding */
}
/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */
#page-tools {
    background-color: #1a1e29 !important;
    border: none !important;
}

#page-tools h3 {
    color: #ffb92a !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: #60a5fa !important;
}

a:hover {
    color: #93c5fd !important;
}

a.new {
    color: #F54927 !important;
}
/* ==================== MAKE LOGO TEXT GOLD ==================== */
.mw-wiki-title,
#p-banner a,
a.mw-wiki-title {
    color: #ffb92a !important;
    font-family: 'Karla', sans-serif !important;
    font-size: 24px !important; /* Adjust size if needed */
}
/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    border-bottom: 1px solid #3a3f51 !important;
}
/* ==================== MAKE ALL HEADERS GOLD ==================== */
h1, h2, h3, h4, h5, h6,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
    color: #fbbf24 !important;
}

/* ==================== ADD GOLD UNDERLINES TO PAGE TITLE ==================== */
.mw-first-heading,
#firstHeading {
    position: relative !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #3a3f51 !important;
    margin-bottom: 12px !important; /* Add this */
}

.mw-first-heading::after,
#firstHeading::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #fbbf24 !important;
}

/* ==================== ADD GOLD UNDERLINES TO PAGE HEADINGS ==================== */
.mw-parser-output h1,
.mw-parser-output h2 {
    position: relative !important;
    padding-bottom: 2px !important;
    border-bottom: 1px solid #3a3f51 !important;
    margin-bottom: 0.2em !important; /* Add this to control space below */
}

.mw-parser-output h1::after,
.mw-parser-output h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #fbbf24 !important;
}

/* Remove underlines from h3 and below */
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
/* ==================== REMOVE UNDERLINE FROM CONTENTS ==================== */
.toc h2::after,
#toc h2::after {
    display: none !important;
}
/* ==================== BUTTONS ==================== */
.mw-ui-button,
button,
input[type="submit"] {
    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"],
textarea {
    background-color: #1a1e29 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
}

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

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

table th {
    background-color: #3a3f51 !important;
    color: #ffffff !important;
}

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

/* ==================== CODE BLOCKS ==================== */
code,
pre {
    background-color: #1a1e29 !important;
    border: 1px solid #3a3f51 !important;
    color: #f3f4f6 !important;
}

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

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

/* ==================== SCROLLBARS ==================== */
::-webkit-scrollbar {
    background-color: #1a1e29;
}

::-webkit-scrollbar-thumb {
    background-color: #4a5568;
}
/* ==================== NUCLEAR OPTION FOR SIDEBAR BOXES ==================== */
/* Force everything in the sidebar to be dark */
#mw-site-navigation *,
#mw-related-navigation * {
    background-color: #1a1e29 !important;
}

/* But keep the header gold */
.mw-portlet h3,
.mw-portlet h3 * {
    background-color: #1a1e29 !important;
    color: #ffb92a !important;
}

/* Specifically target these IDs */
div#p-navigation,
div#p-tb,
#navigation,
#Wiki\.tools {
    background-color: #1a1e29 !important;
}

/* Try targeting by class patterns */
[class*="portlet"],
[class*="portal"],
[id*="portlet"],
[id*="portal"] {
    background-color: #1a1e29 !important;
}
/* ==================== REMOVE SIDEBAR BOX BORDERS & BACKGROUNDS ==================== */
/* The boxes have a border that creates the "frame" effect */
.mw-portlet {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove the border from the outer container */
#mw-site-navigation .mw-portlet,
#mw-related-navigation .mw-portlet {
    border: 0 !important;
}

/* Target the specific border style Timeless uses */
.mw-portlet.emptyPortlet {
    border: none !important;
}

/* If there's a wrapper div creating the border */
#mw-panel > .mw-portlet,
#mw-site-navigation > .mw-portlet,
#mw-related-navigation > .mw-portlet {
    border: 0 !important;
    outline: 0 !important;
}

/* Remove any box-shadow effects */
.mw-portlet,
.mw-portlet * {
    box-shadow: none !important;
}

/* Timeless might use these classes for the box styling */
.mw-portlet.persistent,
.mw-portlet-persistent {
    border: none !important;
}
/* ==================== REMOVE BORDERS FROM PARENT CONTAINERS ==================== */
#mw-navigation,
#mw-site-navigation,
#mw-related-navigation {
    border: none !important;
}

#mw-navigation > *,
#mw-site-navigation > *,
#mw-related-navigation > * {
    border: none !important;
}

/* Style the headers with a slightly different shade */
.mw-portlet h3 {
    background-color: #2d3142 !important;
    color: #ffb92a !important;
    border: none !important;
    border-bottom: 1px solid #3a3f51 !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    border-radius: 4px 4px 0 0 !important;
}

/* Keep the body dark but distinct */
.mw-portlet .body,
.mw-portlet .mw-portlet-body {
    background-color: #1a1e29 !important;
    border: none !important;
    padding: 8px 0 !important;
}

/* Add some padding to the links */
.mw-portlet .body ul li {
    padding: 6px 12px !important;
    margin: 0 !important;
}

/* Hover effect */
.mw-portlet .body ul li:hover {
    background-color: #252936 !important;
}
/* ==================== NUCLEAR OPTION FOR VERTICAL LINES ==================== */
/* Remove all vertical borders globally */
* {
    border-left: none !important;
    border-right: none !important;
}

/* But keep the horizontal ones we want */
.mw-portlet {
    border: 1px solid #2d3142 !important;
}

.mw-portlet h3 {
    border-bottom: 1px solid #3a3f51 !important;
}

h1, h2, h3, h4, h5, h6 {
    border-bottom: 1px solid #3a3f51 !important;
    border-left: none !important;
    border-right: none !important;
}

#footer {
    border-top: 2px solid #3a3f51 !important;
    border-left: none !important;
    border-right: none !important;
}

/* Keep table borders */
table td,
table th {
    border: 1px solid #3a3f51 !important;
}

/* Restore the top colored lines */
#mw-header-container .color-left,
#mw-header-container .color-middle,
#mw-header-container .color-right {
    border-bottom: 2px solid !important;
}
/* ==================== REMOVE ALL BACKGROUNDS FROM TAB AREAS ==================== */
/* Target every possible container */
#p-namespaces,
#p-namespaces *,
#p-views,
#p-views * {
    background: transparent !important;
    background-color: transparent !important;
}

/* Except the actual tab buttons themselves */
#p-namespaces ul li,
#p-views ul li {
    background-color: #2d3142 !important;
}

#p-namespaces ul li.selected,
#p-views ul li.selected {
    background-color: #1f2637 !important;
    border-bottom: 2px solid #ffb92a !important;
}
/* ==================== FIX TAB SPACING ==================== */
#p-namespaces ul li,
#p-views ul li {
    padding: 8px 16px !important; /* Adjust these values to make it tighter */
    margin: 0 !important;
}

/* Make the box fit tighter to the text */
#p-namespaces ul li a,
#p-views ul li a {
    padding: 0 !important;
}
/* ==================== TARGET THE WRAPPER DIVS ==================== */
div#p-namespaces,
div#p-views {
    background: none !important;
}

/* Target by class if it exists */
.mw-portlet.emptyPortlet {
    background: transparent !important;
}

/* ==================== REMOVE PAGE TOOLS OUTLINES ==================== */
#page-tools,
#page-tools * {
    outline: none !important;
}

#page-tools .mw-portlet {
    background-color: #1a1e29 !important;
    border: 1px solid #2d3142 !important;
}
/* ==================== REMOVE BORDERS FROM PAGE TOOLS SIDEBAR ==================== */
#page-tools .mw-portlet {
    border: none !important;
}

#page-tools h3 {
    border: none !important;
    border-bottom: none !important;
}

/* Remove rounded corners too */
#page-tools .mw-portlet {
    border-radius: 0 !important;
}

#page-tools h3 {
    border-radius: 0 !important;
}
/* ==================== RESTORE HEADER UNDERLINES ==================== */
#page-tools h3 {
    border: none !important;
    border-bottom: 1px solid #3a3f51 !important;
    border-radius: 0 !important;
    padding-bottom: 8px !important;
}

/* Also restore them for left sidebar headers if needed */
.mw-portlet h3 {
    border-bottom: 1px solid #3a3f51 !important;
}
/* ==================== INCREASE HEADER FONT SIZE ==================== */
.mw-portlet h3,
#page-tools h3 {
    font-size: 16px !important;
    font-weight: bold !important;
}
/* ==================== STYLED HEADER UNDERLINES ==================== */
/* For left sidebar headers (Navigation, Wiki tools) */
#mw-site-navigation .mw-portlet h3::after,
#mw-related-navigation .mw-portlet h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 12px !important;
    width: 40px !important;
    height: 2px !important;
    background-color: #ffb92a !important;
}

#mw-site-navigation .mw-portlet h3,
#mw-related-navigation .mw-portlet h3 {
    position: relative !important;
}

/* For right sidebar headers (Page tools, More) */
#page-tools h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 2px !important;
    background-color: #ffb92a !important;
}

#page-tools h3 {
    position: relative !important;
}
/* ==================== REMOVE OLD FULL-WIDTH UNDERLINES ==================== */
#mw-site-navigation .mw-portlet h3,
#mw-related-navigation .mw-portlet h3,
#page-tools h3 {
    border-bottom: none !important;
}
/* ==================== UNIFY HEADER LINES WITH DARK HEADER ==================== */

/* Header background (authoritative) */
#mw-header-container,
#mw-header,
#mw-header-hack {
    background-color: #1a1e29 !important;
}

/* Top segmented color bars */
#mw-header-hack .color-left,
#mw-header-hack .color-middle,
#mw-header-hack .color-right,
.color-bar {
    background-color: #1a1e29 !important;
}

/* Any borders used as accent lines */
#mw-header-container,
#mw-header-hack {
    border-top-color: #1a1e29 !important;
    border-bottom-color: #1a1e29 !important;
}
/* ==================== REMOVE BOXES FROM LIST ITEMS ==================== */
.mw-list-item {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

li.mw-list-item,
#p-namespaces .mw-list-item,
#p-views .mw-list-item {
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
}
/* ==================== REMOVE USER MENU BOX ==================== */
#user-tools,
#personal,
.user-links {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* ==================== REMOVE SIDEBAR INDENTATION ==================== */
.mw-portlet,
#p-navigation,
div[role="navigation"] {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.mw-portlet-body {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Target the ul and li elements */
.mw-portlet-body ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style-position: inside !important;
}

.mw-portlet-body ul li {
    padding-left: 10px !important;
    margin-left: 0 !important;
}
/* ==================== SEARCH BAR CONTAINER ==================== */
#p-search,
#simpleSearch,
.search-container,
#searchform {
    background-color: #1a1e29 !important;
    border: none !important;
    position: relative !important;
    display: block !important;
}

/* Remove blue background from search button wrapper */
#p-search .mw-searchButton,
#p-search form,
.search-wrapper {
    background-color: transparent !important;
}

#searchInput {
    background-color: #2d3142 !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    padding: 10px 50px 10px 16px !important; /* Extra padding on right for button */
    outline: none !important;
    width: 100% !important;
}

#searchInput:focus {
    border-color: #fbbf24 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
}

#searchButton,
.searchButton,
button[type="submit"] { 
    background-color: #fbbf24 !important; 
    color: #1a1e29 !important; 
    border: none !important; 
    border-radius: 6px !important; 
    padding: 6px 10px !important; 
    font-weight: bold !important; 
    height: auto !important; 
    min-height: 0 !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#searchButton:hover {
    background-color: #fcd34d !important;
}
/* ==================== USER MENU - Keep text gold ==================== */
#user-tools a,
#personal a {
    color: #fbbf24 !important;
}
/* ==================== REDUCE HEADER SPACING ==================== */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    margin-top: 0.5em !important;
    margin-bottom: 0em !important;
    padding-bottom: 0px !important;
}

/* Keep padding for h1 and h2 with gold underlines */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-body h1,
.mw-body h2 {
    padding-bottom: 2px !important;
    margin-bottom: 0.3em !important; /* Add space below h1 and h2 */
}

/* Small spacing after all headers */
.mw-parser-output h2 + *,
.mw-parser-output h3 + *,
.mw-parser-output h4 + *,
.mw-parser-output h5 + *,
.mw-parser-output h6 + * {
    margin-top: 0.2em !important; /* Small but visible gap */
    padding-top: 0em !important;
}

/* Control paragraph spacing */
.mw-parser-output p,
.mw-body p {
    margin-top: 0.2em !important; /* Small gap */
    padding-top: 0em !important;
}
/* ==================== REDUCE TABLE CELL SPACING ==================== */
table {
    border-spacing: 0 !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

table tr {
    line-height: 1 !important;
    margin: 0 !important;
}

table td,
table th {
    padding: 2px 8px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    vertical-align: middle !important;
    text-indent: 0 !important;
    margin: 0 !important;
}

/* Remove spacing between table rows - target the first cell in each row */
table tr:not(:first-child) td:first-child {
    padding-top: 2px !important;
}

/* Specifically for drop lists or similar content */
table td p {
    margin: 0 !important;
    padding: 0 !important;
}

table td br {
    line-height: 0.8 !important;
}

/* Remove any default indentation from table cell content */
table td > *:not(ul):not(ol),
table th > *:not(ul):not(ol) {
    margin: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ==================== IMAGE COLUMN SPECIFIC STYLING ==================== */
table td:first-child,
table th:first-child {
    padding: 2px !important; /* Uniform tight padding for image column */
}

/* Make images in first column display properly */
table td:first-child img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* If there's a link wrapping the image */
table td:first-child a {
    display: block !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any br tags after images */
table td img + br,
table td img ~ br {
    display: none !important;
}