summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-05 09:52:36 +0200
committerDanilo M. <danix@danix.xyz>2026-04-05 09:52:36 +0200
commit25b879bd290528adfb47b0042749305a6a408800 (patch)
tree22048174696683141c5eaf00a6a4aee34ce8a244 /assets
parent123b15e442a5a2bd2d73fb9d32cdded69a28f109 (diff)
downloaddanixxyz-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')
-rw-r--r--assets/css/components/hero.css18
-rw-r--r--assets/css/main.css2
-rw-r--r--assets/jsconfig.json10
3 files changed, 14 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';
diff --git a/assets/jsconfig.json b/assets/jsconfig.json
new file mode 100644
index 0000000..377218c
--- /dev/null
+++ b/assets/jsconfig.json
@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+ "baseUrl": ".",
+ "paths": {
+ "*": [
+ "*"
+ ]
+ }
+ }
+} \ No newline at end of file