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

72 lines
1.3 KiB
SCSS
Raw Normal View History

//
// Header
// - Project Specific
// - edits should be made here
// --------------------------------------------------
#header {
background: $white;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) !important;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) !important;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) !important;
.navbar-brand {
.logo {
width: $project-logo-width;
2017-02-24 00:37:57 +00:00
height: $header-height;
padding: 0;
line-height: $header-height;
font-size: 0;
text-transform: uppercase;
2017-02-24 00:37:57 +00:00
background: image-url("logo-header.svg") center no-repeat;
background-size: 100%;
&:hover{
opacity: .4;
}
}
.by-hashicorp {
color: $gray;
&:hover {
svg {
.svg-bg-line {
opacity: .4;
}
}
}
}
}
.buttons{
margin-top: 2px; //baseline everything
}
}
@media (min-width: 769px) and (max-width: 805px) {
#header {
.main-links,
.external-links {
li > a {
font-size: 12px;
}
}
}
}
@media (max-width: 414px) {
#header {
.navbar-brand {
.logo{
width: $project-logo-width * .75;
height: $header-mobile-height;
}
.by-hashicorp {
margin-top: 2px;
}
}
}
}