From dcb9482d02709845c7800d5d3f6bda51434e02d9 Mon Sep 17 00:00:00 2001 From: Ajeet-Nellikeri <87430348+Ajeet-Nellikeri@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:22:01 +0530 Subject: [PATCH 1/6] Update styles.css Inserted addition px data --- styles/styles.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/styles.css b/styles/styles.css index 6ba8a1f5..73c1df9b 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -193,6 +193,7 @@ /* line height */ --line-height-120: 120%; --line-height-160: 160%; + --line-height-8: 8px; /* letter spacing */ --letter-spacing-0: 0; @@ -213,6 +214,7 @@ --spacer-element-08: 32px; --spacer-element-09: 40px; --spacer-element-10: 48px; + --spacer-element-11: 64px; /* layout spacers */ --spacer-layout-01: 16px; From 0ac797f0d371cbec962f98f641b2753c20344b0d Mon Sep 17 00:00:00 2001 From: Ajeet-Nellikeri <87430348+Ajeet-Nellikeri@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:26:23 +0530 Subject: [PATCH 2/6] Update content-text-body.css Updated the code for fixes mentioned in issue 914 --- blocks/content-text-body/content-text-body.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/blocks/content-text-body/content-text-body.css b/blocks/content-text-body/content-text-body.css index 540cf225..e426a631 100644 --- a/blocks/content-text-body/content-text-body.css +++ b/blocks/content-text-body/content-text-body.css @@ -12,9 +12,11 @@ /* Block - Content Text Body */ .content-text-body h2, .content-text-body h3, -.content-text-body h4, +.content-text-body h4 { + margin: var(--spacer-element-11) 0 0 0; +} .content-text-body h5 { - margin: var(--spacer-element-08) 0 0 0; + margin: var(--spacer-element-05) 0 0 0; } .content-text-body h5 { @@ -23,11 +25,16 @@ font-weight: 300; } +.content-text-body li::marker { + font-size: var(--font-size-21) !important; + line-height: var(--line-height-8); +} + .content-text-body p, .content-text-body ul, .content-text-body ol, .content-text-body blockquote { - margin: var(--spacer-element-08) 0 0 0; + margin: var(--spacer-element-03) 0 0 0; font-size: var(--font-size-16); } @@ -37,7 +44,7 @@ .content-text-body h5 + ul, .content-text-body h5 + p, .content-text-body p + ul { - margin-top: 0; + margin-top: 8; } .content-text-body p span.icon { From f0762d6dd8c466c3564c60c554b26fd4fa3c93d6 Mon Sep 17 00:00:00 2001 From: Ajeet-Nellikeri <87430348+Ajeet-Nellikeri@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:27:26 +0530 Subject: [PATCH 3/6] Update short-cards.css Fixes related to Issue 914 --- blocks/short-cards/short-cards.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/short-cards/short-cards.css b/blocks/short-cards/short-cards.css index ee69eb1a..41f0e06d 100644 --- a/blocks/short-cards/short-cards.css +++ b/blocks/short-cards/short-cards.css @@ -39,7 +39,7 @@ main .section.short-cards-container.section-full-width > .short-cards-wrapper:la min-height: var(--spacer-layout-06); padding: var(--spacer-element-08); font-size: var(--font-size-18); - font-family: var(--sans-serif-font-medium); + font-family: var(--sans-serif-font-regular); font-weight: 500; line-height: 160%; text-decoration: none; From 2db3c64404ece9e3eca730330d177abf87f8ec30 Mon Sep 17 00:00:00 2001 From: Ajeet-Nellikeri <87430348+Ajeet-Nellikeri@users.noreply.github.com> Date: Mon, 22 Jan 2024 17:05:10 +0530 Subject: [PATCH 4/6] Update content-text-body.css content-text-body h5 - merged into one --- blocks/content-text-body/content-text-body.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/blocks/content-text-body/content-text-body.css b/blocks/content-text-body/content-text-body.css index e426a631..a762c392 100644 --- a/blocks/content-text-body/content-text-body.css +++ b/blocks/content-text-body/content-text-body.css @@ -12,14 +12,13 @@ /* Block - Content Text Body */ .content-text-body h2, .content-text-body h3, + .content-text-body h4 { margin: var(--spacer-element-11) 0 0 0; } -.content-text-body h5 { - margin: var(--spacer-element-05) 0 0 0; -} .content-text-body h5 { + margin: var(--spacer-element-05) 0 0 0; font-family: var(--sans-serif-font-light); font-size: var(--font-size-16); font-weight: 300; From 8c0f75e1cd6904f4145f336ffd1143095b41b0da Mon Sep 17 00:00:00 2001 From: Ajeet-Nellikeri <87430348+Ajeet-Nellikeri@users.noreply.github.com> Date: Mon, 22 Jan 2024 21:00:10 +0530 Subject: [PATCH 5/6] Update breadcrumb.css Text replacement from "..." to "Home" --- blocks/breadcrumb/breadcrumb.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/breadcrumb/breadcrumb.css b/blocks/breadcrumb/breadcrumb.css index b700484c..1aa23a0b 100644 --- a/blocks/breadcrumb/breadcrumb.css +++ b/blocks/breadcrumb/breadcrumb.css @@ -76,7 +76,7 @@ main .section.breadcrumb-container > div:first-child > *:first-child > *:first-c } .breadcrumb .breadcrumb__col ul li.breadcrumb__ellipsis::before { - content: "..."; + content: "Home"; } .breadcrumb .breadcrumb__col ul li.breadcrumb__ellipsis span { From 578cb996c8581466a11539b088db8c9aedab7b74 Mon Sep 17 00:00:00 2001 From: Ajeet Nellikeri Date: Tue, 30 Jan 2024 17:35:49 +0530 Subject: [PATCH 6/6] Updated content-text-body.css Spacing re-adjusted to 8 px --- blocks/content-text-body/content-text-body.css | 5 ++++- styles/styles.css | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/blocks/content-text-body/content-text-body.css b/blocks/content-text-body/content-text-body.css index a762c392..28cef32a 100644 --- a/blocks/content-text-body/content-text-body.css +++ b/blocks/content-text-body/content-text-body.css @@ -26,7 +26,10 @@ .content-text-body li::marker { font-size: var(--font-size-21) !important; - line-height: var(--line-height-8); +} + +.content-text-body ul li { + margin: var(--spacer-element-03) 0 0 0; } .content-text-body p, diff --git a/styles/styles.css b/styles/styles.css index 73c1df9b..f22a1d4c 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -193,7 +193,6 @@ /* line height */ --line-height-120: 120%; --line-height-160: 160%; - --line-height-8: 8px; /* letter spacing */ --letter-spacing-0: 0;