add 30% x-offset on zoom

This commit is contained in:
2018-10-10 22:48:27 +02:00
parent 36a3bfc726
commit 40a242ccb2
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;