From: Danilo M. Date: Fri, 17 Apr 2026 09:18:19 +0000 (+0200) Subject: Fix styling issues on 404 and Repository pages X-Git-Tag: release_22042026-1342~147 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=9762d99097e1b71de64f0a32594eee77612e564a;p=danix.xyz-2.git Fix styling issues on 404 and Repository pages - Add proper container styling (mx-auto, px-4, py-12) to main content wrappers matching single.html pattern - Replace gray color hardcodes with theme-aware CSS variables: - bg-gray-50/gray-900 → bg-bg/50 with hover:bg-bg/70 for article cards - text-gray-600/gray-400 → text-text-dim for text - border-gray-300/gray-700 → border-border for borders - bg-gray-200/gray-800 → bg-border/20 for tags - Fixes color inconsistency in both light and dark modes - Ensures 404 latest articles and Repository tags use theme colors instead of fixed gray Co-Authored-By: Claude Haiku 4.5 --- diff --git a/themes/danix-xyz-hacker/layouts/404.html b/themes/danix-xyz-hacker/layouts/404.html index 8cb694c..6dbe1dd 100644 --- a/themes/danix-xyz-hacker/layouts/404.html +++ b/themes/danix-xyz-hacker/layouts/404.html @@ -1,6 +1,7 @@ {{ define "main" }} -
-
+
+
+

404 @@ -23,13 +24,13 @@ id="search-input" type="text" placeholder="{{ (i18n "searchPlaceholder") }}" - class="px-4 py-3 border-2 border-gray-300 dark:border-gray-700 rounded focus:outline-none focus:ring-2 focus:ring-accent focus:border-transparent bg-bg text-text" + class="px-4 py-3 border-2 border-border rounded focus:outline-none focus:ring-2 focus:ring-accent focus:border-transparent bg-bg text-text" @input="filterArticles($el.value)" />