Skip to content

Commit be3f0ca

Browse files
Aditya PutatundaAditya Putatunda
authored andcommitted
navlinks3
1 parent 62514df commit be3f0ca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
.nav-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 3rem; }
2727
.site-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--text); text-decoration: none; cursor: pointer; flex-shrink: 0; }
2828
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
29-
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s; cursor: pointer; position: relative; }
30-
.nav-links a:hover { color: var(--text); }
31-
.nav-links a.active { color: var(--text); }
32-
.nav-links a.active::after { content: ''; position: absolute; bottom: -18px; left: 0; right: 0; height: 2px; background: var(--text); }
29+
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text); text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s; cursor: pointer; position: relative; }
30+
.nav-links a:hover { color: #fff; }
31+
.nav-links a.active { color: #fff; }
32+
.nav-links a.active::after { content: ''; position: absolute; bottom: -18px; left: 0; right: 0; height: 2px; background: #fff; }
3333
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--text); }
3434
.mobile-toggle svg { width: 20px; height: 20px; }
3535

0 commit comments

Comments
 (0)