Pārlūkot izejas kodu

ajustement design teaser

ouidade 1 mēnesi atpakaļ
vecāks
revīzija
6870895a1e

+ 9 - 0
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -6743,6 +6743,7 @@ article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-title {
   grid-row: 3;
   margin-top: 0;
+  padding-bottom: 0.8rem;
 }
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-title h2 {
   margin-left: 0 !important;
@@ -6753,6 +6754,10 @@ article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-
   font-size: 1.3rem;
   font-style: normal;
 }
+article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre {
+  margin-top: 0;
+  line-height: 1;
+}
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre a,
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre a:visited {
   grid-row: 4;
@@ -6762,12 +6767,16 @@ article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-
 }
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-edition {
   grid-row: 6;
+  line-height: 1.1;
 }
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-date-de-parution {
   grid-row: 7;
 }
 article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-mots-clefs {
   grid-row: 8;
+  margin-top: 0.5rem;
+  left: -0.2rem;
+  position: relative;
 }
 article.node-type-ressource.type-paroles-de-laureats .wrapper-ressource .field--name-field-type-de-ressource {
   order: 2;

+ 7 - 0
web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss

@@ -48,6 +48,7 @@ article.node-type-ressource{
             .field--name-title{
                 grid-row: 3;
                 margin-top: 0;
+                padding-bottom: 0.8rem;
                 h2{
                     margin-left: 0 !important;
                     line-height: 0;
@@ -60,6 +61,8 @@ article.node-type-ressource{
                 
             }
             .field--name-field-sous-titre{
+                margin-top: 0;
+                line-height: 1;
                 a,
                 a:visited{
                 grid-row: 4;
@@ -73,12 +76,16 @@ article.node-type-ressource{
             }
             .field--name-field-edition{
                 grid-row: 6;
+                line-height: 1.1;
             }
             .field--name-field-date-de-parution{
                 grid-row: 7;
             }
             .field--name-field-mots-clefs{
                 grid-row: 8;
+                margin-top: 0.5rem;
+                left: -0.2rem;
+                position: relative;
             }
         }
     }