Skip to content

Commit 4972242

Browse files
animation fine tuning
1 parent 513b4df commit 4972242

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎assets/css/hero.css‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
/* Idle breathing (keyframes below the scene sections) — deliberately on its
194194
own 8s clock, off the scene cycle, so it never looks coupled to the
195195
travel choreography. */
196-
animation: hero-scene-anchor-idle 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
196+
animation: hero-scene-anchor-idle 8s linear infinite;
197197
}
198198

199199
.hero-scene-label {
@@ -279,7 +279,7 @@
279279
.hero-cryp-anchor-you { top: 90px; left: 40px; }
280280
.hero-cryp-anchor-cloud { top: 90px; left: 280px; }
281281

282-
.hero-cryp-scene .hero-scene-logo-img { animation: hero-cryp-logo-wobble var(--scene-cycle) cubic-bezier(0.4, 0, 0.2, 1) infinite; }
282+
.hero-cryp-scene .hero-scene-logo-img { animation: hero-cryp-logo-wobble var(--scene-cycle) ease-in-out infinite; }
283283

284284
/* Two faces of the travelling token: file on the User→Crypto leg, vault on the
285285
Crypto→Cloud leg. They hard-swap at 50%, hidden behind the Cryptomator bot —
@@ -374,7 +374,7 @@
374374
drop-shadow(0 3px 9px rgba(47, 72, 88, 0.30))
375375
drop-shadow(0 0 1px rgba(47, 72, 88, 0.35));
376376
transform-origin: center bottom;
377-
animation: hero-hub-apex-wobble var(--scene-cycle) cubic-bezier(0.4, 0, 0.2, 1) infinite;
377+
animation: hero-hub-apex-wobble var(--scene-cycle) ease-in-out infinite;
378378
}
379379

380380
/* Cryptomator sits at the bottom vertex of the diamond at full size, the same
@@ -387,7 +387,7 @@
387387

388388
.hero-hub-scene .hero-scene-logo-img {
389389
width: 52px;
390-
animation: hero-hub-logo-wobble var(--scene-cycle) cubic-bezier(0.4, 0, 0.2, 1) infinite;
390+
animation: hero-hub-logo-wobble var(--scene-cycle) ease-in-out infinite;
391391
}
392392

393393
/* Idle breathing — the outer anchor icons scale gently, offset in time so the

0 commit comments

Comments
 (0)