Ajout de l'eau potable

This commit is contained in:
EpicKiwi 2026-02-15 15:15:03 +01:00
parent 270449766f
commit 251cfa9a8a
Signed by: epickiwi
GPG key ID: C4B28FD2729941CE
2 changed files with 42 additions and 19 deletions

View file

@ -77,17 +77,26 @@ body, html {
.map-amenity-icon .map-amenity-icon-container {
transform: translateX(-50%) translateY(-50%);
width: fit-content;
display: flex;
flex-direction: row;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, min-content);
justify-content: center;
align-items: center;
gap: 5px;
& > img {
width: 2rem;
transform: scale( clamp(0.5, calc( var(--zoom-level) - 19 ), 1) );
transform-origin: 50% 50%;
}
& > * {
opacity: clamp(0, calc( var(--zoom-level) - 19 ), 1) ;
}
& > .drinking-water {
opacity: clamp(0, calc( var(--zoom-level) - 20 ), 1) ;
grid-row: 1;
grid-column: 1;
opacity: clamp(0, calc( var(--zoom-level) - 18 ), 1) ;
}
}