Module:Location map/styles.css: Difference between revisions

Content deleted Content added
m Protected "Module:Location map/styles.css": Highly visible template: match parent ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
Slightly tweak map theme for accessibility (black/blue text on white labels) and grayscale map
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 49:
padding: 1px;
float: left;
}
 
/* 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 {
background: white;
}
 
html.skin-theme-clientpref-night .locmap {
filter: grayscale(0.6);
}
 
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .locmap {
filter: grayscale(0.6);
}
html.skin-theme-clientpref-os .od,
html.skin-theme-clientpref-os .od .pv > div,
html.skin-theme-clientpref-os .od .pl > div,
html.skin-theme-clientpref-os .od .pr > div {
background: white;
}
}