Skip to content

Commit 4eca32e

Browse files
brabojclaude
andcommitted
revert: go back to simple tab style with accent underline
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 212eb61 commit 4eca32e

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

astro-site/src/styles/global.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ a:hover {
257257
top: var(--header-height);
258258
z-index: 99;
259259
background: var(--color-primary-dark);
260+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
260261
}
261262

262263
.nav-toggle {
@@ -265,9 +266,7 @@ a:hover {
265266

266267
.site-tabs {
267268
display: flex;
268-
align-items: flex-end;
269269
padding: 0 var(--space-md);
270-
padding-top: var(--space-xs);
271270
max-width: calc(var(--max-content) + 2 * var(--sidebar-width) + 2 * var(--space-xl));
272271
margin: 0 auto;
273272
}
@@ -278,23 +277,23 @@ a:hover {
278277
font-weight: 500;
279278
text-transform: uppercase;
280279
letter-spacing: 0.04em;
281-
padding: var(--space-xs) var(--space-sm);
280+
padding: 0 var(--space-sm);
281+
height: var(--tab-height);
282282
display: flex;
283283
align-items: center;
284+
border-bottom: 2px solid transparent;
284285
white-space: nowrap;
285-
border-radius: 4px 4px 0 0;
286286
}
287287

288288
.site-tabs a:hover {
289289
color: #fff;
290-
background: rgba(255, 255, 255, 0.1);
291290
text-decoration: none;
292291
}
293292

294293
.site-tabs a.active {
295-
color: var(--color-fg);
294+
color: #fff;
296295
font-weight: 700;
297-
background: var(--color-bg);
296+
border-bottom: 3px solid var(--color-accent);
298297
}
299298

300299
/* Three-column layout */

0 commit comments

Comments
 (0)