Quellcode durchsuchen

page actualite image affinage

ouidade vor 3 Jahren
Ursprung
Commit
066ec6320a

+ 17 - 14
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;

+ 3 - 3
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;
                     }
                     

+ 1 - 0
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;

+ 1 - 0
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{

+ 1 - 0
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;

+ 2 - 1
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';

+ 1 - 0
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{

+ 1 - 2
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;