User:Rubyn/vector.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* FORCE LIGHT MODE ACROSS WIKI */
html, body, #content, .mw-body, .mw-page-base, .mw-footer, #mw-head, #mw-panel {
background-color: #ffffff !important;
color: #000000 !important;
}
/* Fix sidebar and header */
#mw-head, #mw-panel, .vector-menu-content, .vector-menu-heading {
background-color: #f8f8f8 !important;
color: #000000 !important;
border-color: #dcdcdc !important;
}
/* Reset links */
a, a:link, a:visited {
color: #0645ad !important;
background: transparent !important;
}
a:hover, a:active {
color: #3366cc !important;
}
/* Fix code and preformatted blocks */
pre, code {
background-color: #eeeeee !important;
color: #000000 !important;
}
/* Override any filters (common in dark mode themes) */
html, body {
filter: none !important;
-webkit-filter: none !important;
}
/* Sidebar menu fixes */
.vector-menu-content-list,
.vector-menu-portal {
background: #ffffff !important;
color: #000000 !important;
}
/* Input and form elements */
input, textarea, select, button {
background-color: #ffffff !important;
color: #000000 !important;
border-color: #ccc !important;
}
/* Fix page notice boxes and banners */
.mw-message-box, .successbox, .errorbox, .warningbox {
background-color: #f9f9f9 !important;
color: #000000 !important;
border: 1px solid #cccccc !important;
}
/* Optional: fix code editor syntax color conflicts */
.mw-editfont-monospace {
background-color: #ffffff !important;
color: #000000 !important;
}