MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "→CSS placed here will be applied to all skins: " Tags: Replaced Manual revert |
Iamlinkalot (talk | contribs) No edit summary |
||
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, #p-personal a, #mw-head a, #mw-content-text a { | |||
color: #93c5fd !important; | |||
} | |||
#mw-content-text a:visited { | |||
color: #a5b4fc !important; | |||
} | |||
#mw-content-text a:hover, #mw-content-text a:focus { | |||
color: #60a5fa !important; | |||
text-decoration: underline !important; | |||
} | |||
/* ========== Tables, content boxes, infoboxes ========== */ | |||
table, th, td, .infobox, .navbox, .toc { | |||
background-color: #1f2937 !important; | |||
color: #ffffff !important; | |||
border-color: #374151 !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; | |||
} | |||
/* ========== 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"] { | |||
background-color: #374151 !important; | |||
color: #ffffff !important; | |||
border: 1px solid #4b5563 !important; | |||
} | |||
/* ========== Footer text ========== */ | |||
#footer { | |||
color: #9ca3af !important; | |||
} | |||
/* ========== Edit options section ========== */ | |||
.editOptions { | |||
background-color: #111827 !important; | |||
color: #ffffff !important; | |||
} | |||
/* ========== Sidebar header labels ========== */ | |||
span.vector-menu-heading-label { | |||
color: #EAB308 !important; | |||
} | |||
h3.vector-menu-heading { | |||
text-align: center; | |||
} | |||
.vector-menu-content-list .mw-list-item { | |||
background-color: #1f2937 !important; | |||
} | |||
.vector-menu-content-list .mw-list-item { | |||
background-color: #1f2937 !important; | |||
} |
Revision as of 04:20, 7 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, #p-personal a, #mw-head a, #mw-content-text a { color: #93c5fd !important; } #mw-content-text a:visited { color: #a5b4fc !important; } #mw-content-text a:hover, #mw-content-text a:focus { color: #60a5fa !important; text-decoration: underline !important; } /* ========== Tables, content boxes, infoboxes ========== */ table, th, td, .infobox, .navbox, .toc { background-color: #1f2937 !important; color: #ffffff !important; border-color: #374151 !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; } /* ========== 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"] { background-color: #374151 !important; color: #ffffff !important; border: 1px solid #4b5563 !important; } /* ========== Footer text ========== */ #footer { color: #9ca3af !important; } /* ========== Edit options section ========== */ .editOptions { background-color: #111827 !important; color: #ffffff !important; } /* ========== Sidebar header labels ========== */ span.vector-menu-heading-label { color: #EAB308 !important; } h3.vector-menu-heading { text-align: center; } .vector-menu-content-list .mw-list-item { background-color: #1f2937 !important; } .vector-menu-content-list .mw-list-item { background-color: #1f2937 !important; }