Ajout de l'eau potable
This commit is contained in:
parent
270449766f
commit
251cfa9a8a
2 changed files with 42 additions and 19 deletions
|
|
@ -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) ;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue