diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-05 09:52:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-05 09:52:36 +0200 |
| commit | 25b879bd290528adfb47b0042749305a6a408800 (patch) | |
| tree | 22048174696683141c5eaf00a6a4aee34ce8a244 /assets/css | |
| parent | 123b15e442a5a2bd2d73fb9d32cdded69a28f109 (diff) | |
| download | danixxyz-theme-25b879bd290528adfb47b0042749305a6a408800.tar.gz danixxyz-theme-25b879bd290528adfb47b0042749305a6a408800.zip | |
fix: resolve matrix rain opacity, menu styling, and featured articles
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>
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/components/hero.css | 18 | ||||
| -rw-r--r-- | assets/css/main.css | 2 |
2 files changed, 4 insertions, 16 deletions
diff --git a/assets/css/components/hero.css b/assets/css/components/hero.css index a1f93fc..9672ffd 100644 --- a/assets/css/components/hero.css +++ b/assets/css/components/hero.css @@ -16,12 +16,12 @@ #matrix-canvas { position: absolute; inset: 0; - opacity: 0.13; + opacity: 0.25; pointer-events: none; } html.theme-light #matrix-canvas { - opacity: 0.18; + opacity: 0.35; } .hero-content { @@ -77,20 +77,6 @@ html.theme-light #matrix-canvas { max-width: 400px; } -/* Scanlines effect on canvas */ -#matrix-canvas::after { - content: ''; - position: absolute; - inset: 0; - background: repeating-linear-gradient( - 0deg, - rgba(0, 0, 0, 0.15), - rgba(0, 0, 0, 0.15) 1px, - transparent 1px, - transparent 2px - ); - pointer-events: none; -} /* Ambient glow behind hero */ .hero::before { diff --git a/assets/css/main.css b/assets/css/main.css index 3c12d22..518e749 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,6 +1,8 @@ @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/header.css'; +@import 'components/footer.css'; @import 'components/hero.css'; @import 'components/card.css'; @import 'components/feed.css'; |
