diff --git a/sass/base.sass b/sass/base.sass index 0c77f6de..60b5f7e5 100644 --- a/sass/base.sass +++ b/sass/base.sass @@ -14,12 +14,6 @@ body font-size: 1rem line-height: 1.6 -a, -button, -input, -textarea - outline: none - a color: $link cursor: pointer @@ -64,3 +58,10 @@ html.is-index html font-size: 18px padding-left: $menu-width + +[href="#main"] + position: absolute; + top: 0; + right: 100%; + &:focus + right: auto; diff --git a/sass/menu.sass b/sass/menu.sass index 15c37d62..4d0159e3 100644 --- a/sass/menu.sass +++ b/sass/menu.sass @@ -132,6 +132,10 @@ &.is-selected background: $alpha color: $alpha-invert + &:focus + outline: none + background: $alpha + color: $alpha-invert &.is-searching a display: none From 2f39a4606f5df0972922f27039940550129b4730 Mon Sep 17 00:00:00 2001 From: Christoph Lipautz Date: Mon, 28 Nov 2016 19:23:12 +0100 Subject: [PATCH 2/2] Adapt search input and update assets --- _includes/menu.html | 9 +- css/website.css | 1351 ++++++++++++++++++++++++++++++++++++++++++- sass/menu.sass | 4 + 3 files changed, 1359 insertions(+), 5 deletions(-) diff --git a/_includes/menu.html b/_includes/menu.html index 30cbd348..e9114a59 100644 --- a/_includes/menu.html +++ b/_includes/menu.html @@ -32,11 +32,9 @@ CSS Reference type - aria-label="Share via Twitter" - aria-label="Share via Facebook"

-