fix header on subpages when displaying annoucement bnr

This commit is contained in:
captainill 2016-03-08 14:50:34 -08:00
parent 9020a2cec7
commit af0edc9d9c
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,11 @@ body.page-sub{
#header{ #header{
@include consul-gradient-bg(); @include consul-gradient-bg();
&.-displaying-bnr{
> .container{
padding-bottom: 32px;
}
}
.navbar-brand { .navbar-brand {
.logo{ .logo{
&:hover{ &:hover{
@ -23,6 +28,7 @@ body.page-sub{
// add this class // add this class
&.-displaying-bnr{ &.-displaying-bnr{
> .container{ > .container{
padding-top: 8px;
-webkit-transform: translateY(32px); -webkit-transform: translateY(32px);
-ms-transform: translateY(32px); -ms-transform: translateY(32px);
transform: translateY(32px); transform: translateY(32px);