Skip to content

Commit

Permalink
chore: update css
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed Sep 11, 2024
1 parent 9fa4c91 commit 7150135
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,21 @@ body {
}

body {
@apply relative flex flex-col;
@apply flex min-h-screen flex-col;
}

main {
@apply relative flex flex-1 flex-col py-24;
@apply flex-grow py-16;
}

header {
@apply border-b;
@apply transition-all duration-300 ease-in-out;
@apply border-b transition-all duration-300 ease-in-out;
}

header:not(.scrolled) {
@apply border-transparent bg-transparent;
}

header.scrolled {
@apply bg-white/75 dark:bg-black/50;
@apply border-black/10 dark:border-white/25;
@apply saturate-200 backdrop-blur-sm;
@apply border-black/10 bg-white/75 saturate-200 backdrop-blur-sm dark:border-white/25 dark:bg-black/50;
}

0 comments on commit 7150135

Please sign in to comment.