From 70fab005093cd92bfbde1bfa3380c3dc873bdfcf Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 10 Apr 2026 12:01:49 +0200 Subject: feat: align homepage to mockup-a with centered hero, terminal animation, article grid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructure hero layout with centered .hero-container (max-width 1080px), update hero text (prompt "welcome to", button "About Me" → /is/), add terminal widget title bar and staggered fade-in animation, replace scroll indicator with animated line. Add section header (eyebrow + title) above articles, new vertical .article-card grid layout with solid type badges (sharp corners, sharp badges), implement scroll reveal stagger (90ms per sibling). Update terminal color palette to use proper CSS variables. Remove ambient glow from hero. Changes follow THEMING-STANDARD: semantic color variables, mobile-first responsive design, prefers-reduced-motion support, WCAG AA accessibility. - hero.html: new .hero-container wrapper, typed terminal content, scroll line - hero.css: restructure layout, add color classes, stagger animation, scroll pulse - home.html: add section header, .articles-grid, pass context="home" flag - post-card.html: context-conditional rendering (homepage vertical vs. other horizontal) - card.css: new .article-card, .articles-grid, .article-* styles - main.css: add section utilities, .reveal/.revealed base states - variables.css: add --terminal-prompt, --terminal-text, --terminal-accent - scroll-reveal.js: add 90ms per-item stagger with cleanup - 404.css: remove hardcoded terminal color fallbacks Co-Authored-By: Claude Haiku 4.5 --- assets/css/components/404.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/css/components/404.css') diff --git a/assets/css/components/404.css b/assets/css/components/404.css index d2c93b0..3db099f 100644 --- a/assets/css/components/404.css +++ b/assets/css/components/404.css @@ -222,7 +222,7 @@ padding: 1rem; font-family: var(--font-mono); font-size: 0.75rem; - color: var(--terminal-text, #c4d6e8); + color: var(--terminal-text); line-height: 1.6; } @@ -232,7 +232,7 @@ } .terminal-prompt { - color: var(--terminal-prompt, #00ff88); + color: var(--terminal-prompt); } #terminal-files { -- cgit v1.2.3