summaryrefslogtreecommitdiff
path: root/style.less
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2021-10-20 04:11:50 -0300
committerYaco <franco@reevo.org>2021-10-20 04:11:50 -0300
commit907654f4729387a3438c32a70a4ef283a7147c10 (patch)
treeb78e7b04042e3cc0d68cbab19764669c8019faa2 /style.less
parentaff4ae1e02ccf5c064dea803d98878473b34c3d1 (diff)
adds map markers styles
Diffstat (limited to 'style.less')
-rw-r--r--style.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/style.less b/style.less
index 6206c79..c6ebceb 100644
--- a/style.less
+++ b/style.less
@@ -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;
+}