From 9762d99097e1b71de64f0a32594eee77612e564a Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 11:18:19 +0200 Subject: Fix styling issues on 404 and Repository pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- themes/danix-xyz-hacker/layouts/404.html | 13 +++++++------ themes/danix-xyz-hacker/layouts/repository/list.html | 10 +++++----- 2 files changed, 12 insertions(+), 11 deletions(-) (limited to 'themes') 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)" />