a11y: add skipnav link

This commit is contained in:
2kool4idkwhat 2023-07-12 14:17:10 +02:00
parent f26d122b2a
commit afebeba99d
No known key found for this signature in database
GPG key ID: 5E65450311848663
3 changed files with 18 additions and 1 deletions

View file

@ -145,3 +145,18 @@ h3.blog-filter {
cursor: not-allowed;
opacity: 0.7;
}
/* "skip to main content" link */
.skiplink {
position: absolute;
top: 5;
transform: translateY(-600%);
transition: transform 0.5s;
background-color: #121212;
font-size: larger;
padding: 6px;
}
.skiplink:focus {
transform: translateY(0%);
}