浏览代码

margin page projet

ouidade 3 年之前
父节点
当前提交
1f3c05ca2b

+ 23 - 22
web/themes/custom/eql/css-compiled/styles.css

@@ -3083,32 +3083,34 @@ a {
       max-height: 360px;
       object-fit: cover; }
 
-.path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first {
-  display: flex;
-  justify-content: flex-end;
-  position: -webkit-sticky;
-  position: sticky;
-  top: 10rem;
-  margin-top: 2rem; }
-  .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
+.path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first {
+  margin-top: 5rem; }
+  .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first {
     display: flex;
     justify-content: flex-end;
-    width: 50%;
-    background-color: white;
-    padding-right: 2rem; }
-    .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
+    position: -webkit-sticky;
+    position: sticky;
+    top: 10rem; }
+    .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
       display: flex;
-      font-size: 1rem;
-      font-weight: 1000;
-      color: #09398b;
-      border-bottom: 1px solid #009ee3;
-      padding-bottom: 0.5rem;
-      padding-right: 1rem;
-      margin-bottom: 0.8rem; }
-      .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
-        text-decoration: underline; }
+      justify-content: flex-end;
+      width: 50%;
+      background-color: white;
+      padding-right: 2rem; }
+      .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
+        display: flex;
+        font-size: 1rem;
+        font-weight: 1000;
+        color: #09398b;
+        border-bottom: 1px solid #009ee3;
+        padding-bottom: 0.5rem;
+        padding-right: 1rem;
+        margin-bottom: 0.8rem; }
+        .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
+          text-decoration: underline; }
 
 .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--second {
+  margin-top: 5rem;
   flex: 0 1 50%; }
   .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--second .block-region-second {
     width: 90%; }
@@ -3124,7 +3126,6 @@ a {
         font-family: 'Source Code Pro';
         color: #09398b;
         text-transform: uppercase;
-        margin-top: 2rem;
         margin-bottom: 0.8rem; }
       .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 {
         text-transform: none !important; }

+ 3 - 1
web/themes/custom/eql/scss/pages/_incubateur.scss

@@ -86,9 +86,11 @@
                             }
             
                             // paragraphe texte
-                            .layout__region--second{    
+                            .layout__region--second{   
+                                 
                                 .block-config-pages-block{
                                     .config_pages--type--incubateur-du-programme{
+                                        
                                         .field--name-field-textes{
                                             .field__item{
                                                 .paragraph--type--texte{

+ 7 - 3
web/themes/custom/eql/scss/pages/_projet.scss

@@ -86,14 +86,14 @@
             
                     .layout__region--first{
                         // margin-top: 18rem;
-            
+                        margin-top: 5rem;
                         .block-region-first{
                             display: flex;
                             justify-content: flex-end;
                             position: -webkit-sticky;
                             position: sticky;
                             top: 10rem;
-                            margin-top: 2rem;
+                           
                             .block-entity-fieldnodefield-textes{
                                 display: flex;
                                 justify-content: flex-end;
@@ -125,6 +125,7 @@
                     }
                     .layout__region--second{ 
                         // grid-row: 3; 
+                        margin-top: 5rem;
                         flex: 0 1 50%;
                         // margin-top: 18rem;
                         .block-region-second{
@@ -146,7 +147,7 @@
                                     font-family: 'Source Code Pro';
                                     color: $blue-dark;
                                     text-transform: uppercase;
-                                    margin-top: 2rem;
+                                    
                                     margin-bottom: 0.8rem;
                                 }
                                 h4{
@@ -326,6 +327,9 @@
                                             font-weight: 600;
                     
                                         }
+                                    }
+                                    .field--name-field-type-de-ressource{
+
                                     }
                                     .field--name-field-auteur-s-{
                                         font-weight: 800;