summaryrefslogtreecommitdiff
path: root/map.scss
blob: 2843bb6bec519f21de55ba7444d7045a7f9d68b2 (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. z-index: -1; // keep branding visible
  17. position:absolute;
  18. top:0;
  19. bottom:0;
  20. width:100%;
  21. max-width: 100%; // override local styling
  22. margin: 0;
  23. }
  24. .leaflet-control-scale {
  25. text-align: center;
  26. }
  27. .leaflet-left .leaflet-control {
  28. margin-left: 20px; // match branding
  29. }
  30. .leaflet-left .leaflet-control {
  31. margin-top: 96px; // match branding (20+56+20)
  32. }
  33. .topbar {
  34. @include inline-block; // avoid shadowing across whole viewport
  35. background-color: unset; // override local styling
  36. height: 4em; //avoid shadowing for map zoom
  37. }
  38. // override local styling
  39. .pageheader,
  40. .topbar ul,
  41. .sidebar,
  42. .farbar,
  43. #footer {
  44. @include h5bp-hidden;
  45. }