about summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/theme.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/theme.css b/assets/css/theme.css
index 1988b04..1162ae0 100644
--- a/assets/css/theme.css
+++ b/assets/css/theme.css
@@ -2,6 +2,20 @@
     --column-width: 80ch;
 }
 
+a.skip-main {
+    left: 0;
+    position: absolute;
+}
+
+a.skip-main:not(:focus) {
+    clip: rect(0 0 0 0);
+    clip-path: inset(50%);
+    height: 1px;
+    overflow: hidden;
+    white-space: nowrap;
+    width: 1px;
+}
+
 nav ul, nav ul li {
 	display: inline-block;
 }