From bb6a9990df060199cb5fb5256bf9460d35ce0b8a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 19 Feb 2016 13:54:10 +0100 Subject: Add map styling. --- map.scss | 40 ++++++++++++++++++++++++++++++++++++++++ partials/_leaflet.scss | 1 + 2 files changed, 41 insertions(+) create mode 100644 map.scss create mode 120000 partials/_leaflet.scss diff --git a/map.scss b/map.scss new file mode 100644 index 0000000..85a1cc2 --- /dev/null +++ b/map.scss @@ -0,0 +1,40 @@ +@import 'partials/leaflet'; + +body { + margin:0; + padding:0; +} + +#content { + z-index: -1; // keep branding visible + position:absolute; + top:0; + bottom:0; + width:100%; + max-width: 100%; // override local styling + margin: 0; +} + +.leaflet-control-scale { + text-align: center; +} + +.leaflet-left .leaflet-control { + margin-left: 20px; // match branding +} +.leaflet-left .leaflet-control { + margin-top: 96px; // match branding (20+56+20) +} + +.topbar { + background-color: unset; // override local styling +} + + // override local styling +.pageheader, +.topbar ul, +.sidebar, +.farbar, +#footer { + display: none; +} diff --git a/partials/_leaflet.scss b/partials/_leaflet.scss new file mode 120000 index 0000000..40a1f03 --- /dev/null +++ b/partials/_leaflet.scss @@ -0,0 +1 @@ +/usr/share/javascript/leaflet/leaflet.css \ No newline at end of file -- cgit v1.2.3