Update polka background styling in global CSS and adjust Section component padding for improved layout and visual consistency.
This commit is contained in:
parent
32ba396695
commit
1071b06874
2 changed files with 13 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export default function Section({
|
|||
|
||||
const variantClasses = {
|
||||
default: "bg-stone-900",
|
||||
hero: "polka lg:pt-40",
|
||||
hero: "polka pt-20 lg:pt-40",
|
||||
minimal: "bg-transparent"
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -15,12 +15,24 @@ body {
|
|||
}
|
||||
|
||||
.polka{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.polka::before{
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 10000%;
|
||||
height: 10000%;
|
||||
top: -5000%;
|
||||
left: -5000%;
|
||||
z-index: -1;
|
||||
background-image: radial-gradient(#0c0a09 20%, #292524 22%);
|
||||
background-size: 80px 80px;
|
||||
animation-name: background_keyframes;
|
||||
animation-duration: 8s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear;
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
|
||||
@keyframes background_keyframes {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue