Jelajahi Sumber

retouche home

ouidade 3 tahun lalu
induk
melakukan
0eed8e0aa4

+ 11 - 10
web/themes/custom/eql/css-compiled/styles.css

@@ -419,13 +419,12 @@ a {
           order: 3; }
       .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-images .field__item img {
         max-width: 70%;
-        height: fit-content;
-        max-height: 200px;
-        object-fit: contain; }
-      .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-images::after {
-        display: block;
-        content: url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>'); }
+        max-height: 130px;
+        object-fit: cover;
+        width: 100%;
+        padding-bottom: 1rem; }
       .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite time {
+        font-size: 0.9rem;
         font-weight: 800;
         padding-right: 1rem;
         width: fit-content; }
@@ -445,7 +444,7 @@ a {
         align-self: flex-end;
         padding-right: 1rem; }
         .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .inline.links a {
-          content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
+          display: none; }
       .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-actu-type {
         padding-top: 2rem; }
 
@@ -632,11 +631,13 @@ a {
             color: #09398b; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-images .field__item img {
             width: 100%;
-            height: fit-content; }
+            max-height: 175px;
+            object-fit: cover; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-images::after {
             display: block;
             content: url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="5"/></svg>'); }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child time {
+            font-size: 0.9rem;
             font-weight: 800;
             padding-right: 1rem;
             width: fit-content; }
@@ -654,7 +655,7 @@ a {
             align-self: flex-end;
             padding-right: 1rem; }
             .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .inline.links a {
-              content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
+              display: none; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-actu-type {
             padding-top: 2rem; }
 
@@ -721,7 +722,7 @@ header {
       height: 100%;
       align-items: center; }
       #header-top .region-header-top-left #block-logogouv img {
-        width: 80%;
+        width: 70%;
         height: auto; }
     #header-top .region-header-top-left #block-logoeql {
       display: flex;

+ 13 - 8
web/themes/custom/eql/scss/pages/_home.scss

@@ -202,16 +202,18 @@
             .field--name-field-images {
                 .field__item img{  
                     max-width: 70%; 
-                    height: fit-content;  
-                    max-height: 200px;
-                    object-fit: contain;
-                }
-                &::after{ 
-                    display: block;
-                    content:url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>');
+                    max-height: 130px;
+                    object-fit: cover;
+                    width: 100%; 
+                    padding-bottom: 1rem;
                 }
+                // &::after{ 
+                //     display: block;
+                //     content:url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>');
+                // }
             }
             time{ 
+                font-size: 0.9rem;
                 font-weight: 800;
                 padding-right: 1rem;
                 width: fit-content;
@@ -233,8 +235,11 @@
                 align-self: flex-end;
                 padding-right: 1rem;
                 a{
-                    content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                    display: none;
                 }
+                // a{
+                //     content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                // }
             }
             .field--name-field-actu-type{
                 padding-top: 2rem;

+ 7 - 4
web/themes/custom/eql/scss/pages/_toutesactualites.scss

@@ -43,9 +43,8 @@
                     .field--name-field-images {
                         .field__item img{  
                             width: 100%; 
-                            height: fit-content;  
-                            // max-height: 175px;
-                            // object-fit: cover;
+                            max-height: 175px;
+                            object-fit: cover;
                         }
                         &::after{ 
                             display: block;
@@ -53,6 +52,7 @@
                         }
                     }
                     time{ 
+                        font-size: 0.9rem;
                         font-weight: 800;
                         padding-right: 1rem;
                         width: fit-content;
@@ -71,8 +71,11 @@
                         align-self: flex-end;
                         padding-right: 1rem;
                         a{
-                            content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                            display: none;
                         }
+                        // a{
+                        //     content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                        // }
                     }
                     .field--name-field-actu-type{
                         padding-top: 2rem;

+ 1 - 1
web/themes/custom/eql/scss/partials/_header.scss

@@ -36,7 +36,7 @@ header{
             height: 100%;
             align-items: center;
             img{
-                width: 80%;
+                width: 70%;
                 height: auto;
             }
         }