From 1314587ba1897e457b405fdbf39274d94618c3f4 Mon Sep 17 00:00:00 2001 From: hoelee Date: Sun, 6 Sep 2026 07:35:28 +0800 Subject: [PATCH] Fix post ordering (distinct pubDates) and align nav control heights --- src/content/posts/hello-world.md | 2 +- src/content/posts/how-i-host-this-blog.md | 2 +- src/styles/global.css | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/content/posts/hello-world.md b/src/content/posts/hello-world.md index 87d0ffd..580fd22 100644 --- a/src/content/posts/hello-world.md +++ b/src/content/posts/hello-world.md @@ -1,7 +1,7 @@ --- title: "Hello, World — About This Blog" description: "What this blog is for: technical writing, self-hosting experience, and a record of what I build and learn." -pubDate: 2026-09-06 +pubDate: 2026-09-05 category: notes tags: [intro] --- diff --git a/src/content/posts/how-i-host-this-blog.md b/src/content/posts/how-i-host-this-blog.md index cb9f009..8c1e19d 100644 --- a/src/content/posts/how-i-host-this-blog.md +++ b/src/content/posts/how-i-host-this-blog.md @@ -1,7 +1,7 @@ --- title: "How I Host This Blog: Astro, Gitea Actions, and Self-Hosted CI/CD" description: "A walkthrough of the end-to-end pipeline that builds and serves this site — git-as-CMS, a self-hosted runner on my unRaid server, and Cloudflare in front." -pubDate: 2026-09-06 +pubDate: 2026-09-04 category: case-studies tags: [astro, gitea, ci-cd, self-hosting, docker, cloudflare] --- diff --git a/src/styles/global.css b/src/styles/global.css index 8c0cf26..5cce4f7 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -119,6 +119,7 @@ body { border-radius: var(--radius); padding: 0.25rem 0.6rem; font-size: 0.85rem; + line-height: 1.35; cursor: pointer; font-family: var(--font-sans); } @@ -130,7 +131,7 @@ body { border-radius: var(--radius); padding: 0.25rem 0.6rem; font-size: 0.95rem; - line-height: 1; + line-height: 1.35; cursor: pointer; font-family: var(--font-sans); } @@ -138,11 +139,12 @@ body { .lang-switch { color: var(--muted); text-decoration: none; - font-size: 0.92rem; + font-size: 0.85rem; font-weight: 500; + line-height: 1.35; border: 1px solid var(--border); border-radius: var(--radius); - padding: 0.1rem 0.55rem; + padding: 0.25rem 0.55rem; } .lang-switch:hover { color: var(--brand); border-color: var(--brand); }