Re-add Dark Mapnik theme (via dodgy CSS hacks)

This commit is contained in:
Ian Renton
2026-04-06 16:16:19 +01:00
parent 60126b0010
commit 8f062320d3
12 changed files with 51 additions and 25 deletions

View File

@@ -214,6 +214,9 @@ div#map {
.leaflet-container {
font-family: var(--bs-body-font-family) !important;
}
[data-bs-theme=dark] .leaflet-control-attribution {
filter: invert(100%) hue-rotate(180deg) brightness(80%);
}
/* Make buttons overlaid on the map have a non-transparent fill so you can see the text better */
.btn-outline-secondary {