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/repository/list.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'themes/danix-xyz-hacker/layouts/repository/list.html') diff --git a/themes/danix-xyz-hacker/layouts/repository/list.html b/themes/danix-xyz-hacker/layouts/repository/list.html index aa6805e..73ae222 100644 --- a/themes/danix-xyz-hacker/layouts/repository/list.html +++ b/themes/danix-xyz-hacker/layouts/repository/list.html @@ -1,12 +1,12 @@ {{ define "main" }}
-
+

{{ i18n "repositoryTitle" }}

-

+

{{ i18n "repositorySubtitle" }}

@@ -22,7 +22,7 @@
{{ range $.Site.Data.repos.repos }} -
+

{{ .name }}

-

+

{{ i18n .description_key }}

@@ -43,7 +43,7 @@ {{ if .tags }}
{{ range .tags }} - + {{ . }} {{ end }} -- cgit v1.2.3