summaryrefslogtreecommitdiffstats
path: root/core/css/header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/header.scss')
-rw-r--r--core/css/header.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index fdb2bb24e1f..e218f86fa9b 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -564,3 +564,24 @@ nav[role='navigation'] {
display: none;
}
}
+
+/* Skip navigation links – show only on keyboard focus */
+.skip-navigation {
+ padding: 11px;
+ position: absolute;
+ overflow: hidden;
+ z-index: 1000;
+ top: -999px;
+ left: 3px;
+ /* Force primary color, otherwise too light focused color */
+ background: var(--color-primary) !important;
+
+ &.skip-content {
+ left: 253px;
+ }
+
+ &:focus,
+ &:active {
+ top: 50px;
+ }
+}