diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-22 23:02:12 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-22 23:02:12 +0300 |
| commit | 9e985948f171eb58b3c38b4059efb1c436c9a842 (patch) | |
| tree | 45233db768ea3e87e85bbd02e17e7393e8282211 /extras/html/themes/grid_engine/style.css | |
| parent | 2b78e5fcdf303f7055a67e13c5968e9ed92f56df (diff) | |
Fix retro theme visual effects and improve readability
- Fixed CSS validation issues (hex colors with alpha to rgba)
- Enhanced visual effects (scanlines, CRT, grid, dots, terminal) for better visibility
- Effects now properly display in Firefox and other browsers
- Made classic_matrix theme lighter with sharper text for better readability
- Enhanced retro glow effects to 125% for stronger vignette effect
- Added test_effects.html for testing visual effects
- All themes now W3C CSS compliant
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'extras/html/themes/grid_engine/style.css')
| -rw-r--r-- | extras/html/themes/grid_engine/style.css | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/extras/html/themes/grid_engine/style.css b/extras/html/themes/grid_engine/style.css index 0db6ce6..e493adb 100644 --- a/extras/html/themes/grid_engine/style.css +++ b/extras/html/themes/grid_engine/style.css @@ -25,7 +25,7 @@ --color-primary: #ff0090; --color-secondary: #00f0ff; --color-accent: #ffee00; - --color-glow: #ff009033; + --color-glow: rgba(255, 0, 144, 0.2); } * { @@ -33,19 +33,21 @@ } html { + position: relative; font-size: 16px; background-color: var(--color-bg); min-height: 100vh; -} - -html { background-image: - linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), - linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); + linear-gradient(rgba(0, 255, 0, 0.08) 1px, transparent 1px), + linear-gradient(90deg, rgba(0, 255, 0, 0.08) 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px; } +html { + position: relative; + } + body { font-family: text, monospace; background-color: var(--color-bg); @@ -67,7 +69,7 @@ body::before { left: 0; right: 0; bottom: 0; - background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 100%); + background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 125%); pointer-events: none; z-index: 2; } @@ -263,10 +265,14 @@ p { /* Special retro effects */ @keyframes glitch { - 0%, 100% { text-shadow: 0 0 5px var(--color-glow); } - 25% { text-shadow: -2px 0 var(--color-accent), 2px 0 var(--color-secondary); } - 50% { text-shadow: 2px 0 var(--color-accent), -2px 0 var(--color-secondary); } - 75% { text-shadow: 0 0 10px var(--color-glow); } + 0%, 100% { text-shadow: 0 0 5px var(--color-glow); +} + 25% { text-shadow: -2px 0 var(--color-accent), 2px 0 var(--color-secondary); +} + 50% { text-shadow: 2px 0 var(--color-accent), -2px 0 var(--color-secondary); +} + 75% { text-shadow: 0 0 10px var(--color-glow); +}; } h1:hover { |
