diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-02-19 13:54:10 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-02-19 13:54:10 +0100 |
commit | bb6a9990df060199cb5fb5256bf9460d35ce0b8a (patch) | |
tree | 3b5f49e8ab334cb141bcebed3cdd73e03f92409e | |
parent | 6faa95b2f9aa1d6dfb534a4cc1c09f2a3d9ee90d (diff) |
Add map styling.
-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 |