summaryrefslogtreecommitdiffstats
path: root/assets
AgeCommit message (Collapse)AuthorFilesLines
6 hoursfix: guard against double JS execution and fix partial page contextDanilo M.1-0/+3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 hoursfeat: add contribution graph widgetDanilo M.2-0/+312
Sidebar (/is pages, cellSize=8) and footer (sitewide, cellSize=6). Fetches /contributions.json, split-cell linear-gradient rendering (gitolite=green/accent2, github=purple/accent), opacity intensity levels, month labels, tooltip, i18n IT/EN. WCAG 2.1 AA compliant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 daysbuild: recompile CSS with prose cta-block anchor fixDanilo 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 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.1-0/+31
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 daysbuild: add Twemoji emoji inline sizing CSSDanilo M.2-0/+25
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
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.1-0/+79
- 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: add obsolete article bannerDanilo M.2-0/+122
10 daysfix: remove orphaned top border from article navDanilo M.2-26/+16
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.
10 daysfix: switch back to auto-fit for proper 2+ repo layoutDanilo M.1-2/+1
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.1-0/+15
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.42-3647/+7416
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-10fix: move canvas from baseof to hero section onlyDanilo M.2-6/+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-10feat: align homepage to mockup-a with centered hero, terminal animation, ↵Danilo M.6-61/+252
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.24-143/+2521
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-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>
2026-04-05fix: resolve matrix rain opacity, menu styling, and featured articlesDanilo M.3-16/+14
Issues fixed: 1. Added missing header.css and footer.css imports to main.css (fixes unstyled menu) 2. Increased matrix rain canvas opacity (0.13→0.25, 0.18→0.35) for better visibility 3. Updated home.html to display featured articles first, then latest 3 4. Removed invalid pseudo-element CSS rule on canvas element The form on /is/here should now be visible, menu properly styled, and matrix rain more prominent. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05feat: add filter functionality, archetypes, and sample contentDanilo M.1-0/+28
- Create filters.js for post filtering by type (tech, life, quote, link, photo) - Add article.md and page.md archetypes with appropriate fields - Update default.md archetype with correct TOML syntax - Create sample content for home, articles, and about pages - Fix section.html template resource permalink syntax Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05feat: add JavaScript modules (theme toggle, matrix rain, progress tracking, ↵Danilo M.5-1/+233
copy-to-clipboard) Implement all 4 JavaScript modules: - theme-toggle.js: Theme switching with localStorage persistence - matrix-rain.js: Animated matrix-style rain effect on canvas - progress-bar.js: Reading progress tracking during scroll - copy-code.js: Copy-to-clipboard functionality for code blocks Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05style: add card, feed, code, and progress bar stylesDanilo M.5-0/+420
2026-04-05style: add hero section with matrix canvas stylingDanilo M.2-0/+118
2026-04-05style: update header and footer with theme variablesDanilo M.2-4/+149
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-05style: add CSS variables and base typographyDanilo M.2-8/+220
2026-04-04initial theme setup.Danilo M.4-0/+24