From a7d261ba03f0ca93359c91b2a5d1101efcf784c8 Mon Sep 17 00:00:00 2001 From: fkakatie Date: Mon, 15 Apr 2024 12:19:36 +0200 Subject: [PATCH] chore: remove duplicative css --- blocks/blog-home/blog-home.css | 5 ----- blocks/header/header.css | 11 ----------- blocks/solution-header/solution-header.css | 9 --------- 3 files changed, 25 deletions(-) diff --git a/blocks/blog-home/blog-home.css b/blocks/blog-home/blog-home.css index 5ea61bd7..386be573 100644 --- a/blocks/blog-home/blog-home.css +++ b/blocks/blog-home/blog-home.css @@ -716,11 +716,6 @@ h5 { /* Desktop styles */ @media only screen and (min-width: 1200px) { - .thought-leadership-home.main, - .blog-home.main { - padding-top: var(--nav-height-desktop); - } - main .section.thought-leadership-home-container, main .section.blog-home-container { padding-top: var(--spacer-layout-06); diff --git a/blocks/header/header.css b/blocks/header/header.css index 5943eb62..28b15c97 100644 --- a/blocks/header/header.css +++ b/blocks/header/header.css @@ -25,7 +25,6 @@ header nav { align-items: center; z-index: 1; width: 100%; - height: var(--nav-height-mobile); margin: 0 auto; padding: 0 24px; box-sizing: border-box; @@ -103,10 +102,6 @@ header nav .nav-sections .mega-menu a.link-with-icon span.icon svg { /* mobile/tablet nav styles */ @media only screen and (max-width: 1199px) { - header { - height: var(--nav-height-mobile); - } - header nav { display: flex; justify-content: space-between; @@ -322,8 +317,6 @@ header nav .nav-sections .mega-menu a.link-with-icon span.icon svg { /* header */ header { padding: 0; - max-height: 130px; - height: 130px; display: flex; align-items: flex-end; } @@ -552,10 +545,6 @@ header nav .nav-sections .mega-menu a.link-with-icon span.icon svg { padding: var(--spacer-layout-05) calc((100vw - var(--section-width-desktop)) / 2) var(--spacer-layout-07); } - header.is-sticky nav .nav-sections > ul > li[aria-expanded='true'] > ul.level-two { - top: var(--sticky-nav-height); - } - header nav .nav-sections > ul > li[aria-expanded='true'] > ul > li.level-two:not(.mega-menu, .featured) { padding: 1% 0; width: 280px; diff --git a/blocks/solution-header/solution-header.css b/blocks/solution-header/solution-header.css index db114bb0..7125d68c 100644 --- a/blocks/solution-header/solution-header.css +++ b/blocks/solution-header/solution-header.css @@ -473,17 +473,8 @@ body.microsites.header-visible main { } /* Sticky - Solution Header */ - body.microsites.header-visible main { - padding-top: var(--nav-height-desktop); - } - .solution-header-wrapper { border-bottom: 1px solid var(--neutral-sand); - height: var(--nav-height-desktop); - } - - .solution-header-wrapper.is-sticky { - height: var(--sticky-nav-height); } .solution-header-wrapper.is-sticky .solution-header__inner {