93 lines
No EOL
1.7 KiB
CSS
93 lines
No EOL
1.7 KiB
CSS
body, html {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* HEADER and NAV */
|
|
|
|
#main-header {
|
|
display: flex;
|
|
justify-content: start;
|
|
align-items: stretch;
|
|
flex-direction: row;
|
|
|
|
background: radial-gradient(black, transparent 50%);
|
|
background-size: 40rem 20rem;
|
|
background-repeat: no-repeat;
|
|
background-position: -15rem -10rem;
|
|
|
|
padding: 15px;
|
|
padding-bottom: 30px;
|
|
|
|
pointer-events: none;
|
|
|
|
& > * {
|
|
pointer-events: all;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
#main-header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
background: linear-gradient(to bottom, black, transparent);
|
|
}
|
|
}
|
|
|
|
#main-header #logo {
|
|
max-height: clamp(2rem, 10vh, 5rem);
|
|
filter: drop-shadow(rgba(0,0,0,0.5) 0 0 10px);
|
|
}
|
|
|
|
/* MAP */
|
|
|
|
#map {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
#search-section {
|
|
margin-left: 50px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.leaflet-container .leaflet-control-attribution {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
color: white;
|
|
padding: 5px;
|
|
border-bottom-left-radius: 5px;
|
|
|
|
& a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.map-hilight-area.active {
|
|
stroke: #ff4e00;
|
|
stroke-width: 5px;
|
|
fill: rgba(255, 77, 0, 0.25);
|
|
}
|
|
|
|
.map-amenity-icon .map-amenity-icon-container {
|
|
transform: translateX(-50%) translateY(-50%);
|
|
width: fit-content;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 5px;
|
|
|
|
& > * {
|
|
opacity: clamp(0, calc( var(--zoom-level) - 19 ), 1) ;
|
|
}
|
|
|
|
& > .drinking-water {
|
|
opacity: clamp(0, calc( var(--zoom-level) - 20 ), 1) ;
|
|
}
|
|
} |