Content deleted Content added
per tper |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 52:
/* Dark mode theme: */
html.skin-theme-clientpref-night .od,▼
html.skin-theme-clientpref-night .od .pv > div,▼
html.skin-theme-clientpref-night .od .pl > div,▼
html.skin-theme-clientpref-night .od .pr > div {▼
/* Use !important to override any infobox rules */▼
background: #fff !important;▼
color: #000 !important;▼
}▼
@media screen {
html.skin-theme-clientpref-night .locmap {▼
▲ html.skin-theme-clientpref-night .od,
filter: grayscale(0.6);▼
▲ html.skin-theme-clientpref-night .od .pv > div,
▲ html.skin-theme-clientpref-night .od .pl > div,
▲ html.skin-theme-clientpref-night .od .pr > div {
▲ }
▲ html.skin-theme-clientpref-night .locmap img {
}
/* Special handling for maps inside infoboxes
* [[Module talk:Location map#Map label background bug in dark mode]]
*/
}
}
@media screen and (prefers-color-scheme: dark) {
▲ html.skin-theme-clientpref-os .od,
html.skin-theme-clientpref-os .od .pr > div {
▲ background: white !important;
color: #000 !important;
}
html.skin-theme-clientpref-os .infobox-full-data .locmap div {
background: transparent !important;
}
}
|