From 64e537f361dc4a194d20c0aba7cef9121d2d4dca Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 6 Jan 2022 11:18:53 +0100 Subject: [PATCH] fix margin static page --- web/themes/custom/eql/css-compiled/styles.css | 2 ++ web/themes/custom/eql/eql.libraries.yml | 2 +- web/themes/custom/eql/scss/pages/_static.scss | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 4878290..73b539e 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -218,6 +218,7 @@ a { text-decoration: underline; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes { + margin-top: 1rem; background-color: white; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--name-field-titre { font-size: 1.5rem; @@ -238,6 +239,7 @@ a { margin-top: 0; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third { + margin-top: 1rem; display: flex; flex-direction: column; width: 70%; } diff --git a/web/themes/custom/eql/eql.libraries.yml b/web/themes/custom/eql/eql.libraries.yml index 8e2ee85..b583542 100644 --- a/web/themes/custom/eql/eql.libraries.yml +++ b/web/themes/custom/eql/eql.libraries.yml @@ -1,7 +1,7 @@ global-css: css: theme: - css-compiled/styles.css: {} + css-compiled/prefixed/styles.css: {} global-js: js: scripts/main.js: {} diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 5791478..17322f3 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -65,7 +65,7 @@ .layout__region--second{ // paragraphe texte .block-entity-fieldnodefield-textes{ - + margin-top: 1rem; background-color: $white; .field--name-field-titre{ font-size: 1.5rem; @@ -96,6 +96,7 @@ .layout__region--third{ // colone de droite fichiers et ressources liƩes .block-region-third{ + margin-top: 1rem; display: flex; flex-direction: column; width: 70%;