mobile position popup

This commit is contained in:
ouidade 2024-10-08 21:34:01 +02:00
parent caa62e7692
commit 24d9656058
5 changed files with 34 additions and 4 deletions

View File

@ -11,7 +11,15 @@
margin: 0 auto; /* Centrer le conteneur */ margin: 0 auto; /* Centrer le conteneur */
height: auto; /* Permet à la hauteur de s'ajuster automatiquement */ height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
@media (max-width: 810px) { @media (max-width: 810px) {
height: 550px; width: 80%; /* Prend toute la largeur du conteneur parent */
}
@media (max-width: 530px) {
width: 100%; /* Prend toute la largeur du conteneur parent */
height: 485px;
}
@media (max-width: 400px) {
width: 100%; /* Prend toute la largeur du conteneur parent */
height: 430px;
} }
} }

View File

@ -1,7 +1,7 @@
sites_map_block: sites_map_block:
css: css:
theme: theme:
assets/css/fontface.css: {} assets/css/fontface.scss: {}
assets/css/carte-interactive-qdd.css: {} assets/css/carte-interactive-qdd.scss: {}
js: js:
assets/js/carte-interactive-qdd.js: {} assets/js/carte-interactive-qdd.js: {}

View File

@ -1784,6 +1784,12 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
font-size: 2rem; font-size: 2rem;
padding-bottom: 2rem; padding-bottom: 2rem;
} }
@media (max-width: 1090px) {
#home article.node-type-static .field_field_map_block #block-sitesmapblock h2 {
padding-bottom: 0rem;
font-size: 1.8rem;
}
}
#home article.node-type-static #paragraph-id--1 { #home article.node-type-static #paragraph-id--1 {
background-color: #edefe8; background-color: #edefe8;
position: relative; position: relative;
@ -3077,7 +3083,19 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
} }
@media (max-width: 810px) { @media (max-width: 810px) {
#sites-map-container { #sites-map-container {
height: 550px; width: 80%; /* Prend toute la largeur du conteneur parent */
}
}
@media (max-width: 530px) {
#sites-map-container {
width: 100%; /* Prend toute la largeur du conteneur parent */
height: 485px;
}
}
@media (max-width: 400px) {
#sites-map-container {
width: 100%; /* Prend toute la largeur du conteneur parent */
height: 430px;
} }
} }

View File

@ -173,6 +173,10 @@
margin: auto; margin: auto;
font-size: 2rem; font-size: 2rem;
padding-bottom: 2rem; padding-bottom: 2rem;
@media(max-width: 1090px){
padding-bottom: 0rem;
font-size: 1.8rem;
}
} }
} }
} }