Skip to content

Commit bff12ff

Browse files
authored
Merge pull request #96 from braboj/fix/nav-visibility
Improve active tab visibility in nav bar
2 parents f2fff1f + d61b80d commit bff12ff

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

astro-site/src/styles/global.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ a:hover {
256256
position: sticky;
257257
top: var(--header-height);
258258
z-index: 99;
259-
background: var(--color-primary);
259+
background: var(--color-primary-dark);
260260
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
261261
}
262262

@@ -269,7 +269,7 @@ a:hover {
269269
}
270270

271271
.site-tabs a {
272-
color: #ffffffe6;
272+
color: rgba(255, 255, 255, 0.75);
273273
font-size: var(--font-size-sm);
274274
font-weight: 500;
275275
text-transform: uppercase;
@@ -289,7 +289,8 @@ a:hover {
289289

290290
.site-tabs a.active {
291291
color: #fff;
292-
border-bottom-color: var(--color-accent);
292+
font-weight: 700;
293+
border-bottom: 3px solid var(--color-accent);
293294
}
294295

295296
/* Three-column layout */

0 commit comments

Comments
 (0)