From 71f8ff794340c738cd123399efd3438bc6349f94 Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 2 Dec 2021 21:43:15 +0100 Subject: [PATCH] titre home --- web/profiles/d8-starterkit-profile | 2 +- web/themes/custom/eql/css-compiled/styles.css | 7 ++----- web/themes/custom/eql/scss/pages/_home.scss | 12 ++++-------- 3 files changed, 7 insertions(+), 14 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 a8d7913..74c3929 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -280,16 +280,13 @@ a { grid-column: 2 /span 3; grid-row: 2 / span 2; font-size: 5rem; - text-decoration: underline; font-weight: 900; color: #009ee3; - line-height: 6rem; + line-height: 7rem; margin-top: 6rem; margin-bottom: 5rem; width: fit-content; } - .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche p { - display: inline-block; - margin: 0px auto 0px auto; + .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span { background-color: white; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title { grid-column: 4; diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index e2d188f..bb5c810 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -34,21 +34,17 @@ .field--name-field-accroche{ grid-column: 2 /span 3; grid-row: 2 / span 2; - font-size: 5rem; - text-decoration: underline; - // background-color: $white; + font-size: 5rem; font-weight: 900; color: $blue-light; - line-height: 6rem; + line-height: 7rem; margin-top: 6rem; margin-bottom: 5rem; width: fit-content; - p{ - display: inline-block; - margin: 0px auto 0px auto; + span { background-color: $white; - } + } .field--name-title{ grid-column: 4;