Skip to content

Commit 26de1f8

Browse files
groksrcclaude
andcommitted
Add header transparency and glassmorphism effect
- Set header background to 90% opacity for subtle transparency - Add backdrop-blur-sm for glassmorphism effect - Update header border to use CSS variable for proper dark mode support - Content now shows through header when scrolling for better visual continuity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 80db98e commit 26de1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Search from './Search.astro'
55
import { navConfig } from '@/config/navigation'
66
---
77

8-
<header class="sticky top-0 z-50 w-full border-b border-gray-100 bg-background">
8+
<header class="sticky top-0 z-50 w-full border-b border-border bg-background/90 backdrop-blur-sm">
99
<div class="flex justify-center">
1010
<div class="flex h-14 w-full max-w-screen-2xl items-center px-4 md:px-0">
1111
<!-- Logo -->

0 commit comments

Comments
 (0)