diff --git a/apps/docs/.vitepress/theme/shell.css b/apps/docs/.vitepress/theme/shell.css index 822627e..330f0e6 100644 --- a/apps/docs/.vitepress/theme/shell.css +++ b/apps/docs/.vitepress/theme/shell.css @@ -127,7 +127,9 @@ html { gap: 12px; height: 100%; } -.docs-nav-sections nav .hv-link { +/* Section tabs keep their text treatment on hover; selection controls color. */ +.docs-nav-sections nav .hv-link, +.docs-nav-sections nav .hv-link:is(:hover, [data-hovered="true"]) { text-decoration: none; display: inline-flex; align-items: center; @@ -718,7 +720,8 @@ html { .docs-nav-sections nav { gap: 20px; } - .docs-nav-sections nav .hv-link { + .docs-nav-sections nav .hv-link, + .docs-nav-sections nav .hv-link:is(:hover, [data-hovered="true"]) { font-size: 13px; padding-bottom: 6px; }