diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..456e8de --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,7 @@ +## 2026-05-02 - Layout Stability on Hover +**Learning:** Using `border-bottom: 2px solid transparent` on navigation links as a baseline prevents layout shifts when applying a colored border on hover, maintaining visual stability. +**Action:** Always initialize interactive elements that gain borders on state changes with a transparent border of the same width. + +## 2026-05-02 - Robust Clipboard Utility +**Learning:** For a technical audience, a "Copy to Clipboard" utility in terminal-style code windows significantly improves utility. Providing immediate visual feedback ("Copied!") and a fallback for non-secure/legacy environments (using a hidden textarea) ensures a reliable experience across all browsers. +**Action:** Implement clipboard utilities with both `navigator.clipboard` and an `execCommand('copy')` fallback, accompanied by clear state-change feedback on the trigger element. diff --git a/index.html b/index.html index 449cb15..4ae70ec 100644 --- a/index.html +++ b/index.html @@ -15,11 +15,13 @@ .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:hover { color: #fff; border-bottom: 2px solid var(--lime); } + .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-color: var(--lime); } .roadmap-card { border-left: 2px solid #3f3f46; transition: all 0.3s ease; } .roadmap-card:hover { border-left-color: var(--lime); background: #111113; } + @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } + .terminal-blink { animation: blink 1s step-end infinite; } @@ -30,11 +32,12 @@