}
}
+@include color-mode(dark) {
+ .leaflet-tile-container,
+ .mapkey-table-entry td:first-child > * {
+ filter: brightness(.8);
+ }
+}
+
/* Rules for attribution text under the main map shown on printouts */
.donate-attr { color: darken($green, 10%) !important; }
.browse-section #{$class}::before {
content: image-url('browse/#{map.get($item, "filename")}');
}
+
+ @if map.get($item, "invert") {
+ @include color-mode(dark) {
+ .browse-section #{$class}::before {
+ filter: invert(.8) hue-rotate(180deg);
+ }
+ }
+ }
}