From 46aca60000f8a2b006a1fd2fa7c3c81dd0bde8b4 Mon Sep 17 00:00:00 2001 From: Malvoz <26493779+Malvoz@users.noreply.github.com> Date: Thu, 28 Jan 2021 14:45:05 +0100 Subject: [PATCH 1/2] Remove opinionated styles of attribution links --- src/mapml.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mapml.css b/src/mapml.css index ed66167ec..514e463f5 100644 --- a/src/mapml.css +++ b/src/mapml.css @@ -93,10 +93,17 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgb(0, 0, 0, 0.3); } +/* Increase contrast between the attribution container and the underlying content. */ .leaflet-container .leaflet-control-attribution { background-color: rgba(255, 255, 255, 0.95); } +/* Remove opinionated styles of attribution links. */ +.leaflet-control-attribution a { + color: revert; + text-decoration: revert; +} + /* * Zoom controls. */ From f61e1e4676e72f6aa58b7414a5563ac22cd73d6f Mon Sep 17 00:00:00 2001 From: Malvoz <26493779+Malvoz@users.noreply.github.com> Date: Wed, 3 Feb 2021 22:01:14 +0100 Subject: [PATCH 2/2] Remove opinionated link color --- src/mapml.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mapml.css b/src/mapml.css index 514e463f5..3e89a2103 100644 --- a/src/mapml.css +++ b/src/mapml.css @@ -35,6 +35,11 @@ font-size: 12px; } +/* Remove opinionated color of links. */ +.leaflet-container a { + color: initial; +} + /* * Controls. */