0

fix skip link visibility and it moving logo upon focus (#4078)

* fix skip link visibility and it moving logo upon focus

* update color
This commit is contained in:
gingervitis 2025-01-04 20:24:27 -08:00 committed by GitHub
parent 678214c19d
commit 6528633a13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,17 +59,23 @@
.skipLink { .skipLink {
position: absolute; position: absolute;
z-index: 2;
left: -10000px; left: -10000px;
top: auto; top: var(--header-height);
width: 1px; width: 1px;
height: 1px; height: 1px;
overflow: hidden; overflow: hidden;
background-color: var(--theme-color-background-header);
color: var(--theme-color-components-text-on-dark);
padding: 8px;
border-radius: var(--theme-rounded-corners);
} }
.skipLink:focus { .skipLink:focus {
position: static;
width: auto; width: auto;
height: auto; height: auto;
left: var(--content-padding);
outline: var(--theme-color-components-text-on-dark) solid 2px;
} }
.offlineTag { .offlineTag {