From d98cc6f353bef30bd52b67faae12a87f70d55c0e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 21 Dec 2014 20:16:05 -0800 Subject: [PATCH] Tweak menu for small screens --- sass/oscailte/base/_navigation.scss | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/sass/oscailte/base/_navigation.scss b/sass/oscailte/base/_navigation.scss index b8ef3430eeb..b1afe3ee31d 100644 --- a/sass/oscailte/base/_navigation.scss +++ b/sass/oscailte/base/_navigation.scss @@ -26,8 +26,13 @@ body{ -webkit-animation: bugfix infinite 1s; } /*-------------------------------- Presentation Styles (Editable) ---------------------------------*/ +header .grid { + height: 68px; +} + .menu { margin: 0; + top: 68px; } .menu > li > a{ @@ -86,6 +91,7 @@ body{ -webkit-animation: bugfix infinite 1s; } text-align: center; font-size: 12px; color: $white; + white-space: nowrap; } .toggle:hover::after{ @@ -98,9 +104,15 @@ body{ -webkit-animation: bugfix infinite 1s; } } @media only screen and (max-width: 479px){ + .toggle { + display: inline-block; + position: absolute; + top: -3px; + right: 10px; + } .toggle::after { - margin: 0 0 20px; - text-align: center; - width: 100%; + padding: 10px 15px; + font-family: "FontAwesome"; + content: "\f0c9"; } } \ No newline at end of file