MediaWiki:Timeless.css: Difference between revisions
OMNIVERSE
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* ==================== BASE COLORS ==================== */ | /* ==================== BASE COLORS ==================== */ | ||
body { | body { | ||
background-color: # | background-color: #1a1e29 !important; | ||
color: #e5e7eb !important; | color: #e5e7eb !important; | ||
} | } | ||
| Line 12: | Line 12: | ||
#mw-content, | #mw-content, | ||
.mw-body { | .mw-body { | ||
background-color: # | background-color: #1f2637 !important; | ||
color: #e5e7eb !important; | color: #e5e7eb !important; | ||
} | } | ||
| Line 43: | Line 43: | ||
/* ==================== SEARCH BAR ==================== */ | /* ==================== SEARCH BAR ==================== */ | ||
#searchInput { | #searchInput { | ||
background-color: # | background-color: #1a1e29 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border: 1px solid #4a5568 !important; | border: 1px solid #4a5568 !important; | ||
| Line 72: | Line 72: | ||
#mw-site-navigation, | #mw-site-navigation, | ||
#mw-related-navigation { | #mw-related-navigation { | ||
background-color: # | background-color: #1a1e29 !important; | ||
} | } | ||
.mw-portlet { | .mw-portlet { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: none !important; | border: none !important; | ||
margin-bottom: 1em !important; | margin-bottom: 1em !important; | ||
| Line 82: | Line 82: | ||
.mw-portlet h3 { | .mw-portlet h3 { | ||
background-color: # | background-color: #1a1e29 !important; | ||
color: #fbbf24 !important; | color: #fbbf24 !important; | ||
border: none !important; | border: none !important; | ||
| Line 90: | Line 90: | ||
.mw-portlet .body, | .mw-portlet .body, | ||
.mw-portlet .mw-portlet-body { | .mw-portlet .mw-portlet-body { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
| Line 123: | Line 123: | ||
#p-namespaces ul li.selected, | #p-namespaces ul li.selected, | ||
#p-views ul li.selected { | #p-views ul li.selected { | ||
background-color: # | background-color: #1f2637 !important; | ||
border-bottom: 2px solid #fbbf24 !important; | border-bottom: 2px solid #fbbf24 !important; | ||
} | } | ||
| Line 144: | Line 144: | ||
/* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */ | /* ==================== RIGHT SIDEBAR - PAGE TOOLS ==================== */ | ||
#page-tools { | #page-tools { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
| Line 202: | Line 202: | ||
input[type="text"], | input[type="text"], | ||
textarea { | textarea { | ||
background-color: # | background-color: #1a1e29 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border: 1px solid #4a5568 !important; | border: 1px solid #4a5568 !important; | ||
| Line 230: | Line 230: | ||
code, | code, | ||
pre { | pre { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: 1px solid #3a3f51 !important; | border: 1px solid #3a3f51 !important; | ||
color: #f3f4f6 !important; | color: #f3f4f6 !important; | ||
| Line 237: | Line 237: | ||
/* ==================== FOOTER ==================== */ | /* ==================== FOOTER ==================== */ | ||
#footer { | #footer { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border-top: 2px solid #3a3f51 !important; | border-top: 2px solid #3a3f51 !important; | ||
color: #9ca3af !important; | color: #9ca3af !important; | ||
| Line 248: | Line 248: | ||
/* ==================== SCROLLBARS ==================== */ | /* ==================== SCROLLBARS ==================== */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
background-color: # | background-color: #1a1e29; | ||
} | } | ||
| Line 258: | Line 258: | ||
#mw-site-navigation *, | #mw-site-navigation *, | ||
#mw-related-navigation * { | #mw-related-navigation * { | ||
background-color: # | background-color: #1a1e29 !important; | ||
} | } | ||
| Line 264: | Line 264: | ||
.mw-portlet h3, | .mw-portlet h3, | ||
.mw-portlet h3 * { | .mw-portlet h3 * { | ||
background-color: # | background-color: #1a1e29 !important; | ||
color: #fbbf24 !important; | color: #fbbf24 !important; | ||
} | } | ||
| Line 273: | Line 273: | ||
#navigation, | #navigation, | ||
#Wiki\.tools { | #Wiki\.tools { | ||
background-color: # | background-color: #1a1e29 !important; | ||
} | } | ||
| Line 281: | Line 281: | ||
[id*="portlet"], | [id*="portlet"], | ||
[id*="portal"] { | [id*="portal"] { | ||
background-color: # | background-color: #1a1e29 !important; | ||
} | } | ||
/* ==================== REMOVE SIDEBAR BOX BORDERS & BACKGROUNDS ==================== */ | /* ==================== REMOVE SIDEBAR BOX BORDERS & BACKGROUNDS ==================== */ | ||
| Line 335: | Line 335: | ||
/* ==================== ADD SUBTLE DARK BOXES TO SIDEBAR ==================== */ | /* ==================== ADD SUBTLE DARK BOXES TO SIDEBAR ==================== */ | ||
.mw-portlet { | .mw-portlet { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: 1px solid #2d3142 !important; | border: 1px solid #2d3142 !important; | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
| Line 356: | Line 356: | ||
.mw-portlet .body, | .mw-portlet .body, | ||
.mw-portlet .mw-portlet-body { | .mw-portlet .mw-portlet-body { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: none !important; | border: none !important; | ||
padding: 8px 0 !important; | padding: 8px 0 !important; | ||
| Line 429: | Line 429: | ||
#p-namespaces ul li.selected, | #p-namespaces ul li.selected, | ||
#p-views ul li.selected { | #p-views ul li.selected { | ||
background-color: # | background-color: #1f2637 !important; | ||
border-bottom: 2px solid #fbbf24 !important; | border-bottom: 2px solid #fbbf24 !important; | ||
} | } | ||
| Line 451: | Line 451: | ||
#page-tools .mw-portlet { | #page-tools .mw-portlet { | ||
background-color: # | background-color: #1a1e29 !important; | ||
border: 1px solid #2d3142 !important; | border: 1px solid #2d3142 !important; | ||
} | } | ||
Revision as of 04:28, 19 January 2026
/* ==================== OMNIVERSE WIKI DARK THEME ==================== */
/* ==================== 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: #fbbf24 !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 #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: #1a1e29 !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: #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: #fbbf24 !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;
}
/* ==================== ADD SUBTLE DARK BOXES TO SIDEBAR ==================== */
.mw-portlet {
background-color: #1a1e29 !important;
border: 1px solid #2d3142 !important;
border-radius: 4px !important;
margin-bottom: 1em !important;
padding: 0 !important;
}
/* Style the headers with a slightly different shade */
.mw-portlet h3 {
background-color: #2d3142 !important;
color: #fbbf24 !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 #fbbf24 !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: #fbbf24 !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: #fbbf24 !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;
}
