m |
m |
||
Line 35: | Line 35: | ||
.navbar-header, .navbar-nav > li > a{ | .navbar-header, .navbar-nav > li > a{ | ||
margin-top: 14px !important; | margin-top: 14px !important; | ||
+ | } | ||
+ | |||
+ | @media screen and (min-width: 768px) { | ||
+ | .navbar-default .navbar-brand, .navbar-default .navbar-nav>li>a{ | ||
+ | color: #E4F9F5 !important; | ||
+ | } | ||
+ | |||
+ | .navbar-default { | ||
+ | background-color:transparent; | ||
+ | border: transparent; | ||
+ | } | ||
+ | |||
+ | .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{ | ||
+ | background-color: transparent; | ||
+ | border-bottom: 2px solid #E4F9F5; | ||
+ | } | ||
+ | |||
} | } | ||
Line 58: | Line 75: | ||
} | } | ||
− | . | + | .opaque-nav{ |
− | background-color: | + | background-color: black; |
− | border: | + | border-color: black; |
} | } | ||
Line 75: | Line 92: | ||
stop = Math.round($(window).scrollTop()); | stop = Math.round($(window).scrollTop()); | ||
if (stop > mainbottom) { | if (stop > mainbottom) { | ||
− | $('.navbar-default'). | + | $('.navbar-default').addClass('opaque-nav'); |
} else { | } else { | ||
− | $('.navbar-default'). | + | $('.navbar-default').removeClass('opaque-nav'); |
} | } | ||
Revision as of 12:59, 3 October 2016