diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..dfdfa90 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2026-04-30 - Standardizing Navigation Aesthetic and Stability +**Learning:** In a terminal-inspired UI, navigation links benefit from a `/` prefix to reinforce the CLI aesthetic. Additionally, adding a transparent border-bottom to links in their base state prevents a 2px layout shift when the border becomes visible on hover. +**Action:** Always initialize `.nav-link` with `border-bottom: 2px solid transparent;` to ensure smooth hover transitions without vertical jumping. diff --git a/index.html b/index.html index 449cb15..72b2b95 100644 --- a/index.html +++ b/index.html @@ -15,8 +15,11 @@ .industrial-border { border: 2px solid #27272a; } .license-box { background: #000; border: 1px solid #3f3f46; position: relative; } - .nav-link { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a1a1aa; transition: all 0.2s; } + .nav-link { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a1a1aa; transition: all 0.2s; border-bottom: 2px solid transparent; } .nav-link:hover { color: #fff; border-bottom: 2px solid var(--lime); } + + .terminal-blink { animation: blink 1s step-end infinite; } + @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } .roadmap-card { border-left: 2px solid #3f3f46; transition: all 0.3s ease; } .roadmap-card:hover { border-left-color: var(--lime); background: #111113; } @@ -30,7 +33,7 @@