summaryrefslogtreecommitdiffstats
path: root/assets/css/main.css
AgeCommit message (Collapse)AuthorFilesLines
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 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.1-0/+9
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>
10 daysfeat: add obsolete article bannerDanilo M.1-0/+60
10 daysfix: remove orphaned top border from article navDanilo M.1-1/+0
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 daysfix: center repo cards within grid cells with justify-itemsDanilo M.1-0/+1
10 daysfix: use auto-fill instead of auto-fit for repo grid to ensure 2-col layoutDanilo M.1-1/+1
11 daysfeat: adaptive repo grid with CSS auto-fit and :only-child centeringDanilo M.1-0/+15
2026-04-22chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme)Danilo M.1-143/+1649
2026-04-10feat: align homepage to mockup-a with centered hero, terminal animation, ↵Danilo M.1-0/+37
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.1-0/+22
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-05fix: resolve matrix rain opacity, menu styling, and featured articlesDanilo M.1-0/+2
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-05style: add card, feed, code, and progress bar stylesDanilo M.1-0/+4
2026-04-05style: add hero section with matrix canvas stylingDanilo M.1-0/+1
2026-04-05style: add CSS variables and base typographyDanilo M.1-8/+130
2026-04-04initial theme setup.Danilo M.1-0/+15