فهرست منبع

css tittle ressource teaser lineheight

ouidade 1 روز پیش
والد
کامیت
119a6184f9

+ 8 - 2
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -6394,9 +6394,13 @@ article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-re
   grid-row: 3;
   margin-top: 0;
 }
-article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title a {
+article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title h2 {
+  margin-left: 0 !important;
+  line-height: 0;
+}
+article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title h2 a {
   color: rgb(0, 158, 227);
-  font-size: 1.2rem;
+  font-size: 1.5rem;
   font-style: normal;
 }
 article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre {
@@ -6444,6 +6448,8 @@ article.node-type-ressource .wrapper-ressource .field--name-title {
 article.node-type-ressource .wrapper-ressource .field--name-title h2 {
   margin: 0;
   line-height: 1rem;
+  margin-left: 0 !important;
+  line-height: 0;
 }
 article.node-type-ressource .wrapper-ressource .field--name-title h2 a {
   color: rgb(0, 0, 0);

+ 11 - 4
web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss

@@ -39,11 +39,16 @@ article.node-type-ressource{
             .field--name-title{
                 grid-row: 3;
                 margin-top: 0;
-                a{
-                    color: $blue-light;
-                    font-size: 1.2rem;
-                    font-style: normal;
+                h2{
+                    margin-left: 0 !important;
+                    line-height: 0;
+                    a{
+                        color: $blue-light;
+                        font-size: 1.5rem;
+                        font-style: normal;
+                    }
                 }
+                
             }
             .field--name-field-sous-titre{
                 grid-row: 4;
@@ -94,6 +99,8 @@ article.node-type-ressource{
             h2{
                 margin: 0;
                 line-height: 1rem;
+                margin-left: 0 !important;
+                line-height: 0;
                 a{
                     color: $black;
                     font-size: 1rem;