mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
45 lines
1.1 KiB
CSS
45 lines
1.1 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
.glow-shadow::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 1rem;
|
|
background: var(--splash-color);
|
|
opacity: 0;
|
|
filter: blur(8px);
|
|
animation: glow 4s infinite;
|
|
--tw-scale-x: 1.02;
|
|
--tw-scale-y: 1.02;
|
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
}
|
|
|
|
.shadow-md-splash {
|
|
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--tw-shadow-colored: 0 4px 6px -1px var(--splash-color), 0 2px 4px -2px var(--splash-color);
|
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
}
|
|
|
|
@keyframes glow {
|
|
0% {
|
|
opacity: 0.8;
|
|
filter: blur(8px);
|
|
}
|
|
50% {
|
|
opacity: 0.45;
|
|
filter: blur(11px);
|
|
}
|
|
100% {
|
|
opacity: 0.8;
|
|
filter: blur(8px);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.glow-shadow::before {
|
|
display: none;
|
|
}
|
|
}
|