MediaWiki:Common.css
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.
/***********************************************
* HIGH-CONTRAST RESCUE LAYER (READABILITY FIRST)
* Add this at the BOTTOM of Common.css
***********************************************/
/* Make the main content look like white paper */
body.psy70 #content,
body.psy70 .mw-body,
body.psy70 .mw-content-container,
body.psy70 .vector-body {
background: #ffffff !important;
color: #111111 !important;
border-radius: 10px;
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.04),
0 18px 50px rgba(0, 0, 0, 0.35);
}
/* Core text nodes */
body.psy70 #mw-content-text,
body.psy70 .mw-parser-output {
color: #111111 !important;
}
/* Paragraphs, lists, table text */
body.psy70 #mw-content-text p,
body.psy70 #mw-content-text li,
body.psy70 #mw-content-text td,
body.psy70 #mw-content-text th,
body.psy70 #mw-content-text dd,
body.psy70 #mw-content-text dt {
color: #111111 !important;
}
/* Headings */
body.psy70 #mw-content-text h1,
body.psy70 #mw-content-text h2,
body.psy70 #mw-content-text h3,
body.psy70 #mw-content-text h4,
body.psy70 #mw-content-text h5 {
color: #111111 !important;
}
/* Links – classic wiki-ish colors */
body.psy70 #mw-content-text a {
color: #0645ad !important;
text-decoration-color: rgba(6, 69, 173, 0.7);
}
body.psy70 #mw-content-text a:visited {
color: #0b0080 !important;
}
body.psy70 #mw-content-text a:hover {
color: #3366bb !important;
}
/* Tables / infoboxes: light with dark text */
body.psy70 .wikitable,
body.psy70 table {
background-color: #f8f9fa !important;
color: #111111 !important;
border-color: rgba(0, 0, 0, 0.2) !important;
}
body.psy70 .wikitable th,
body.psy70 .wikitable td {
border-color: rgba(0, 0, 0, 0.2) !important;
color: #111111 !important;
}