jarek on Nostr: Do you use OpenStreetMap.org? Do you have dark mode on and don't like the newly ...
Do you use OpenStreetMap.org? Do you have dark mode on and don't like the newly greyed out tiles?
Here's a quick and hacky `userContent.css` definition to undo the greying:
```
/* openstreetmap.org */
@media (prefers-color-scheme: dark) {
#content #map .leaflet-pane .leaflet-tile-container .leaflet-tile, #content #map .mapkey-table-entry td:first-child > * {
filter: brightness(1.0) !important;
}
}
```
(The `#content #map` selectors I added to mimic openstreetmap dot org’s DOM structure. It might still catch some other websites, but would make no difference unless they use CSS filters too.)
Quick howto on userContent.css in Firefox here: https://davidwalsh.name/firefox-user-stylesheet
#OpenStreetMap
Here's a quick and hacky `userContent.css` definition to undo the greying:
```
/* openstreetmap.org */
@media (prefers-color-scheme: dark) {
#content #map .leaflet-pane .leaflet-tile-container .leaflet-tile, #content #map .mapkey-table-entry td:first-child > * {
filter: brightness(1.0) !important;
}
}
```
(The `#content #map` selectors I added to mimic openstreetmap dot org’s DOM structure. It might still catch some other websites, but would make no difference unless they use CSS filters too.)
Quick howto on userContent.css in Firefox here: https://davidwalsh.name/firefox-user-stylesheet
#OpenStreetMap