From f1206979cfdf7110dc3623c3495355a127da0a17 Mon Sep 17 00:00:00 2001 From: Matt Batchelder Date: Thu, 26 Feb 2026 07:21:16 -0500 Subject: [PATCH] feat: Update submenu link styles to remove underline and improve visual consistency --- theme/assets/css/main.css | 15 +++------------ theme/theme.json | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/theme/assets/css/main.css b/theme/assets/css/main.css index 9a893dc..29b6d42 100644 --- a/theme/assets/css/main.css +++ b/theme/assets/css/main.css @@ -548,23 +548,14 @@ p:last-child { margin-bottom: 0; } .site-nav.open .nav-menu a { color: var(--color-heading); font-size: 1.25rem; - padding-bottom: 2px; - border-bottom: none !important; - text-decoration: none !important; - outline: none !important; - box-shadow: none !important; + text-decoration: none; } - .site-nav.open .nav-menu a::after, - .site-nav.open .nav-menu a:hover::after, - .site-nav.open .nav-menu .current-menu-item > a::after { - display: none !important; - content: none !important; + .site-nav.open .nav-menu a::after { + display: none; } .site-nav.open .nav-menu a:hover, .site-nav.open .nav-menu .current-menu-item > a { color: var(--color-primary); - text-decoration: none !important; - border-bottom: 2px solid var(--color-primary) !important; } /* Mobile sub-menu */ diff --git a/theme/theme.json b/theme/theme.json index a560961..cec8100 100644 --- a/theme/theme.json +++ b/theme/theme.json @@ -142,7 +142,7 @@ "text": "var:preset|color|primary-dk" }, "typography": { - "textDecoration": "underline" + "textDecoration": "none" } }, ":focus": {