2023-07-03 00:20:36 -05:00
|
|
|
@import "node_modules/ol/ol.css";
|
|
|
|
|
2023-07-28 08:14:48 -05:00
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-03 00:20:36 -05:00
|
|
|
#map {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2023-07-03 22:13:15 -05:00
|
|
|
left: 0;
|
2023-07-03 19:26:02 -05:00
|
|
|
right: 0;
|
2023-07-03 22:13:15 -05:00
|
|
|
transition: 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-open #map {
|
2023-07-28 08:14:48 -05:00
|
|
|
left: min(max(300px, 20%), 400px);
|
2023-07-03 19:26:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
2023-07-28 08:14:48 -05:00
|
|
|
width: min(max(300px, 20%), 400px);
|
|
|
|
margin-left: max(min(-300px, -20%), -400px);
|
2023-07-03 22:13:15 -05:00
|
|
|
transition: 0.25s;
|
2023-07-28 08:14:48 -05:00
|
|
|
max-height: 100vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside > div {
|
|
|
|
padding: 0 0.5em;
|
2023-07-03 22:13:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-open aside {
|
|
|
|
margin-left: 0;
|
2023-07-03 19:26:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
aside ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside ul li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
2023-07-03 00:20:36 -05:00
|
|
|
}
|
2023-07-03 22:41:24 -05:00
|
|
|
|
|
|
|
aside .close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-07-25 20:35:57 -05:00
|
|
|
aside details {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside summary {
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin: .5em 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-07-03 22:41:24 -05:00
|
|
|
@media (max-width: 400px) {
|
|
|
|
.nav-open #map {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
margin-left: calc(-100% + 2em);
|
|
|
|
width: calc(100% - 2em);
|
|
|
|
}
|
|
|
|
|
|
|
|
aside .close {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-open aside .close {
|
|
|
|
position: absolute;
|
|
|
|
top: 0.5em;
|
|
|
|
right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|