Fixed the navbar on scroll and removed logo

This commit is contained in:
Asutosh Palai
2016-07-05 00:44:33 -04:00
parent 5bc6cc62ec
commit 24f1390145
2 changed files with 25 additions and 5 deletions

View File

@ -93,11 +93,17 @@ body {
// ================ NAV ================//
.navbar-wrapper {
position: absolute;
position: relative;
top: 0;
right: 0;
left: 0;
z-index: 20;
background: black;
&.affix {
position: fixed;
}
}
@ -113,10 +119,24 @@ body {
.navbar {
background: transparent;
@include gradient-vertical($start-color: rgba(0,0,0,.4), $end-color: rgba(0,0,0,.0001));
border: none;
padding-top: 5px;
font-weight: bold;
font-family: Merriweather;
font-size: 25px;
margin-bottom: 0px;
border-bottom: 0px;
.navbar-header {
margin-top: 0.2em;
}
.navbar-title {
text-transform: uppercase;
color: #ffffff;
line-height: normal;
padding-top: 5px;
}
.navbar-toggle {
margin-top: 10px;