diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index e346072..b835880 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -153,13 +153,10 @@ a { /* @import "pages/partials/header_footer"; @import "pages/home";*/ -.layout__region--top { - padding-bottom: 3rem; - height: 30vh; } - .layout__region--top .block-entity-fieldnodetitle { - width: fit-content; - margin-left: 13%; - margin-top: 15vh; } +.layout__region--top .block-entity-fieldnodetitle { + width: fit-content; + margin-left: 13%; + margin-top: 15vh; } .layout__region--first .block-region-first { display: flex; @@ -582,7 +579,8 @@ a { max-width: 100vw; background-size: contain; } .node-id-20 .layout__region--top { - padding-bottom: 3rem; } + padding-bottom: 3rem; + height: 30vh; } .node-id-20 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { font-family: 'Source Code Pro'; font-size: 2rem; @@ -621,6 +619,7 @@ a { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top { background-color: rgba(0, 158, 227, 0.2); + height: 40vh; padding-right: 1rem; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top { display: grid; @@ -629,7 +628,7 @@ a { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-actu-type { grid-column: 2; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodetitle { - grid-column: 2 /span 12; + grid-column: 2 /span 9; margin: 0; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { font-family: "Source Code Pro"; @@ -647,7 +646,7 @@ a { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-images img { padding-top: 2rem; width: 600px; - max-height: 400px; + max-height: 360px; object-fit: cover; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first { @@ -673,7 +672,8 @@ a { background-size: contain; } .node-id-35 .layout__region--top { - padding-bottom: 3rem; } + padding-bottom: 3rem; + height: 30vh; } .node-id-35 .layout__region--top .block-region-top .block-entity-fieldnodefield-images { display: none; height: inherit; } @@ -692,7 +692,8 @@ a { max-width: 100vw; background-size: contain; } .node-id-3 .layout__region--top { - padding-bottom: 3rem; } + padding-bottom: 3rem; + height: 30vh; } .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodefield-images { display: none; height: inherit; } @@ -777,7 +778,8 @@ a { max-width: 100vw; background-size: contain; } .node-id-4 .layout__region--top { - padding-bottom: 3rem; } + padding-bottom: 3rem; + height: 30vh; } .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodefield-images { display: none; height: inherit; } @@ -810,7 +812,8 @@ a { background-size: contain; } .node-id-5 .layout__region--top { - padding-bottom: 3rem; } + padding-bottom: 3rem; + height: 30vh; } .node-id-5 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { font-family: 'Source Code Pro'; font-size: 2rem; diff --git a/web/themes/custom/eql/scss/pages/_actualite.scss b/web/themes/custom/eql/scss/pages/_actualite.scss index 7e25a09..889cd03 100644 --- a/web/themes/custom/eql/scss/pages/_actualite.scss +++ b/web/themes/custom/eql/scss/pages/_actualite.scss @@ -7,7 +7,7 @@ // grid-row: 1 / span 2; background-color: $background-actus; - // height: fit-content; + height: 40vh; padding-right: 1rem; .block-region-top{ // position: relative; @@ -20,7 +20,7 @@ } .block-entity-fieldnodetitle{ - grid-column: 2 /span 12; + grid-column: 2 /span 9; margin: 0; .field--name-title{ font-family: "Source Code Pro"; @@ -43,7 +43,7 @@ padding-top: 2rem; width: 600px; // height: auto; - max-height: 400px; + max-height: 360px; object-fit: cover; } diff --git a/web/themes/custom/eql/scss/pages/_ami.scss b/web/themes/custom/eql/scss/pages/_ami.scss index b1f401f..68c2791 100644 --- a/web/themes/custom/eql/scss/pages/_ami.scss +++ b/web/themes/custom/eql/scss/pages/_ami.scss @@ -8,6 +8,7 @@ .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; + height: 30vh; .block-region-top{ .block-entity-fieldnodefield-images{ display: none; diff --git a/web/themes/custom/eql/scss/pages/_contact.scss b/web/themes/custom/eql/scss/pages/_contact.scss index b15964e..226e470 100644 --- a/web/themes/custom/eql/scss/pages/_contact.scss +++ b/web/themes/custom/eql/scss/pages/_contact.scss @@ -10,6 +10,7 @@ .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; + height: 30vh; .block-region-top{ .block-entity-fieldnodetitle{ .field--name-title{ diff --git a/web/themes/custom/eql/scss/pages/_gouvernance.scss b/web/themes/custom/eql/scss/pages/_gouvernance.scss index fdf2d1d..466cac1 100644 --- a/web/themes/custom/eql/scss/pages/_gouvernance.scss +++ b/web/themes/custom/eql/scss/pages/_gouvernance.scss @@ -10,6 +10,7 @@ .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; + height: 30vh; .block-region-top{ .block-entity-fieldnodefield-images{ display: none; diff --git a/web/themes/custom/eql/scss/pages/_partenaires.scss b/web/themes/custom/eql/scss/pages/_partenaires.scss index 0dfb096..679c5ff 100644 --- a/web/themes/custom/eql/scss/pages/_partenaires.scss +++ b/web/themes/custom/eql/scss/pages/_partenaires.scss @@ -8,8 +8,9 @@ .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; + height: 30vh; .block-region-top{ - + .block-entity-fieldnodetitle{ .field--name-title{ font-family: 'Source Code Pro'; diff --git a/web/themes/custom/eql/scss/pages/_programme.scss b/web/themes/custom/eql/scss/pages/_programme.scss index f65e306..a586ec2 100644 --- a/web/themes/custom/eql/scss/pages/_programme.scss +++ b/web/themes/custom/eql/scss/pages/_programme.scss @@ -8,6 +8,7 @@ .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; + height: 30vh; .block-region-top{ .block-entity-fieldnodefield-images{ diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 529a281..02193cb 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -1,8 +1,7 @@ .layout__region--top{ //bandeau titre page static - padding-bottom: 3rem; - height: 30vh; + .block-entity-fieldnodetitle{ width: fit-content;