summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
4 daysbuild: recompile CSS with prose cta-block anchor fixHEADmasterDanilo M.1-0/+7
4 daysfix: beat prose-invert anchor override for CTA button in light modeDanilo M.1-0/+6
html.theme-light .prose-invert a sets color: var(--accent) via a direct selector outside any layer — not-prose cannot block it. Adds matching specificity rule targeting .cta-block a inside prose/prose-invert to restore var(--on-accent) text color in light mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysfix: add not-prose to cta-block to prevent prose link color overrideDanilo M.1-1/+1
Tailwind prose's `a` rule was overriding btn-primary color in light mode. not-prose excludes the CTA wrapper from prose link styles. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysbuild: recompile CSS with --on-accent var and CTA centeringDanilo M.1-2/+20
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysfix: add --on-accent var and fix button text color + CTA centeringDanilo M.1-2/+19
Adds --on-accent semantic CSS variable (#f0f0f0 dark / #f0f4f8 light), both passing WCAG AA against --accent in their respective modes. Updates .btn-primary to use var(--on-accent) instead of hardcoded #ffffff. Adds .cta-block override to win specificity over the base a { color: var(--accent) } rule. Centers content inside .cta-block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysbuild: recompile CSS with cta-block component stylesDanilo M.1-22/+182
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysfeat: upgrade actions shortcode to CTA block componentDanilo M.2-7/+47
Replaces the minimal inline download button with a visually distinctive CTA card. New `use` parameter drives icon and download attribute ("download", "site", "repo", "mail"). Optional `caption` param adds description text above the button. Button uses .btn.btn-primary for consistent styling. CSS adds .cta-block / .cta-block__caption with accent border, glow, and light mode overrides per THEMING-STANDARD.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 dayssecurity: add SRI integrity hashes and pin CDN versionsDanilo M.1-4/+4
8 daysbuild: add Twemoji emoji inline sizing CSSDanilo M.2-0/+25
8 daysfix: defer twemoji-init script to match CDN load orderDanilo M.1-1/+1
8 daysfix: defer Twemoji CDN script load to avoid render blockingDanilo M.1-1/+1
8 daysfeat: load Twemoji CDN and init script on article pagesDanilo M.1-0/+7
8 daysfix: guard against missing twemoji global in init scriptDanilo M.1-0/+2
8 daysfeat: add Twemoji init script for article proseDanilo M.1-0/+4
8 daysfix: read excerpt frontmatter param in article listingsDanilo M.3-3/+3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 daysbuild: recompile CSS with callout component stylesDanilo M.1-26/+169
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 daysfeat: add callout shortcode (note/tip/info/warning/danger/success)Danilo M.4-0/+110
- Single shortcode with type param, CSS-only variants - Left border + fading bottom border (::after gradient) - Colors mapped to existing theme tokens (--accent, --accent2, --type-link, --type-life) - --callout-danger: #ef4444 hardcoded exception (approved) - role=alert for danger, role=note for all others (WCAG AA) - aria-hidden on Feather icons, title overridable via param - EN/IT i18n keys Also fixes html.theme-light CSS vars to match THEMING-STANDARD.md: - --bg, --bg2, --surface, --border, --text, --text-dim, --muted - --accent (#7c3aed), --accent2 (#008f5a)
9 daysfix: correct --bg2-rgb value to match --bg2 hex (#e2eaf4 → 226,234,244)Danilo M.1-2/+2
9 daysfix: align html.theme-light CSS vars with THEMING-STANDARD.mdDanilo M.1-26/+26
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 daysfeat: support external links in main menu with A11y new-tab labelDanilo M.3-1/+6
9 daysfix: add obsolete banner to articles templateDanilo M.1-0/+3
9 daysfeat: add obsolete article bannerDanilo M.6-0/+157
9 daysfix: remove orphaned top border from article navDanilo M.3-27/+17
Top nav variant (above title) had a border-t that divided nothing. Move border-t/pt-6 from CSS class into template, applied only on bottom variant. Rebuild CSS.
9 daysfeat: consolidate article metadata into sidebar widgetDanilo M.2-43/+21
Remove publication date, lastmod, reading time, and type badge from article header. Header now shows title + type-colored accent lines only. Move publication and lastmod dates to sidebar stats widget, between author and word count. Reading time and type badge already in sidebar — no duplication needed. Removes orphaned bottom border and padding from header outer div.
10 daysfix: add aria-hidden to decorative feather icons, align type badge with ↵Danilo M.2-9/+9
header pattern
10 daysfeat: expand author widget to article stats (words, reading time, type)Danilo M.3-5/+44
10 daysfix: update deprecated .Site.Languages and .Site.Data APIs to site.Languages ↵Danilo M.5-5/+6
and hugo.Data - Replace .Site.Languages with site.Languages in hamburger-menu.html and header.html - Replace .Site.Data with hugo.Data in repository/single.html and footer.html - Add acronym shortcode for semantic HTML abbr tags with title attributes
10 daysMerge branch 'master' of danix_git:danix2-hugo-themeDanilo M.1-1/+0
10 daysfix: switch back to auto-fit for proper 2+ repo layoutDanilo M.1-2/+1
10 daysfix: remove extra template end tagDanilo M.1-1/+0
10 daysfix: single repo centered via Hugo conditional, grid for 2+ reposDanilo M.1-1/+6
10 daysMerge branch 'master' of danix_git:danix2-hugo-themeDanilo M.1-14/+15
10 daysfix: center repo cards within grid cells with justify-itemsDanilo M.1-0/+1
10 daysbuild: recompile CSS with auto-fill fixDanilo M.1-14/+15
10 daysfix: use auto-fill instead of auto-fit for repo grid to ensure 2-col layoutDanilo M.1-1/+1
10 daysfeat: adaptive repo grid with CSS auto-fit and :only-child centeringDanilo M.2-2/+17
2026-04-22fix: capture form load time for timing checkDanilo M.1-1/+2
2026-04-22fix: correct contact form POST URL and data format (JSON→FormData)Danilo M.1-5/+10
2026-04-22chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme)Danilo M.136-5746/+10227
2026-04-10fix: hide skip-to-content link with transform instead of top positioningDanilo M.1-4/+6
Replace top: -40px positioning with transform: translateY(-100%) for more robust hiding. The link now: - Stays hidden by default (translateY(-100%) moves it above viewport) - Smoothly slides in when focused (on keyboard navigation) - Uses fixed positioning for reliability This is a more modern and accessible approach that ensures the skip link is invisible until needed. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10feat: conditionally show progress-bar only on single articles and pagesDanilo M.1-1/+3
Hide progress-bar from: - Homepage (.IsHome) - Taxonomy/term pages (.Kind == "term" or "taxonomy") - Section/list pages (.Kind == "section") Show progress-bar only on: - Single articles - Single pages This removes visual clutter from list pages while keeping the reading progress indicator for long-form content. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10fix: move canvas from baseof to hero section onlyDanilo M.3-7/+9
The matrix canvas was duplicated - one in baseof.html (body level) and one we added to hero.html. This caused conflicts and visibility issues. Changes: - Remove canvas from baseof.html entirely - it should only be in the hero section - Keep canvas in hero.html with data-mode="hero" - Simplify matrix-rain.js to handle data-mode attribute and use offsetWidth/offsetHeight with fallbacks - Update hero.css with proper absolute positioning (inset: 0) Now there's only one canvas element positioned absolutely within the hero section, avoiding conflicts and ensuring proper rendering. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10fix: align matrix rain implementation with mockup-a.htmlDanilo M.2-39/+21
Simplified and aligned the matrix rain implementation to match mockup-a.html exactly: - Use width: 100%; height: 100% in CSS instead of inset/display properties for more reliable sizing - Simplify canvas init() to use offsetWidth/offsetHeight directly without fallbacks - Use getThemeColors() helper function for consistent color management - Simplify tick() to only use the two colors (bright green head at 4%, purple trail) - Remove unused data-mode attribute logic - Streamline event listeners to match mockup structure This matches the proven working implementation from the mockup. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10fix: improve matrix canvas sizing and z-index for hero sectionDanilo M.2-3/+6
- Add z-index: 1 to matrix canvas to ensure it renders above the dot grid background but below content - Add display: block to ensure canvas renders properly - Fix canvas sizing logic to use getBoundingClientRect() as primary method for hero mode, with fallbacks to offsetWidth/height and viewport dimensions - This ensures the canvas gets proper dimensions even if offset measurements are unavailable during initialization Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10fix: add missing matrix canvas element to hero sectionDanilo M.1-0/+1
The matrix-rain.js script was looking for #matrix-canvas but the element was not being rendered in the hero template, causing the matrix rain animation to be invisible. Added the canvas element with data-mode="hero" attribute for proper sizing relative to the hero container. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-10feat: align homepage to mockup-a with centered hero, terminal animation, ↵Danilo M.9-122/+349
article grid 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 <noreply@anthropic.com>
2026-04-10feat: complete Hugo theme implementation from mockupsDanilo M.74-2557/+2956
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 <noreply@anthropic.com>
2026-04-05chore: add .gitignoreDanilo M.1-0/+23
Exclude from version control: - Hugo build artifacts (public/, resources/, .hugo_build.lock) - HANDOFF.md (internal documentation) - IDE and OS files (.vscode, .idea, .DS_Store, etc.) - Dependencies (node_modules, package-lock.json, yarn.lock) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05fix: use excerpts instead of full content in article cardsDanilo M.2-2/+13
Updated both home.html and section.html to: 1. Check for 'excerpt' field in front matter first 2. If excerpt exists, use it 3. If not, generate from content: get first paragraph, convert to plain text, truncate to 150 characters This prevents full article content from showing in feeds while respecting custom excerpts when provided. Applies to both homepage feed and articles section list view. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05tweak: increase matrix rain canvas opacityDanilo M.1-2/+2
Increased opacity from 0.25→0.4 (dark) and 0.35→0.5 (light) to make the matrix rain effect more visible on the hero section. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>