From 6d9e8eea9eb6d563a215ac5f78b043036962c263 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 15:57:56 +0000 Subject: [PATCH 1/4] Initial plan From 13a1dda6f0874f10fd72548d6a1674051dd4db42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:08:31 +0000 Subject: [PATCH 2/4] fix: reduce navbar crowding at intermediate viewport sizes Add responsive CSS media queries to reduce item padding, font size, logo height, and search box width between 997px and 1279px viewport widths. This prevents navbar items from appearing crowded without removing any menu items. Co-authored-by: nate-double-u <4453979+nate-double-u@users.noreply.github.com> --- src/css/custom.css | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index 6c11e729..384c23dc 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -107,4 +107,41 @@ .navbar__logo:not(#\#):not(#\#) { height: 2.5rem; +} + +/* Reduce navbar crowding at intermediate viewport sizes */ +@media (min-width: 997px) and (max-width: 1279px) { + .navbar__items { + --ifm-navbar-item-padding-horizontal: 0.4rem; + } + + .navbar__link { + font-size: 0.875rem; + } + + .navbar__logo:not(#\#):not(#\#) { + height: 2rem; + } + + .navbar__search-input { + width: 9rem; + } +} + +@media (min-width: 997px) and (max-width: 1099px) { + .navbar__items { + --ifm-navbar-item-padding-horizontal: 0.25rem; + } + + .navbar__link { + font-size: 0.8rem; + } + + .navbar__logo:not(#\#):not(#\#) { + height: 1.75rem; + } + + .navbar__search-input { + width: 7rem; + } } \ No newline at end of file From a130d627eda3f3eceba815979653a3ce512c68fd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:22:34 +0000 Subject: [PATCH 3/4] fix: more aggressively reduce logo and search to improve navbar spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reclaim space from logo and search box instead of squeezing item padding. Reduces navbar container padding, logo height, and search width more aggressively so menu items can maintain better visual separation at intermediate viewport sizes (997px–1279px). Co-authored-by: nate-double-u <4453979+nate-double-u@users.noreply.github.com> --- src/css/custom.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 384c23dc..5a08a6a5 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -111,8 +111,9 @@ /* Reduce navbar crowding at intermediate viewport sizes */ @media (min-width: 997px) and (max-width: 1279px) { - .navbar__items { - --ifm-navbar-item-padding-horizontal: 0.4rem; + nav.navbar { + --ifm-navbar-padding-horizontal: 0.5rem; + --ifm-navbar-item-padding-horizontal: 0.5rem; } .navbar__link { @@ -120,17 +121,17 @@ } .navbar__logo:not(#\#):not(#\#) { - height: 2rem; + height: 1.75rem; } .navbar__search-input { - width: 9rem; + width: 7rem; } } @media (min-width: 997px) and (max-width: 1099px) { - .navbar__items { - --ifm-navbar-item-padding-horizontal: 0.25rem; + nav.navbar { + --ifm-navbar-item-padding-horizontal: 0.4rem; } .navbar__link { @@ -138,10 +139,10 @@ } .navbar__logo:not(#\#):not(#\#) { - height: 1.75rem; + height: 1.5rem; } .navbar__search-input { - width: 7rem; + width: 6rem; } } \ No newline at end of file From 589aeea69f4eee620dfbaa096e678ade7f413276 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:38:19 +0000 Subject: [PATCH 4/4] fix: add 1280-1399px breakpoint to preserve left/right navbar gap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At 1280px without responsive CSS, all items fill the navbar with zero gap between the left and right groups, losing the left/right menu divide. Added a gentle breakpoint that reduces item padding (0.75rem→0.625rem) and search width (200px→10rem) to maintain visible group separation at this range. Co-authored-by: nate-double-u <4453979+nate-double-u@users.noreply.github.com> --- src/css/custom.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index 5a08a6a5..55ba2605 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -110,6 +110,16 @@ } /* Reduce navbar crowding at intermediate viewport sizes */ +@media (min-width: 1280px) and (max-width: 1399px) { + nav.navbar { + --ifm-navbar-item-padding-horizontal: 0.625rem; + } + + .navbar__search-input { + width: 10rem; + } +} + @media (min-width: 997px) and (max-width: 1279px) { nav.navbar { --ifm-navbar-padding-horizontal: 0.5rem;