From a0e0830754b3c7881bc17c4a67f1ee0ee48342e8 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Mon, 19 Sep 2022 23:28:07 +0630 Subject: [PATCH] Rotate social icons 6deg on hover --- src/components/Footer.astro | 2 +- src/pages/index.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 2f2dd86..d9f43ca 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -40,7 +40,7 @@ const currentYear = new Date().getFullYear(); @apply py-6 sm:py-4 flex flex-col sm:flex-row-reverse justify-between items-center; } .link-button { - @apply p-2 my-1; + @apply p-2 my-1 hover:rotate-6; } .link-button svg { @apply scale-125; diff --git a/src/pages/index.astro b/src/pages/index.astro index ebfdd6d..4a86440 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -139,7 +139,7 @@ const sortedPosts = getSortedPosts(posts); @apply mt-1 sm:mt-0 sm:ml-2 sm:space-x-1; } .link-button { - @apply p-2 sm:p-1; + @apply p-2 sm:p-1 hover:rotate-6; } /* ===== Featured & Recent Posts Sections ===== */