summaryrefslogtreecommitdiff
path: root/map.scss
blob: 562e8ca2a32a15798874facacef437d3c6f4e3e9 (plain)
  1. @import 'h5bp/helpers';
  2. @import 'partials/leaflet';
  3. @import "compass/css3";
  4. body {
  5. margin:0;
  6. padding:0;
  7. }
  8. // keep headline above map, besides branding
  9. h1 {
  10. z-index: 1;
  11. position: absolute;
  12. left: 222px; // match branding (20+202)
  13. margin: 20px; // match branding (20)
  14. }
  15. #content,
  16. #map {
  17. padding: 0;
  18. z-index: -1; // keep branding visible
  19. position:absolute;
  20. top:0;
  21. bottom:0;
  22. width:100%;
  23. max-width: 100%; // override local styling
  24. margin: 0;
  25. }
  26. .leaflet-control-scale {
  27. text-align: center;
  28. }
  29. .leaflet-left .leaflet-control {
  30. margin-left: 20px; // match branding
  31. }
  32. .leaflet-left .leaflet-control {
  33. margin-top: 96px; // match branding (20+56+20)
  34. }
  35. .topbar {
  36. @include inline-block; // avoid shadowing across whole viewport
  37. background-color: unset; // override local styling
  38. height: 4em; //avoid shadowing for map zoom
  39. }
  40. // override local styling
  41. .pageheader,
  42. .topbar ul,
  43. .topbar .imgframe,
  44. .sidebar,
  45. .farbar,
  46. #footer {
  47. @include h5bp-hidden;
  48. }