consul/website/source/assets/stylesheets/_header.scss

66 lines
1.0 KiB
SCSS
Executable File

//
// Header
// - Project Specific
// - edits should be made here
// --------------------------------------------------
body.page-sub{
#header{
@include consul-gradient-bg();
.navbar-brand {
.logo{
&:hover{
color: $black;
}
}
}
}
}
#header {
.navbar-brand {
.logo{
width: $project-logo-width;
padding: 0;
line-height: $header-height;
background-position: 0 center;
font-size: 0;
text-transform: uppercase;
background: url("../images/logo-header.svg") center no-repeat;
background-size: 100%;
&:hover{
opacity: .4;
}
}
.by-hashicorp{
&:hover{
svg{
.svg-bg-line{
opacity: .4;
}
}
}
}
}
.buttons{
margin-top: 2px; //baseline everything
}
}
@media (max-width: 414px) {
#header {
.navbar-brand {
.logo{
width: $project-logo-width * .75;
}
.by-hashicorp{
margin-top: 2px;
}
}
}
}