Skip to content

Commit

Permalink
Added cool background stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaeling committed Oct 25, 2023
1 parent 2793f1f commit c6cd8cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function RootLayout({
}) {
return (
<html lang='en' className={`${sans.variable} ${mono.variable}`}>
<body className={'overflow-x-hidden text-lightest font-body w-screen'}>
<body className={'overflow-x-hidden text-lightest font-body w-screen h-screen'}>
{children}
</body>
</html>
Expand Down
9 changes: 8 additions & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
color-scheme: dark;
}

body {
background: rgba(24, 31, 3, 0);
background-image: radial-gradient(rgba(70, 79, 35, 0.3) 1px, transparent 0);
background-size: 30px 30px;
background-position: -19px -19px;
}

html {
background: theme(colors.darkest);
background: radial-gradient(circle at 10% 35%, #2F380C 0%, theme(colors.darkest) 30%);
background: radial-gradient(circle at 10% 35%, rgba(47, 56, 12, 0.95) 0%, theme(colors.darkest) 40%);
background-attachment: fixed;
}

0 comments on commit c6cd8cb

Please sign in to comment.