From fabe058bfe275a162a24aa87acb2e02c9db8963c Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Sat, 18 Apr 2026 21:52:28 +0300 Subject: [PATCH] added animation to postnav --- src/components/Posts/PostNav.astro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Posts/PostNav.astro b/src/components/Posts/PostNav.astro index 0e37186..3836999 100644 --- a/src/components/Posts/PostNav.astro +++ b/src/components/Posts/PostNav.astro @@ -89,6 +89,14 @@ const nextSlug = nextPost ? getSlugFromId(nextPost.id) : null; .post-nav-next { text-align: right; } + .post-nav-title { + display: inline-block; + transition: transform 0.18s ease; + } + + .post-nav a:hover .post-nav-title { + transform: scale(1.04); + } .post-nav a { display: block;