From e5a82f67ec16aecd9b19d7f296dc3094f9ba08ee Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Tue, 10 Feb 2015 18:25:55 -0500 Subject: fix home navbar on mobile --- assets/less/bootswatch.less | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'assets/less') diff --git a/assets/less/bootswatch.less b/assets/less/bootswatch.less index 99d828e4..53735f3e 100644 --- a/assets/less/bootswatch.less +++ b/assets/less/bootswatch.less @@ -1,13 +1,20 @@ body { - padding-top: 50px; + padding-top: 50px; + > .navbar { -webkit-transition: background-color 300ms ease-in; transition: background-color 300ms ease-in; } - > .navbar-transparent { - background-color: transparent; - .navbar-nav > .open > a { - background-color: transparent !important; +} + +@media (min-width: 768px) { + body { + > .navbar-transparent { + background-color: transparent; + + .navbar-nav > .open > a { + background-color: transparent !important; + } } } } -- cgit v1.2.3