From e33e7e19d448645f29735d01cc79671fd59522c0 Mon Sep 17 00:00:00 2001 From: Michael Wisely Date: Fri, 26 Jan 2024 15:10:51 -0700 Subject: [PATCH] Don't show repeated links in sidebar menu --- _static/css/custom.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/_static/css/custom.css b/_static/css/custom.css index 559efecf..170f8f20 100644 --- a/_static/css/custom.css +++ b/_static/css/custom.css @@ -195,6 +195,19 @@ The styles below use media queries to dictate which of the 8 navbars will show g display: none; } +/* When we've collapsed to the hamburger menu, only show the navbar that contains all 8 links */ +@media (width < 960px) { + #nav-1, + #nav-2, + #nav-3, + #nav-4, + #nav-5, + #nav-6, + #nav-7 { + display: none; + } +} + /* Depending on the width of the page, we decide which nav to show */ @media (960px <= width < 1035px) {