Created
April 9, 2015 16:22
-
-
Save eri-trabiccolo/587e034908b5e208ef3f to your computer and use it in GitHub Desktop.
Sticky enabled header no changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Center logo/title and navbar when sticky enabled */ | |
.sticky-enabled .logo-centered .navbar-wrapper{ | |
float: none; | |
margin: auto; | |
clear: both; | |
} | |
.sticky-enabled .logo-centered .brand{ | |
width: 100%; | |
} | |
.sticky-enabled #tc-reset-margin-top { margin-bottom: 42px;} | |
/* end centering */ | |
/* background on sticky enabled */ | |
.sticky-enabled .tc-header { background-color : #fff !important; } | |
/* navbar-inner box on sticky-enabled */ | |
.sticky-enabled .navbar .navbar-inner { | |
margin: 5px 5px 11px; | |
-webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25); | |
-moz-box-shadow: 0 2px 10px rgba(0,0,0,.25); | |
box-shadow: 0 2px 10px rgba(0,0,0,.25); | |
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | |
background-color: #fafafa; | |
background-image: -moz-linear-gradient(top,#fff,#f2f2f2); | |
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2)); | |
background-image: -webkit-linear-gradient(top,#fff,#f2f2f2); | |
background-image: -o-linear-gradient(top,#fff,#f2f2f2); | |
background-image: linear-gradient(to bottom,#fff,#f2f2f2); | |
background-repeat: repeat-x; | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); | |
} | |
.sticky-enabled .navbar .nav>li>a { | |
font-size: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment