From 4bcca2006dcda8d5b333482681492455ddc3f4ae Mon Sep 17 00:00:00 2001 From: OwnerLink Date: Sun, 11 Oct 2026 01:18:40 +0300 Subject: [PATCH] Keep keyboard navigation link fully hidden until focused --- website/assets/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/assets/css/style.css b/website/assets/css/style.css index a978573..ba83108 100644 --- a/website/assets/css/style.css +++ b/website/assets/css/style.css @@ -117,17 +117,17 @@ code, kbd, .mono { .skip-link { position: absolute; left: 50%; - top: -60px; - transform: translateX(-50%); + top: 0; + transform: translate(-50%, -110%); z-index: 200; padding: 10px 18px; border-radius: 0 0 12px 12px; background: var(--pink); color: #fff; font-weight: 700; - transition: top 160ms var(--ease); + transition: transform 160ms var(--ease); } -.skip-link:focus { top: 0; } +.skip-link:focus { transform: translate(-50%, 0); } /* ============================ Header ============================ */