diff --git a/src/components/Header.astro b/src/components/Header.astro index 2d66ba8..aff0ae5 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -8,7 +8,7 @@ import { urlfrag } from '../utils/path'; const base = import.meta.env.BASE_URL; --- -
+ \ No newline at end of file +
+ + \ No newline at end of file diff --git a/src/styles/global.css b/src/styles/global.css index bd4f14c..0557948 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -168,6 +168,8 @@ body { } html > body > header { + @apply sticky top-0 backdrop-blur w-full z-50; + @apply transition-transform duration-300 ease-in-out; @apply bg-sunday-theme p-4 text-white text-3xl lg:text-4xl grid grid-cols-[1fr_auto_1fr] items-center gap-4; }