diff --git a/src/app.scss b/src/app.scss index 432a31d..ca5f1b1 100644 --- a/src/app.scss +++ b/src/app.scss @@ -131,6 +131,18 @@ body { background-size: 100vw 100vh; } +.hoverable { + @apply hover:scale-105 duration-200; +} + +.hoverable-md { + @apply hover:scale-110 duration-200; +} + +.hoverable-lg { + @apply hover:scale-[1.15] duration-200; +} + @layer components { select { @apply appearance-none; diff --git a/src/lib/sections/about/Credits.svelte b/src/lib/sections/about/Credits.svelte index 652809e..3d2385a 100644 --- a/src/lib/sections/about/Credits.svelte +++ b/src/lib/sections/about/Credits.svelte @@ -17,7 +17,7 @@ src={avatar} alt={name} title={name} - class="{role ? 'w-14 h-14' : 'w-10 h-10'} rounded-full" + class="{role ? 'w-14 h-14 hoverable-md' : 'w-10 h-10 hoverable-lg'} rounded-full" /> {#if role} diff --git a/src/lib/sections/about/Donate.svelte b/src/lib/sections/about/Donate.svelte index f9cf32a..6c9ae64 100644 --- a/src/lib/sections/about/Donate.svelte +++ b/src/lib/sections/about/Donate.svelte @@ -16,7 +16,7 @@ src={avatar} alt={name} title={name} - class="w-9 h-9 rounded-full" + class="w-9 h-9 rounded-full hoverable-lg" />
${amount}
@@ -38,31 +38,31 @@