From 2b3ad7457eda24bf63a42e3d2aca84487901c335 Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Sat, 5 Sep 2026 20:38:41 -0400 Subject: [PATCH] Fix: raise footer contrast and preload the LCP wallpaper Preload /img/wallpaper.jpg so the mockup background is requested from the document head instead of after the stylesheet parses. Raise .license and .foot-links span to rgba(255,255,255,.5) and darken the version badge to #0072b5, bringing all three above the 4.5 contrast minimum. --- src/pages/index.astro | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 5e2a462..fd7e73e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -93,6 +93,13 @@ const schema = { href="/fonts/inter-latin.woff2" crossorigin /> + @@ -625,12 +632,12 @@ if (!reduced) { .foot-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:-10px 0} .foot-links a{font-size:14px;color:var(--a11y-dim);display:inline-flex;align-items:center;min-height:44px;padding:0 2px} .foot-links a:hover{color:var(--label-primary)} - .foot-links span{color:rgba(255,255,255,.28);font-size:13px} + .foot-links span{color:rgba(255,255,255,.5);font-size:13px} .foot-r{display:flex;flex-direction:column;align-items:flex-end;gap:12px} .verbadge{display:flex;border-radius:5px;overflow:hidden;font-size:12px;font-weight:600} .verbadge span{padding:4px 8px;background:var(--bg-elevated-tertiary);color:var(--label-secondary)} - .verbadge b{padding:4px 8px;background:#007ec6;color:#fff;font-weight:700} - .license{font-size:13px;color:rgba(255,255,255,.45)} + .verbadge b{padding:4px 8px;background:#0072b5;color:#fff;font-weight:700} + .license{font-size:13px;color:rgba(255,255,255,.5)} @media (max-width:1180px){