size map conatiner, page node site
This commit is contained in:
parent
c0f0a9d22a
commit
3d51c909fa
|
@ -6,7 +6,7 @@
|
|||
background-color: transparent;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
width: 100%; /* Prend toute la largeur du conteneur parent */
|
||||
width: 155%; /* 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 */
|
||||
|
|
|
@ -2918,6 +2918,9 @@ body {
|
|||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first .block-region-first {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 20% !important;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first .block-region-first .views-element-container {
|
||||
margin-bottom: 3rem;
|
||||
|
@ -2927,11 +2930,7 @@ body {
|
|||
margin-bottom: 0.5rem;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div #sites-map-container {
|
||||
width: auto;
|
||||
left: 0.3rem;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) {
|
||||
margin: auto;
|
||||
left: -50px;
|
||||
}
|
||||
@media (max-width: 500px) {
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) {
|
||||
|
@ -2968,9 +2967,6 @@ body {
|
|||
padding-left: 0.2rem;
|
||||
padding-bottom: 0.2rem;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) {
|
||||
margin: auto;
|
||||
}
|
||||
@media (max-width: 500px) {
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) {
|
||||
margin-top: 1rem;
|
||||
|
@ -2981,6 +2977,7 @@ body {
|
|||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .field_field_liens_site {
|
||||
background: black;
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
@media (max-width: 810px) {
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .field_field_liens_site {
|
||||
|
@ -3004,7 +3001,7 @@ body {
|
|||
padding-left: 0.2rem;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second {
|
||||
flex: 0 1 60% !important;
|
||||
flex: 0 1 55% !important;
|
||||
}
|
||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second {
|
||||
display: flex;
|
||||
|
@ -3241,7 +3238,7 @@ main {
|
|||
background-color: transparent;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
width: 100%; /* Prend toute la largeur du conteneur parent */
|
||||
width: 155%; /* 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 */
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
|
||||
.block-region-first{
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 20% !important;
|
||||
.views-element-container{
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
@ -30,12 +33,13 @@
|
|||
width: fit-content;
|
||||
margin-bottom: 0.5rem;
|
||||
#sites-map-container{
|
||||
width: auto;
|
||||
left: 0.3rem;
|
||||
// width: auto;
|
||||
// left: 0.3rem;
|
||||
left: -50px;
|
||||
}
|
||||
}
|
||||
div:has(.field_field_documents){
|
||||
margin: auto;
|
||||
// margin: auto;
|
||||
@media(max-width: 500px){
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
@ -72,7 +76,8 @@
|
|||
|
||||
}
|
||||
div:has(.field_field_liens_site){
|
||||
margin: auto;
|
||||
// margin: auto;
|
||||
// width: 50%;
|
||||
@media(max-width: 500px){
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
@ -82,6 +87,7 @@
|
|||
}
|
||||
.field_field_liens_site{
|
||||
background: black;
|
||||
padding-left: 0.5rem;
|
||||
@media (max-width:810px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
@ -109,7 +115,7 @@
|
|||
|
||||
}
|
||||
.layout__region--second{
|
||||
flex: 0 1 60% !important;
|
||||
flex: 0 1 55% !important;
|
||||
// width: 60%;
|
||||
.block-region-second{
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in New Issue