add 30% x-offset on zoom

This commit is contained in:
2018-10-10 22:48:27 +02:00
parent 3b7a92d44a
commit abaf459017
4 changed files with 35 additions and 30 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -37,14 +37,17 @@
}
}
}
#legend {
background: white;
#legend, .leaflet-control-layers.leaflet-control {
background-color: rgba(255, 255, 255, 0.5);
font-family: Roboto, Arial, sans-serif;
background: rgba(255, 255, 255, 0.5);
border-radius: 3px;
padding: 1px 0 0 0;
border: none;
margin: 1em;
}
#legend {
right: 30vw;
.line {
display: inline-block;
border-left: 2em solid;