summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-11 13:06:17 +0200
committerDanilo M. <danix@danix.xyz>2026-05-11 13:06:17 +0200
commit181538b5204bd5f14d5f4a5fc23c50e7dc3db75d (patch)
tree77728e5b801d2b65b186f2d4f3babf377e872d49
parent884df671a1bd744d3bc004cd8a6f2b5838d24b7b (diff)
downloadpkgs-html-structure-181538b5204bd5f14d5f4a5fc23c50e7dc3db75d.tar.gz
pkgs-html-structure-181538b5204bd5f14d5f4a5fc23c50e7dc3db75d.zip
refactor: replace --green with --accent2, update color palette to purple/green
- Remove --green variable (duplicate of --accent2) - Replace var(--green) with var(--accent2) in .txz links and .footer-date - --accent: #5c9cf5 → #a855f7 (purple) - --accent-dim: #3a5f99 → #6b21a8 (dim purple) - --accent2: #4ec97b → #00ff88 (bright green) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--gen_web_hook.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/gen_web_hook.sh b/gen_web_hook.sh
index 050b89d..a10d6ac 100644
--- a/gen_web_hook.sh
+++ b/gen_web_hook.sh
@@ -38,10 +38,9 @@ CSS='<style>
--bg-card: #161b25;
--bg-hover: #1e2535;
--border: #2a3147;
- --accent: #5c9cf5;
- --accent-dim:#3a5f99;
- --green: #4ec97b;
- --accent2: #4ec97b;
+ --accent: #a855f7;
+ --accent-dim:#6b21a8;
+ --accent2: #00ff88;
--text: #c9d1e0;
--text-dim: #6b7a99;
--text-head: #e8edf7;
@@ -75,7 +74,7 @@ td a, td a:visited { color: var(--text-head); text-decoration: none; }
td a[href$="/"]:not([href="../"]) { color: var(--accent); font-weight: 600; }
td a:hover { color: var(--accent); text-decoration: underline; }
td:nth-child(3), td:nth-child(4) { color: var(--text-dim); font-size: 0.8rem; }
-td a[href$=".txz"] { color: var(--green); font-weight: 600; }
+td a[href$=".txz"] { color: var(--accent2); font-weight: 600; }
.autoindex-wrapper { flex: 1; display: flex; flex-direction: column; }
hr { display: none; }
address { display: none; }
@@ -96,7 +95,7 @@ address { display: none; }
.footer-inner { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.2rem; }
.footer-updated { font-family: var(--mono); font-size: 0.8rem; color: var(--text-dim); }
-.footer-date { color: var(--green); font-weight: 600; }
+.footer-date { color: var(--accent2); font-weight: 600; }
.footer-rss { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--mono); font-size: 0.75rem; color: #e8923a; text-decoration: none; border: 1px solid rgba(232,146,58,0.3); padding: 0.15rem 0.5rem; border-radius: 3px; }
.footer-rss:hover { background: rgba(232,146,58,0.1); }
.footer-sig { font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim); display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }