Skip to content

Commit 4c8af52

Browse files
Aryamanz29claude
andcommitted
docs: improve nav hover and active link colors
- Tabs: active/hover β†’ full white opacity (was 75% dimmed) - Sidebar nav: hover/active β†’ light blue (#5DD4F5) accent - TOC links: same light blue accent on hover/active Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent afd568a commit 4c8af52

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

β€Ždocs/assets/stylesheets/extra.cssβ€Ž

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,26 @@
3131
height: 2.2rem;
3232
width: auto;
3333
}
34+
35+
/* Nav tabs β€” hover and active states */
36+
.md-tabs__link {
37+
opacity: 0.75;
38+
transition: opacity 0.2s;
39+
}
40+
.md-tabs__link:hover,
41+
.md-tabs__link--active {
42+
opacity: 1;
43+
color: #ffffff !important;
44+
}
45+
46+
/* Sidebar nav links β€” hover and active */
47+
.md-nav__link:hover,
48+
.md-nav__link--active {
49+
color: #5DD4F5 !important;
50+
}
51+
52+
/* TOC links β€” hover and active */
53+
.md-nav--secondary .md-nav__link:hover,
54+
.md-nav--secondary .md-nav__link--active {
55+
color: #5DD4F5 !important;
56+
}

0 commit comments

Comments
Β (0)