mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-13 11:23:39 +02:00
40 lines
993 B
SCSS
40 lines
993 B
SCSS
.tp__floating-background {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
|
|
//background-color: var(--floating-background-color);
|
|
background: radial-gradient(var(--floating-background-color) 0%, var(--background-color) 70%);
|
|
z-index: -1;
|
|
|
|
.tp__star {
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
user-select: none;
|
|
|
|
border-radius: 50%;
|
|
|
|
//.organic-circle {
|
|
background: radial-gradient(circle, var(--floating-particle-gradient-color-1) 0%, var(--floating-particle-gradient-color-2) 70%);
|
|
animation: organic-wobble 8s ease-in-out infinite;
|
|
filter: blur(3px);
|
|
will-change: transform;
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
animation: none;
|
|
transform: none;
|
|
}
|
|
}
|
|
@keyframes organic-wobble {
|
|
0% { transform: scale(1); }
|
|
25% { transform: scale(1.3); }
|
|
50% { transform: scale(0.7); }
|
|
75% { transform: scale(1.3); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
}
|