html, body { height: 100vh; } body { margin: 0; padding: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } @import "~leaflet/dist/leaflet.css"; @import "~leaflet.markercluster/dist/MarkerCluster.css"; @import "~leaflet.markercluster/dist/MarkerCluster.Default.css"; .legend { padding: 6px 8px; font: 14px Arial, Helvetica, sans-serif; background: white; background: rgba(255, 255, 255, 0.8); line-height: 24px; color: #555; } .legend h4 { text-align: center; font-size: 16px; margin: 2px 12px 8px; color: #777; } .legend span { position: relative; bottom: 3px; } .legend i { width: 18px; height: 18px; float: left; margin: 0 8px 0 0; opacity: 0.7; } .legend i.icon { background-size: 18px; background-color: rgba(255, 255, 255, 1); }