2024-10-30 22:05:15 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: 'gilroy-semibold';
|
|
|
|
src: url('../css/fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff');
|
|
|
|
}
|
|
|
|
#sites-map-container {
|
|
|
|
background-color: transparent;
|
|
|
|
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 */
|
|
|
|
@media (max-width: 810px) {
|
|
|
|
width: 80%; /* Prend toute la largeur du conteneur parent */
|
|
|
|
}
|
|
|
|
@media (max-width: 530px) {
|
|
|
|
width: 100%; /* Prend toute la largeur du conteneur parent */
|
2024-10-31 20:08:58 +01:00
|
|
|
height: 485px;
|
2024-10-30 22:05:15 +01:00
|
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
width: 100%; /* Prend toute la largeur du conteneur parent */
|
2024-10-31 20:08:58 +01:00
|
|
|
height: 430px;
|
2024-10-30 22:05:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 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-light';
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 1rem;
|
|
|
|
pointer-events: none;
|
|
|
|
@media (max-width: 1090px) {
|
|
|
|
bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Position du popup à droite lorsque l'écran est plus grand que 1090px */
|
|
|
|
@media (min-width: 1090px) {
|
|
|
|
#sites-map-container #popup {
|
|
|
|
top: 50%; /* Centrer verticalement */
|
|
|
|
left: 80%; /* Placer le popup à droite de la carte */
|
|
|
|
transform: translateY(-50%); /* Ajuster pour centrer verticalement */
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#sites-map-container strong{
|
|
|
|
color: #f7002b;
|
|
|
|
font-family: 'gilroy-bold';
|
|
|
|
}
|
|
|
|
#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;
|
2024-10-31 20:08:58 +01:00
|
|
|
|
2024-10-30 22:05:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#popup-content{
|
|
|
|
width: 300px;
|
|
|
|
padding-right: 30px;
|
|
|
|
|
|
|
|
p{
|
|
|
|
font-size: 0.7rem;
|
|
|
|
}
|
|
|
|
@media (max-width : 810px) {
|
|
|
|
width: 300px;
|
|
|
|
background-color: white;
|
|
|
|
border-radius: 5px;
|
2024-10-31 20:08:58 +01:00
|
|
|
padding: 0.5rem;
|
2024-10-30 22:05:15 +01:00
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
}
|