From 1c374367fd4078ec1dfd02132e927cd5b70c5dfc Mon Sep 17 00:00:00 2001 From: radishzzz Date: Sat, 17 May 2025 10:43:40 +0100 Subject: [PATCH] fix: accessibility issues with footer links, update theme guide --- src/components/Footer.astro | 6 +++--- src/components/Navbar.astro | 4 ++-- src/components/PostList.astro | 4 ++-- src/content/posts/guides/Theme Guide-en.md | 4 ++-- src/content/posts/guides/Theme Guide-es.md | 4 ++-- src/content/posts/guides/Theme Guide-ja.md | 4 ++-- src/content/posts/guides/Theme Guide-ru.md | 4 ++-- src/content/posts/guides/Theme Guide-zh-tw.md | 4 ++-- src/content/posts/guides/Theme Guide-zh.md | 4 ++-- src/styles/global.css | 2 +- src/styles/heti.css | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index e55524d..731e0b4 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -22,11 +22,11 @@ const links = socialLinks.map((link) => { return link }) -const footerLinkClass = 'highlight-hover footer-highlight-position-fix transition-colors after:bottom-0 hover:c-primary' +const footerLinkClass = 'highlight-hover footer-highlight-position-fix py-0.8 transition-colors after:bottom-0.1 hover:c-primary' --- diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index e12b71b..cffc507 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -38,8 +38,8 @@ const navItems = [ aria-label="Site Navigation" class:list={[ isPost ? 'hidden lg:block' : '', - 'mb-10.5 text-3.6 font-semibold leading-8.75 font-navbar', - 'lg:(uno-desktop-column text-4 leading-9.72 bottom-50) cjk:tracking-0.02em', + 'mb-10.5 text-3.6 font-semibold leading-2.45em font-navbar', + 'lg:(uno-desktop-column text-4 bottom-50) cjk:tracking-0.02em', ]} >