diff --git a/_includes/header.html b/_includes/header.html index 33e60908..cd4a38ac 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,23 +1,24 @@ {% assign current = page.url | downcase | split: '/' %} - + + Skip to main content Contributing News Awesome Newsletter Help - - + + - + - + - Downloads - Libraries - Blinka + Downloads + Libraries + Blinka Get Started - + diff --git a/_includes/header_mobile.html b/_includes/header_mobile.html index 59f728e0..9318064f 100644 --- a/_includes/header_mobile.html +++ b/_includes/header_mobile.html @@ -14,13 +14,13 @@ Open Mobile Menu - + + aria-expanded="false" aria-label="Mobile Menu"> Downloads diff --git a/_layouts/default.html b/_layouts/default.html index 35551f0b..49fdb4de 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,7 +6,7 @@ {% include header.html %} {% include header_mobile.html %} - + {{ content }} diff --git a/assets/sass/layout/_header.scss b/assets/sass/layout/_header.scss index d31d6d13..6fd51d43 100644 --- a/assets/sass/layout/_header.scss +++ b/assets/sass/layout/_header.scss @@ -34,7 +34,7 @@ .top-navigation { background-color: #151515; padding-top: 10px; - + .navigation { display: flex; align-items: flex-end; @@ -42,12 +42,25 @@ a { font-size: 16px; - color: #999999; + color: #aaa; &:hover { color: #fff; } } + + a.skip-link { + margin-left: 0; + position: absolute; + left: 10px; + top: 10px; + transform: translateY(-200%); + transition: transform 0.6s; + &:focus { + transform: translateY(0%); + } + } + &> a { margin-left: 40px; } @@ -94,7 +107,7 @@ a { margin-left: 40px; - color: #999999; + color: #aaa; &:hover { color: #fff;