From b01f640410107a74b2399b4512f456fbf6e7d093 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 3 Apr 2024 18:05:10 -0700
Subject: feat(badge): larger parallax

---
 src/lib/FallbackBadge.svelte | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/lib/FallbackBadge.svelte')

diff --git a/src/lib/FallbackBadge.svelte b/src/lib/FallbackBadge.svelte
index 4cc739d3..38653881 100644
--- a/src/lib/FallbackBadge.svelte
+++ b/src/lib/FallbackBadge.svelte
@@ -69,21 +69,23 @@
 	<img src={error} alt="Not found" loading="lazy" class="badge" />
 {/if}
 
-<style>
+<style lang="scss">
+	$transition: transform 0.325s ease;
+
 	.badge {
 		display: flex;
 		flex-direction: column;
 		justify-content: center;
 		align-items: center;
-		transition: transform 0.3s ease;
+		transition: $transition;
 		box-sizing: border-box;
 		border-radius: 8px;
 	}
 
 	.badge:hover {
-		transform: scale(1.05);
+		transform: scale(1.075);
 		position: relative;
 		z-index: 2;
-		transition: transform 0.3s ease;
+		transition: $transition;
 	}
 </style>
-- 
cgit v1.2.3

