Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 4 additions & 81 deletions css/animations.css
Original file line number Diff line number Diff line change
@@ -1,47 +1,12 @@
@keyframes floaty {
0% {
transform: translate3d(0, 0, 0) rotate(0deg);
}
50% {
transform: translate3d(0, -8px, 0) rotate(2deg);
}
100% {
transform: translate3d(0, 0, 0) rotate(0deg);
}
}

@keyframes pulseGlow {
0% {
box-shadow: 0 0 0 0 rgba(200, 200, 200, 0.45);
}
70% {
box-shadow: 0 0 0 12px rgba(200, 200, 200, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(200, 200, 200, 0);
}
}

@keyframes caretBlink {
0%,
50% {
opacity: 1;
}
50.01%,
100% {
opacity: 0;
}
}

.page-enter {
opacity: 0;
transform: translateY(24px);
transform: translateY(12px);
}

.page-enter-active {
opacity: 1;
transform: translateY(0);
transition: opacity 360ms ease, transform 360ms ease;
transition: opacity 220ms ease, transform 220ms ease;
}

.page-exit {
Expand All @@ -50,48 +15,6 @@

.page-exit-active {
opacity: 0;
transform: translateY(-16px);
transition: opacity 260ms ease, transform 260ms ease;
}

.parallax-bg {
position: relative;
overflow: hidden;
}

.parallax-bg::before {
content: '';
position: absolute;
inset: -40%;
background: radial-gradient(circle, rgba(180, 180, 180, 0.4), transparent 60%);
animation: floaty 18s ease-in-out infinite;
z-index: -1;
}

.rotating-logo {
animation: spin 24s linear infinite;
}

@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

.toast-pop {
animation: toastPop 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastPop {
from {
opacity: 0;
transform: translateY(12px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
transform: translateY(-12px);
transition: opacity 180ms ease, transform 180ms ease;
}
Loading