cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

724c262744a91314f59d4fb6d2e718bce2cf1680

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2025-11-15T01:18:31Z

fix skip-link focus
 theme/static/styles.css | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/theme/static/styles.css b/theme/static/styles.css
index 385b666..223d279 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -39,13 +39,19 @@ h1,h2,h3,h4,h5,h6 {
 
 .skip-link {
     position: absolute;
-    left: -999px;
+    left: -10000px;
     top: auto;
     width: 1px;
     height: 1px;
     overflow: hidden;
 }
 
+.skip-link:focus {
+    position: static;
+    width: auto;
+    height: auto;
+}
+
 nav {
 	align-items: center;
 	display: flex;