From 6b14aefae1cb43aa2ce7eee433d97b8a10f50186 Mon Sep 17 00:00:00 2001 From: Sama Ahmed <26samahmed@csu.fullerton.edu> Date: Sun, 14 Apr 2024 13:47:37 -0700 Subject: [PATCH] Center NodeBuds logo animation on mobile (#1060) * Update team-section.svelte * Update Node Buds Logo Animation on mobile --------- Co-authored-by: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com> --- src/routes/(site)/teams/team-section.svelte | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/routes/(site)/teams/team-section.svelte b/src/routes/(site)/teams/team-section.svelte index 97d84d0ed..71161d32b 100644 --- a/src/routes/(site)/teams/team-section.svelte +++ b/src/routes/(site)/teams/team-section.svelte @@ -277,17 +277,28 @@ animation-iteration-count: infinite; animation-direction: alternate; position: relative; + animation-timing-function: cubic-bezier(0, 0, 0, 0); } @keyframes slide { 0% { left: -60px; - top: 0px; + } + + 33% { + left: -10px; + } + + 50% { + left: 0; + } + + 66% { + left: 10px; } 100% { left: 60px; - top: 0px; } }