From 7e2a73f2d4e99ef1ea3d6f832b8e10b968de4bc0 Mon Sep 17 00:00:00 2001 From: MrPiglr Date: Sun, 18 Jan 2026 23:28:38 +0000 Subject: [PATCH] modified: public/global.css --- public/global.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/public/global.css b/public/global.css index 84aa25d..efc6bf9 100644 --- a/public/global.css +++ b/public/global.css @@ -4,11 +4,23 @@ body { font-family: 'Roboto Mono', monospace; background: #0a0a0a; color: #e0e0e body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 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; z-index: 1000; } body::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 50px 50px; pointer-events: none; z-index: 0; } .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; } -nav { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1a1a1a; margin-bottom: 80px; } +nav { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1a1a1a; margin-bottom: 80px; position: relative; } .logo { font-size: 2em; font-weight: 900; letter-spacing: 6px; background: linear-gradient(90deg, #ff0000, #0066ff, #ffa500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .nav-links { display: flex; gap: 40px; font-size: 0.9em; } -.nav-link { color: #666; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; cursor: pointer; } +.nav-link { color: #666; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; cursor: pointer; padding: 16px 0; } .nav-link:hover { color: #0066ff; } +.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; cursor: pointer; z-index: 1001; } +.hamburger span { display: block; width: 28px; height: 4px; background: #666; margin: 4px 0; border-radius: 2px; transition: background 0.3s; } +@media (max-width: 900px) { + .nav-links { display: none; position: absolute; top: 70px; right: 0; background: #181818; flex-direction: column; gap: 0; width: 100vw; box-shadow: 0 8px 32px rgba(0,0,0,0.3); border-bottom: 1px solid #222; } + .nav-links.open { display: flex; } + .nav-link { padding: 20px; border-bottom: 1px solid #222; font-size: 1.2em; } + .hamburger { display: flex; } +} +@media (max-width: 600px) { + .logo { font-size: 1.3em; } + nav { padding: 18px 0; margin-bottom: 40px; } +} .hero { text-align: center; padding: 80px 0 120px 0; position: relative; } .hero-title { font-size: 5em; font-weight: 900; letter-spacing: 8px; margin-bottom: 30px; line-height: 1.2; } .hero-subtitle { font-size: 1.4em; color: #666; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px; }