MediaWiki:Common.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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* ---------------------------------------------------------
RESET GLOBAL BACKGROUND AND TEXT
--------------------------------------------------------- */
body {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
READING AREA (content area)
--------------------------------------------------------- */
#content,
#bodyContent,
.mw-body,
.mw-body-content,
#mw-content-text {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
SIDEBAR (LEFT PANEL)
Restore default Vector colors
--------------------------------------------------------- */
#mw-panel {
background: #f8f9fa !important; /* light gray */
color: #000000 !important;
}
#mw-panel a {
color: #0645ad !important; /* default link blue */
}
/* ---------------------------------------------------------
TOP BAR / HEADER
Restore default Vector header
--------------------------------------------------------- */
#mw-head,
#mw-head-base {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
SEARCH BOX
Restore default styling
--------------------------------------------------------- */
#p-search input {
background: #ffffff !important;
color: #000000 !important;
border: 1px solid #a2a9b1 !important; /* default border */
}
/* ---------------------------------------------------------
TABS (Read / Edit / View history)
Restore default Vector tabs
--------------------------------------------------------- */
#p-views ul li a {
background: #ffffff !important;
color: #0645ad !important;
border: 1px solid #a2a9b1 !important;
}
#p-views ul li.selected a {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
FOOTER
Restore default Vector footer
--------------------------------------------------------- */
#footer {
background: #ffffff !important;
color: #000000 !important;
}
#footer a {
color: #0645ad !important;
}
/* ---------------------------------------------------------
LINKS (reading area)
Restore default link colors
--------------------------------------------------------- */
#content a,
#bodyContent a,
.mw-body a,
.mw-body-content a,
#mw-content-text a {
color: #0645ad !important; /* default blue */
}
#content a:visited,
#bodyContent a:visited,
.mw-body a:visited,
.mw-body-content a:visited,
#mw-content-text a:visited {
color: #0b0080 !important; /* default visited purple */
}
#content a:active,
#bodyContent a:active,
.mw-body a:active,
.mw-body-content a:active,
#mw-content-text a:active {
color: #faa700 !important; /* default active orange */
}