diff options
-rw-r--r-- | map.scss | 40 | ||||
l--------- | partials/_leaflet.scss | 1 |
2 files changed, 41 insertions, 0 deletions
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 |