Skip to content

Instantly share code, notes, and snippets.

@dKvale
Created February 25, 2023 17:04
Show Gist options
  • Save dKvale/6361c9f40908e1ad4d856cf9dcd9a71d to your computer and use it in GitHub Desktop.
Save dKvale/6361c9f40908e1ad4d856cf9dcd9a71d to your computer and use it in GitHub Desktop.
/* Work around CSS properties introduced on img by bootstrap */
img.leaflet-tile {
padding: 0;
margin: 0;
border-radius: 0;
border: none;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend {
line-height: 18px;
color: #555;
}
.legend svg text {
fill: #555;
}
.legend svg line {
stroke: #555;
}
.legend i {
width: 18px;
height: 18px;
margin-right: 4px;
opacity: 0.7;
display: inline-block;
vertical-align: top;
/*For IE 7*/
zoom: 1;
*display: inline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment