summary refs log tree commit diff stats
path: root/themes/bear/templates/style.html
diff options
context:
space:
mode:
authorAlan Pearce2023-06-21 13:21:25 +0200
committerAlan Pearce2023-06-21 13:21:25 +0200
commit6be02cea11848175ead843d2ecad78dd0548a8a4 (patch)
tree69bcd1f49b4ceeede63d2651004a9edf8c8a6f52 /themes/bear/templates/style.html
parentf8acc923560a4b3fde660256ae7b7a6f9688b306 (diff)
downloadwebsite-6be02cea11848175ead843d2ecad78dd0548a8a4.tar.lz
website-6be02cea11848175ead843d2ecad78dd0548a8a4.tar.zst
website-6be02cea11848175ead843d2ecad78dd0548a8a4.zip
Add skip links for accessibility
Diffstat (limited to 'themes/bear/templates/style.html')
-rw-r--r--themes/bear/templates/style.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/bear/templates/style.html b/themes/bear/templates/style.html
index b242914..9015890 100644
--- a/themes/bear/templates/style.html
+++ b/themes/bear/templates/style.html
@@ -12,6 +12,15 @@
     color: #444;
   }
 
+  .skip {
+    position: absolute;
+    top: -3em;
+    background: #fff;
+  }
+  .skip:focus {
+    top: 0;
+  }
+
   h1,
   h2,
   h3,