aboutsummaryrefslogtreecommitdiff
path: root/theme/static
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-14 19:18:31 -0600
committerChristian Cleberg <[email protected]>2025-11-14 19:18:31 -0600
commit724c262744a91314f59d4fb6d2e718bce2cf1680 (patch)
treef8a5b91166e28230730d878022e2f9d24ad46d3d /theme/static
parentec32fcd0245de79a84f57c54d435fbb8b74ab7ef (diff)
downloadcleberg.net-724c262744a91314f59d4fb6d2e718bce2cf1680.tar.gz
cleberg.net-724c262744a91314f59d4fb6d2e718bce2cf1680.tar.bz2
cleberg.net-724c262744a91314f59d4fb6d2e718bce2cf1680.zip
fix skip-link focus
Diffstat (limited to 'theme/static')
-rw-r--r--theme/static/styles.css8
1 files changed, 7 insertions, 1 deletions
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;