From 560e0af47a3c31285fe8a6a455abdf6a37e2d44f Mon Sep 17 00:00:00 2001 From: Jakob Krigovsky Date: Thu, 26 Jul 2018 16:27:04 +0200 Subject: [PATCH] Improve rendering of foundation link on small devices --- layouts/css/page-modules/_header.styl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/css/page-modules/_header.styl b/layouts/css/page-modules/_header.styl index 11b62494c49e4..bfe2928825abb 100644 --- a/layouts/css/page-modules/_header.styl +++ b/layouts/css/page-modules/_header.styl @@ -26,7 +26,6 @@ header // Special format for external 'Foundation' link in main navigation .nav-foundation - margin-left 8px background-color #026e00 &:before @@ -62,6 +61,9 @@ header a:active padding 0 8px + .nav-foundation + margin-left 8px + @media screen and (max-width: 480px) header li @@ -69,6 +71,8 @@ header float left padding 0 margin 0 + nav + margin 0 20px a, a:link, a:active