Commit 35a57d7

HPCesia <me@hpcesia.com>
2026-03-16 13:06:28
Improve header and footer style
1 parent 8d872f6
Changed files (2)
src/components/Footer.astro
@@ -4,13 +4,13 @@ import { url } from "@/utils/url";
 ---
 
 <footer
-  class="article-anchor border-t-2 pt-2 pb-4 mt-16 text-xl flex justify-between"
+  class="article-anchor border-t-2 pt-2 pb-4 mt-16 text-xl flex justify-between gap-4"
 >
   <div>
     <span>Copyright © {new Date().getFullYear()}</span>
     <span>{SITE_CONFIG.author}</span>
   </div>
-  <div>
+  <div class="text-right">
     <a href={url("/feed.atom")}>Feed</a>
     <a href="https://codeberg.org/HPCesia/Tybios" target="_blank">Codeberg</a>
   </div>
src/components/Header.astro
@@ -4,7 +4,9 @@ import { url } from "@/utils/url";
 ---
 
 <header class="border-b-2 py-2">
-  <nav class="flex justify-between">
+  <nav
+    class="flex justify-between [&_a]:hover:underline [&_a]:decoration-2 [&_a]:decoration-neutral-400"
+  >
     <a href={url("/")} class="text-2xl">{SITE_CONFIG.title}</a>
     <ul class="flex space-x-4 text-xl leading-[1.75]">
       <li><a href={url("/posts")}>Posts</a></li>