MediaWiki:Timeless.css: Difference between revisions
OMNIVERSE
No edit summary |
No edit summary |
||
| Line 282: | Line 282: | ||
[id*="portal"] { | [id*="portal"] { | ||
background-color: #1a1d29 !important; | background-color: #1a1d29 !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; | |||
} | } | ||
Revision as of 03:24, 19 January 2026
/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
/* ==================== 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;
}
#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: #1a1d29 !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: #1a1d29 !important;
}
.mw-portlet {
background-color: #1a1d29 !important;
border: none !important;
margin-bottom: 1em !important;
}
.mw-portlet h3 {
background-color: #1a1d29 !important;
color: #fbbf24 !important;
border: none !important;
padding: 8px 12px !important;
}
.mw-portlet .body,
.mw-portlet .mw-portlet-body {
background-color: #1a1d29 !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: #2c3142 !important;
border-bottom: 2px solid #fbbf24 !important;
}
/* ==================== TABLE OF CONTENTS ==================== */
.toc {
background-color: #2d3447 !important;
border: 1px solid #4a5568 !important;
}
.toc h2 {
color: #fbbf24 !important;
background-color: transparent !important;
}
.toc a {
color: #60a5fa !important;
}
/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */
#page-tools {
background-color: #1a1d29 !important;
border: none !important;
}
#page-tools h3 {
color: #fbbf24 !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;
}
a.new {
color: #f87171 !important;
}
/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
border-bottom: 1px solid #3a3f51 !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: #1a1d29 !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: #1a1d29 !important;
border: 1px solid #3a3f51 !important;
color: #f3f4f6 !important;
}
/* ==================== FOOTER ==================== */
#footer {
background-color: #1a1d29 !important;
border-top: 2px solid #3a3f51 !important;
color: #9ca3af !important;
}
#footer a {
color: #60a5fa !important;
}
/* ==================== SCROLLBARS ==================== */
::-webkit-scrollbar {
background-color: #1a1d29;
}
::-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: #1a1d29 !important;
}
/* But keep the header gold */
.mw-portlet h3,
.mw-portlet h3 * {
background-color: #1a1d29 !important;
color: #fbbf24 !important;
}
/* Specifically target these IDs */
div#p-navigation,
div#p-tb,
#navigation,
#Wiki\.tools {
background-color: #1a1d29 !important;
}
/* Try targeting by class patterns */
[class*="portlet"],
[class*="portal"],
[id*="portlet"],
[id*="portal"] {
background-color: #1a1d29 !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;
}
