From a98b50343232023e86318e8ed1a28cb7224e118c Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 7 Dec 2021 15:28:38 +0100 Subject: [PATCH] page actu --- web/profiles/d8-starterkit-profile | 2 +- web/themes/custom/eql/css-compiled/styles.css | 19 ++++++++------ .../custom/eql/scss/pages/_actualite.scss | 25 ++++++++++++------- 3 files changed, 29 insertions(+), 17 deletions(-) diff --git a/web/profiles/d8-starterkit-profile b/web/profiles/d8-starterkit-profile index 9b46db9..6fe8986 160000 --- a/web/profiles/d8-starterkit-profile +++ b/web/profiles/d8-starterkit-profile @@ -1 +1 @@ -Subproject commit 9b46db9c56faf2cbc965ea1b76ce5345e7f46c0f +Subproject commit 6fe8986494069c7e9bf019cbe98d8f2c7d5166d0 diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 9223c31..3fd9f28 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -626,7 +626,10 @@ a { background-color: rgba(0, 158, 227, 0.2); } .path-node.page-node-type-actualite .layout__region--top .block-region-top { display: grid; - grid-template-columns: 1fr repeat(4, 2fr) 1fr; } + grid-template-columns: 1fr repeat(4, 2fr) 1fr; + padding-top: 2rem; } + .path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodefield-actu-type { + grid-column: 2; } .path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodetitle { grid-column: 2 /span 6; margin: 0; } @@ -641,13 +644,15 @@ a { font-size: 1.5rem; font-weight: 800; } -.path-node.page-node-type-actualite .block-region-second .block-entity-fieldnodebody { - width: 90%; } - .path-node.page-node-type-actualite .block-region-second .block-entity-fieldnodebody .panel-body #outputtext { - overflow-y: visible !important; } +.layout__region--second { + flex: 0 1 45%; } + .layout__region--second .block-region-second { + width: 90%; } + .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext { + overflow-y: visible !important; } -.path-node.page-node-type-actualite .layout__region--third .block-region-third { - max-width: 70%; } +.layout__region--third .block-region-third { + width: 65%; } .node-id-35 .region-content { background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); diff --git a/web/themes/custom/eql/scss/pages/_actualite.scss b/web/themes/custom/eql/scss/pages/_actualite.scss index 3f3acf7..25e282f 100644 --- a/web/themes/custom/eql/scss/pages/_actualite.scss +++ b/web/themes/custom/eql/scss/pages/_actualite.scss @@ -6,6 +6,11 @@ .block-region-top{ display: grid; grid-template-columns: 1fr repeat(4, 2fr) 1fr; + padding-top: 2rem; + .block-entity-fieldnodefield-actu-type{ + + grid-column: 2; + } .block-entity-fieldnodetitle{ grid-column: 2 /span 6; @@ -27,24 +32,26 @@ } } +} +.layout__region--second{ + flex: 0 1 45%; .block-region-second{ + width: 90%; .block-entity-fieldnodebody{ - width: 90%; + .panel-body{ #outputtext{ overflow-y: visible !important; } } } - } - .layout__region--third{ - .block-region-third{ - max-width: 70%; - } - +} + +.layout__region--third{ + .block-region-third{ + width: 65%; + } } - -