bg fixed
This commit is contained in:
parent
f62310b201
commit
c72cdfed53
2 changed files with 7 additions and 1 deletions
|
|
@ -13,9 +13,14 @@ body {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: "Space Grotesk", sans-serif;
|
font-family: "Space Grotesk", sans-serif;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background-color: #500;
|
||||||
}
|
}
|
||||||
|
|
||||||
body{
|
.bg{
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
z-index: -999;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 0% 0%, #da0202 0%, transparent 50%),
|
radial-gradient(circle at 0% 0%, #da0202 0%, transparent 50%),
|
||||||
radial-gradient(circle at 25% -5%, #da0202 0%, transparent 40%),
|
radial-gradient(circle at 25% -5%, #da0202 0%, transparent 40%),
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ export default function RootLayout({
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
|
<div className="bg"/>
|
||||||
<body>
|
<body>
|
||||||
{children}
|
{children}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue