From 1f3c05ca2b011d51cdf6e5c50e9e634a0cf12b8d Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 7 Mar 2022 16:36:03 +0100 Subject: [PATCH] margin page projet --- web/themes/custom/eql/css-compiled/styles.css | 45 ++++++++++--------- .../custom/eql/scss/pages/_incubateur.scss | 4 +- web/themes/custom/eql/scss/pages/_projet.scss | 10 +++-- 3 files changed, 33 insertions(+), 26 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 6703abe..a887605 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/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; } diff --git a/web/themes/custom/eql/scss/pages/_incubateur.scss b/web/themes/custom/eql/scss/pages/_incubateur.scss index 0a5af77..ad7bbc1 100644 --- a/web/themes/custom/eql/scss/pages/_incubateur.scss +++ b/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{ diff --git a/web/themes/custom/eql/scss/pages/_projet.scss b/web/themes/custom/eql/scss/pages/_projet.scss index d0925cd..08b50f2 100644 --- a/web/themes/custom/eql/scss/pages/_projet.scss +++ b/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;