diff options
-rw-r--r-- | style.less | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -66,3 +66,17 @@ div#p-logo { font-weight: normal; display: block; } + + + +// **************** Map elements + +// We change the color of the marker using filter. The base color must be black. Color generator: https://codepen.io/sosuke/pen/Pjoqqp + +.leaflet-marker-icon img, img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive { + filter: invert(18%) sepia(67%) saturate(3680%) hue-rotate(93deg) brightness(95%) contrast(103%) drop-shadow(2px 4px 6px lightgrey); +} + +.leaflet-marker-icon span { + color: white; +} |