MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/********************************* | /*********************************************** | ||
* | * 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 #content, | ||
body.psy70 .mw-body, | body.psy70 .mw-body, | ||
body.psy70 . | body.psy70 .mw-content-container, | ||
body.psy70 . | body.psy70 .vector-body { | ||
background: # | background: #ffffff !important; | ||
color: # | color: #111111 !important; | ||
border-radius: | border-radius: 10px; | ||
box-shadow: | box-shadow: | ||
0 0 0 1px rgba( | 0 0 0 1px rgba(0, 0, 0, 0.04), | ||
0 | 0 18px 50px rgba(0, 0, 0, 0.35); | ||
} | } | ||
/* | /* Core text nodes */ | ||
body.psy70 .mw-body p, | body.psy70 #mw-content-text, | ||
body.psy70 | body.psy70 .mw-parser-output { | ||
body.psy70 | color: #111111 !important; | ||
body.psy70 .mw-body | } | ||
color: # | |||
/* 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 */ | /* Headings */ | ||
body.psy70 | body.psy70 #mw-content-text h1, | ||
body.psy70 | body.psy70 #mw-content-text h2, | ||
body.psy70 | body.psy70 #mw-content-text h3, | ||
body.psy70 .mw- | body.psy70 #mw-content-text h4, | ||
color: # | body.psy70 #mw-content-text h5 { | ||
color: #111111 !important; | |||
} | } | ||
/* Links */ | /* Links – classic wiki-ish colors */ | ||
body.psy70 | body.psy70 #mw-content-text a { | ||
color: # | color: #0645ad !important; | ||
text-decoration-color: rgba( | text-decoration-color: rgba(6, 69, 173, 0.7); | ||
} | } | ||
body.psy70 | body.psy70 #mw-content-text a:visited { | ||
color: # | color: #0b0080 !important; | ||
} | } | ||
body.psy70 | body.psy70 #mw-content-text a:hover { | ||
color: # | color: #3366bb !important; | ||
} | } | ||
/* Tables / infoboxes */ | /* Tables / infoboxes: light with dark text */ | ||
body.psy70 .wikitable, | body.psy70 .wikitable, | ||
body.psy70 table { | body.psy70 table { | ||
background-color: # | background-color: #f8f9fa !important; | ||
border-color: rgba( | color: #111111 !important; | ||
border-color: rgba(0, 0, 0, 0.2) !important; | |||
} | } | ||
body.psy70 .wikitable th, | body.psy70 .wikitable th, | ||
body.psy70 .wikitable td { | body.psy70 .wikitable td { | ||
border-color: | border-color: rgba(0, 0, 0, 0.2) !important; | ||
color: #111111 !important; | |||
color: # | |||
} | } | ||
Revision as of 06:27, 26 November 2025
/***********************************************
* 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;
}