64 lines
1.3 KiB
SCSS
64 lines
1.3 KiB
SCSS
@font-face {
|
|
font-family: 'gilroy-semibold';
|
|
src: url('fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff');
|
|
}
|
|
#sites-map-container {
|
|
background-color: #cecfcc;
|
|
text-align: center;
|
|
position: relative;
|
|
width: 100%; /* Prend toute la largeur du conteneur parent */
|
|
max-width: 800px; /* Optionnel : Limiter la largeur maximale */
|
|
margin: 0 auto; /* Centrer le conteneur */
|
|
height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
|
|
}
|
|
|
|
|
|
/* Changer la couleur au survol (hover) */
|
|
#sites-map-container .site-link:hover{
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
/* Styles du popup (caché par défaut) */
|
|
#sites-map-container #popup {
|
|
font-family: 'gilroy-semibold';
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1000;
|
|
text-align: left;
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
#sites-map-container strong{
|
|
color: #f7002b;
|
|
font-family: 'gilroy-semibold';
|
|
}
|
|
#sites-map-container a{
|
|
display: none;
|
|
align-items: center;
|
|
color: white;
|
|
background: black;
|
|
text-transform: uppercase;
|
|
font-size: 0.8rem;
|
|
padding-left: 0.5rem;
|
|
text-decoration: none;
|
|
margin-top: 0.7rem;
|
|
height: 1.3rem;
|
|
}
|
|
#sites-map-container a:after{
|
|
display: inline-flex;
|
|
content: url("../img/noun-arrow-to-right.svg");
|
|
padding-right: 0.2rem;
|
|
padding-left: 0.2rem;
|
|
|
|
}
|
|
|
|
#popup-content{
|
|
width: 300px;
|
|
p{
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|