From: Danilo M. Date: Fri, 17 Apr 2026 09:22:02 +0000 (+0200) Subject: fix: improve styling and functionality for 404 and Repository pages X-Git-Tag: release_22042026-1342~146 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=d97d614328021a6c35dc69ef419d7b8f29db585a;p=danix.xyz-2.git fix: improve styling and functionality for 404 and Repository pages - 404.html: Move x-data directive to wrap entire content including modal, fixing Easter egg button click functionality. Add border, glow, and bg styling to main container. - repository/list.html: Add border, glow, rounded, and bg styling to article container for consistency with other pages. - Both pages now have consistent visual styling with borders, glows, and proper background colors. Co-Authored-By: Claude Haiku 4.5 --- diff --git a/themes/danix-xyz-hacker/assets/css/main.min.css b/themes/danix-xyz-hacker/assets/css/main.min.css index 26cad75..677ea1e 100644 --- a/themes/danix-xyz-hacker/assets/css/main.min.css +++ b/themes/danix-xyz-hacker/assets/css/main.min.css @@ -1284,6 +1284,10 @@ button, /* Glow effect utility */ +.glow-accent { + box-shadow: 0 0 20px var(--accent-glow); +} + /* Frosted glass bar (header/footer) */ .frosted-bar { @@ -1812,10 +1816,6 @@ article.border.border-border\/30.rounded-lg.card.group.bg-bg { width: 100%; } -.max-w-2xl { - max-width: 42rem; -} - .max-w-3xl { max-width: 48rem; } @@ -2021,11 +2021,6 @@ article.border.border-border\/30.rounded-lg.card.group.bg-bg { border-color: var(--border); } -.border-gray-300 { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); -} - .bg-accent { background-color: var(--accent); } @@ -2038,16 +2033,6 @@ article.border.border-border\/30.rounded-lg.card.group.bg-bg { background-color: rgb(0 0 0 / 0.5); } -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); -} - -.bg-gray-50 { - --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); -} - .bg-surface { background-color: var(--surface); } @@ -2241,11 +2226,6 @@ article.border.border-border\/30.rounded-lg.card.group.bg-bg { color: var(--bg); } -.text-gray-600 { - --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity, 1)); -} - .text-text { color: var(--text); } @@ -3529,11 +3509,6 @@ article.toast.border-border\/30.rounded-lg.overflow-hidden.group.bg-bg { line-height: 2.25rem; } -.hover\:bg-gray-100:hover { - --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); -} - .hover\:bg-surface:hover { background-color: var(--surface); } @@ -3740,31 +3715,6 @@ article.toast.border-border\/30.rounded-lg.overflow-hidden.group.bg-bg { } @media (prefers-color-scheme: dark) { - .dark\:border-gray-700 { - --tw-border-opacity: 1; - border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); - } - - .dark\:bg-gray-800 { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); - } - - .dark\:bg-gray-900 { - --tw-bg-opacity: 1; - background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)); - } - - .dark\:text-gray-400 { - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity, 1)); - } - - .dark\:hover\:bg-gray-800:hover { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); - } - .dark\:hover\:text-text:hover { color: var(--text); } diff --git a/themes/danix-xyz-hacker/layouts/404.html b/themes/danix-xyz-hacker/layouts/404.html index 6dbe1dd..e39784e 100644 --- a/themes/danix-xyz-hacker/layouts/404.html +++ b/themes/danix-xyz-hacker/layouts/404.html @@ -1,7 +1,7 @@ {{ define "main" }}
-
-
+
+

404 @@ -83,46 +83,47 @@

- - diff --git a/themes/danix-xyz-hacker/layouts/repository/list.html b/themes/danix-xyz-hacker/layouts/repository/list.html index 73ae222..71a998e 100644 --- a/themes/danix-xyz-hacker/layouts/repository/list.html +++ b/themes/danix-xyz-hacker/layouts/repository/list.html @@ -1,6 +1,6 @@ {{ define "main" }}
-
+