From 7a360e3e14425a88340c4aef05f592ceefdd7a96 Mon Sep 17 00:00:00 2001 From: Christopher Moroney Date: Fri, 17 Jul 2026 09:54:33 -0700 Subject: [PATCH 1/3] header and footer nav update --- assets/css/cross-page.css | 22 +++++-------------- .../layouts/partials/footer/footer.html | 2 +- .../layouts/partials/head/head.html | 9 ++++++-- .../layouts/partials/header/nav-masthead.html | 22 ++++++++++++++++--- 4 files changed, 33 insertions(+), 22 deletions(-) diff --git a/assets/css/cross-page.css b/assets/css/cross-page.css index bd2230f2d3..4fb0f740a3 100644 --- a/assets/css/cross-page.css +++ b/assets/css/cross-page.css @@ -175,12 +175,7 @@ table tbody td { /* CLS fix: reserve space for nav before hydration */ arm-top-navigation:not(:defined) { display: block; - min-height: 80px; -} -@media (max-width: 1024px) { - arm-top-navigation:not(:defined) { - min-height: 60px; - } + min-height: 60px; } /* Fix global nav height */ @@ -189,23 +184,18 @@ arm-top-navigation:not(:defined) { /*************************************/ #global-nav-height-fixer { max-width: 100vw; - height: 80px; + height: 60px; overflow: hidden; position: relative; top: 0; } -@media (max-width: 1024px) { /* smaller screens than LG */ - #global-nav-height-fixer { - height: 60px; - } -} .nav-transparent { - background: transparent; - background-color: transparent; + background: var(--ads-ui-ink-100); + background-color: var(--ads-ui-ink-100); } .nav-black { - background: #010101; - background-color: #010101; + background: var(--ads-ui-ink-100); + background-color: var(--ads-ui-ink-100); } /* Fix Masthead Height */ diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/footer/footer.html b/themes/arm-design-system-hugo-theme/layouts/partials/footer/footer.html index 73e72fa1ea..30a8516042 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/footer/footer.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/footer/footer.html @@ -9,5 +9,5 @@ */}} diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/head/head.html b/themes/arm-design-system-hugo-theme/layouts/partials/head/head.html index 8ad73fbd6a..2c93252da8 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/head/head.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/head/head.html @@ -55,8 +55,13 @@ integrity="sha384-caAG7P/HrHxcdQa2gTEfvZYGPLQk7yRwVdvtRn6sa3TRKzcAyY1LMvObXKGhwFNb" crossorigin="anonymous"> - - + + diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/header/nav-masthead.html b/themes/arm-design-system-hugo-theme/layouts/partials/header/nav-masthead.html index b820866c71..a228e7c963 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/header/nav-masthead.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/header/nav-masthead.html @@ -7,8 +7,16 @@ {{ if .IsHome }} -