Skip to content

Commit

Permalink
Display skip link when focused on
Browse files Browse the repository at this point in the history
  • Loading branch information
wovenstarlight committed Apr 13, 2024
1 parent 145b95e commit 7463641
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions theme13/theme13.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,23 @@ svg {
/* Accessibility */
.hidden {
position: fixed;
top: -10vh;
top: -5em;
left: 0;
font-size: 1vh;
font-size: min(1em, 1vh);
line-height: 1;
}
#skip {
transition: top 0.3s;
color: var(--bg);
background: var(--accent);
font-size: 1em;
z-index: 10;
padding: 0.75em 1em;
text-decoration: none;
border-radius: 2em;
left: 0.25em;
}
#skip:focus { top: 0.25em }
button { cursor: pointer }
.tmblr-iframe--unified-controls.iframe-controls--desktop { top: 0.3em }
body.hasavatar .tmblr-iframe--unified-controls { right: 3.25em }
Expand Down
Loading

0 comments on commit 7463641

Please sign in to comment.