From c42150058196f5affad5c6c590e99dd2fc7321c3 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 10 Apr 2026 11:29:00 +0200 Subject: feat: complete Hugo theme implementation from mockups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Transform all production-ready mockup files into a fully functional Hugo theme with all design patterns, components, and interactivity. Implements the complete plan: token alignment, global shell, homepage, articles section, single article views, photo gallery, static pages, and 404 page. Changes: - Phase 0: Token alignment (--color-* → --type-*, add spacing/z-index/timing scales) - Phase 1a: Global shell (baseof.html, hamburger menu, theme toggle, matrix rain) - Phase 1b: Homepage (hero layout, glitch/typing/scroll-reveal effects) - Phase 1c: Articles section (timeline layout, filter system, featured cards) - Phase 1d: Single article (meta bar, share sidebar, footer nav, progress bar) - Phase 1e: Photo gallery (lightbox, grid layout, shortcode updates) - Phase 1f: Static pages (about/contact page layout) - Phase 1g: 404 page (standalone HTML, quote randomization, recent articles) New files: - 6 CSS components: hamburger, article-hero, share-sidebar, timeline, lightbox, 404 - 8 JS modules: hamburger, glitch, typing, scroll-reveal, share-sidebar, lightbox, 404, photo-utils - 6 template partials: article-single, featured-card, photo-article, share-sidebar, static-page, timeline-item - 1 layout: 404.html (standalone) Updated: - All CSS variables with comprehensive token system - All JS modules integrated into main.js - All shortcodes (gallery, gal-img) for lightbox compatibility - All layout files (baseof, home, section, page) with new dispatching logic Verified: Hugo build succeeds with 21 pages, no errors. Co-Authored-By: Claude Haiku 4.5 --- assets/css/main.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'assets/css/main.css') diff --git a/assets/css/main.css b/assets/css/main.css index 518e749..ad78700 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,11 +1,17 @@ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;600&family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300&family=Oxanium:wght@700;800&display=swap'); @import 'variables.css'; +@import 'components/hamburger.css'; @import 'components/header.css'; @import 'components/footer.css'; @import 'components/hero.css'; @import 'components/card.css'; @import 'components/feed.css'; +@import 'components/timeline.css'; +@import 'components/article-hero.css'; +@import 'components/share-sidebar.css'; +@import 'components/lightbox.css'; +@import 'components/404.css'; @import 'components/code.css'; @import 'components/progress-bar.css'; @@ -28,6 +34,22 @@ body { font-size: var(--fs-body); line-height: 1.95; transition: background-color 0.2s, color 0.2s; + position: relative; +} + +/* Dot grid background (shared across all pages) */ +body::before { + content: ''; + position: fixed; + inset: 0; + z-index: var(--z-matrix); + pointer-events: none; + background-image: radial-gradient(circle, rgba(168, 85, 247, 0.07) 1px, transparent 1px); + background-size: 30px 30px; +} + +html.theme-light body::before { + background-image: radial-gradient(circle, rgba(124, 58, 237, 0.05) 1px, transparent 1px); } /* Typography */ -- cgit v1.2.3