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 colors */
body,
.mw-body,
#content,
#mw-content-text,
#p-logo,
.mw-wiki-logo {
background-color: #ffffff !important;
color: #000000 !important;
}
a {
color: #0645ad !important;
}
a:visited {
color: #0b0080 !important;
}
a:hover {
color: #3366cc !important;
}
pre,
code {
background-color: #f8f8f8 !important;
color: #000000 !important;
}
/* Remove global dark filters if present */
html, body {
filter: none !important;
}
/* Reset navigation and sidebar colors */
#mw-panel,
.portal,
#p-personal {
background-color: #f0f0f0 !important;
color: #000000 !important;
}
.vector-menu-content,
.vector-menu-content-list {
background: #ffffff !important;
}
.vector-menu-heading {
background: #f0f0f0 !important;
color: #000000 !important;
}
/* Optional: Improve contrast in input fields */
input,
textarea,
select {
background-color: #ffffff !important;
color: #000000 !important;
}