MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Iamlinkalot (talk | contribs) No edit summary |
||
(61 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* | /* ========== Dark mode base background and text color ========== */ | ||
/* ==== | body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-panel, #footer, #mw-head, #mw-content-text { | ||
* { | background-color: #111827 !important; | ||
color: #ffffff !important; | |||
} | |||
/* ========== Links ========== */ | |||
#mw-panel a:not(.new), | |||
#p-personal a:not(.new), | |||
#mw-head a:not(.new), | |||
#mw-content-text a:not(.new) { | |||
color: #93c5fd !important; | |||
} | |||
#mw-content-text a:visited { | |||
color: #a5b4fc; | |||
} | |||
#mw-content-text a:hover, #mw-content-text a:focus { | |||
color: #60a5fa !important; | |||
text-decoration: underline !important; | |||
} | |||
/* ========== Broken links ========== */ | |||
a.new { | |||
color: #ef4444 !important; | |||
} | |||
/* ========== Tables, content boxes, infoboxes ========== */ | |||
table, td, .infobox, .navbox, .toc { | |||
background-color: #1f2937 !important; | |||
color: #ffffff !important; | |||
border-color: #374151 !important; | |||
caption { | |||
color: #EAB308 !important; | |||
} | |||
} | |||
.mw-collapsed { | |||
min-width: 100%; | |||
} | |||
th { | |||
background-color: #111827 !important; | |||
color: #ffffff !important; | |||
button { | |||
background-color: #111827 !important; | |||
color: #ffffff !important; | |||
} | |||
} | } | ||
/* ==== | /* ========== Code blocks and pre elements ========== */ | ||
pre, code { | |||
background-color: #374151 !important; | |||
color: #ffffff !important; | |||
background-color: # | |||
color: # | |||
} | } | ||
/* ==== Headings ==== */ | /* ========== Headings ========== */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
/* ==== | /* ========== Quotes ========== */ | ||
blockquote { | |||
color: # | background-color: #1f2937 !important; | ||
text- | } | ||
/* ========== Input fields and search box ========== */ | |||
input, textarea, select { | |||
background-color: #1f2937 !important; | |||
color: #ffffff !important; | |||
border: 1px solid #374151 !important; | |||
} | |||
/* ========== Buttons ========== */ | |||
button, input[type="submit"], input[type="button"] { | |||
color: #ffffff !important; | |||
} | |||
/* ========== Footer text ========== */ | |||
#footer { | |||
color: #9ca3af !important; | |||
} | |||
/* ========== Edit options section ========== */ | |||
.editOptions { | |||
background-color: #111827 !important; | |||
color: #ffffff !important; | |||
} | |||
/* ========== Editor UI ========== */ | |||
.wikiEditor-ui-toolbar { | |||
background-color: #111827 !important; | |||
color: #93c5fd !important; | |||
.label{ | |||
color: #93c5fd !important; | |||
} | |||
.oo-ui-iconElement-icon { | |||
filter: invert(1); | |||
} | |||
} | |||
.oo-ui-toolbar-bar { | |||
background-color: #111827 !important; | |||
color: #93c5fd !important; | |||
.label{ | |||
color: #93c5fd !important; | |||
} | |||
.oo-ui-iconElement-icon { | |||
filter: invert(1); | |||
} | |||
.oo-ui-indicatorElement-indicator { | |||
filter:invert(1); | |||
} | |||
.oo-ui-tool-link { | |||
background-color: #111827 !important; | |||
color: #93c5fd !important; | |||
} | |||
} | |||
/* ========== Sidebar ========== */ | |||
.vector-legacy-sidebar{ | |||
display: flex; | |||
flex-direction: column; | |||
gap: 12px; | |||
#p-logo { | |||
margin-bottom: 0; | |||
} | |||
span.vector-menu-heading-label { | |||
color: #EAB308 !important; | |||
} | |||
h3.vector-menu-heading { | |||
text-align: center; | |||
} | |||
#p-Library{ | |||
border: 1px solid #0a0e18; | |||
border-radius: 8px; | |||
background-color: #0a0e18; | |||
margin: 0 8px 0 8px; | |||
} | |||
#p-Official_Links{ | |||
border: 1px solid #0a0e18; | |||
border-radius: 8px; | |||
background-color: #0a0e18; | |||
margin: 0 8px 0 8px; | |||
} | |||
#p-Community_Links{ | |||
border: 1px solid #0a0e18; | |||
border-radius: 8px; | |||
background-color: #0a0e18; | |||
margin: 0 8px 0 8px; | |||
} | |||
#p-tb{ | |||
border: 1px solid #0a0e18; | |||
border-radius: 8px; | |||
background-color: #0a0e18; | |||
margin: 0 8px 12px 8px; | |||
} | |||
ul { | |||
list-style-type: disc !important; | |||
padding-left: 20px !important; | |||
margin: 0 !important; | |||
} | |||
li { | |||
color: #18202f !important; /* bullet color */ | |||
} | |||
} | |||
/* ========== Top bar labels ========== */ | |||
#mw-head #left-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a, | |||
#mw-head #right-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a { | |||
background-color: #1f2937 !important; | |||
} | |||
/* ========== Resize Classes ========== */ | |||
.icon-64 img { | |||
width: 64px !important; | |||
height: 64px !important; | |||
object-fit: scale-down; | |||
} | |||
.icon-64 img[width], | |||
.icon-64 img[height] { | |||
width: 64px !important; | |||
height: 64px !important; | |||
} | |||
#size-64 { | |||
width: 64px; | |||
height: 64px; | |||
} | |||
#size-100 { | |||
width: 100px; | |||
height: 100px; | |||
} | |||
.centered td, | |||
.centered th { | |||
text-align: center; | |||
vertical-align: middle; | |||
} | |||
/* ========== Specific Targets ========== */ | |||
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper { | |||
background-color: #111827 !important; | |||
} | } | ||
.mw-changeslist-legend { | |||
color: # | background-color: #111827 !important; | ||
} | } | ||
.oo-ui-widget { | |||
background-color: #111827 !important; | |||
. | |||
background-color: # | |||
} | } |
Latest revision as of 16:37, 20 July 2025
/* ========== Dark mode base background and text color ========== */ body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-panel, #footer, #mw-head, #mw-content-text { background-color: #111827 !important; color: #ffffff !important; } /* ========== Links ========== */ #mw-panel a:not(.new), #p-personal a:not(.new), #mw-head a:not(.new), #mw-content-text a:not(.new) { color: #93c5fd !important; } #mw-content-text a:visited { color: #a5b4fc; } #mw-content-text a:hover, #mw-content-text a:focus { color: #60a5fa !important; text-decoration: underline !important; } /* ========== Broken links ========== */ a.new { color: #ef4444 !important; } /* ========== Tables, content boxes, infoboxes ========== */ table, td, .infobox, .navbox, .toc { background-color: #1f2937 !important; color: #ffffff !important; border-color: #374151 !important; caption { color: #EAB308 !important; } } .mw-collapsed { min-width: 100%; } th { background-color: #111827 !important; color: #ffffff !important; button { background-color: #111827 !important; color: #ffffff !important; } } /* ========== Code blocks and pre elements ========== */ pre, code { background-color: #374151 !important; color: #ffffff !important; } /* ========== Headings ========== */ h1, h2, h3, h4, h5, h6 { color: #ffffff !important; } /* ========== Quotes ========== */ blockquote { background-color: #1f2937 !important; } /* ========== Input fields and search box ========== */ input, textarea, select { background-color: #1f2937 !important; color: #ffffff !important; border: 1px solid #374151 !important; } /* ========== Buttons ========== */ button, input[type="submit"], input[type="button"] { color: #ffffff !important; } /* ========== Footer text ========== */ #footer { color: #9ca3af !important; } /* ========== Edit options section ========== */ .editOptions { background-color: #111827 !important; color: #ffffff !important; } /* ========== Editor UI ========== */ .wikiEditor-ui-toolbar { background-color: #111827 !important; color: #93c5fd !important; .label{ color: #93c5fd !important; } .oo-ui-iconElement-icon { filter: invert(1); } } .oo-ui-toolbar-bar { background-color: #111827 !important; color: #93c5fd !important; .label{ color: #93c5fd !important; } .oo-ui-iconElement-icon { filter: invert(1); } .oo-ui-indicatorElement-indicator { filter:invert(1); } .oo-ui-tool-link { background-color: #111827 !important; color: #93c5fd !important; } } /* ========== Sidebar ========== */ .vector-legacy-sidebar{ display: flex; flex-direction: column; gap: 12px; #p-logo { margin-bottom: 0; } span.vector-menu-heading-label { color: #EAB308 !important; } h3.vector-menu-heading { text-align: center; } #p-Library{ border: 1px solid #0a0e18; border-radius: 8px; background-color: #0a0e18; margin: 0 8px 0 8px; } #p-Official_Links{ border: 1px solid #0a0e18; border-radius: 8px; background-color: #0a0e18; margin: 0 8px 0 8px; } #p-Community_Links{ border: 1px solid #0a0e18; border-radius: 8px; background-color: #0a0e18; margin: 0 8px 0 8px; } #p-tb{ border: 1px solid #0a0e18; border-radius: 8px; background-color: #0a0e18; margin: 0 8px 12px 8px; } ul { list-style-type: disc !important; padding-left: 20px !important; margin: 0 !important; } li { color: #18202f !important; /* bullet color */ } } /* ========== Top bar labels ========== */ #mw-head #left-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a, #mw-head #right-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a { background-color: #1f2937 !important; } /* ========== Resize Classes ========== */ .icon-64 img { width: 64px !important; height: 64px !important; object-fit: scale-down; } .icon-64 img[width], .icon-64 img[height] { width: 64px !important; height: 64px !important; } #size-64 { width: 64px; height: 64px; } #size-100 { width: 100px; height: 100px; } .centered td, .centered th { text-align: center; vertical-align: middle; } /* ========== Specific Targets ========== */ .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper { background-color: #111827 !important; } .mw-changeslist-legend { background-color: #111827 !important; } .oo-ui-widget { background-color: #111827 !important; }