open-nomad/website/source/assets/stylesheets/_header.scss

80 lines
1.3 KiB
SCSS
Raw Normal View History

2015-09-12 00:01:02 +00:00
//
// Header
2015-11-07 06:08:46 +00:00
// - Project Specific
// - edits should be made here
2015-09-12 00:01:02 +00:00
// --------------------------------------------------
#header {
2015-11-07 06:08:46 +00:00
.navbar-brand {
.logo{
color: $gray-darker;
font-family: $font-family-blanc;
font-size: 28px;
background: image-url('../images/logo-header.png') 0 0 no-repeat;
@include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width, $project-logo-height);
background-position: 0 center;
&:hover{
color: $green-dark;
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
.by{
&:hover{
svg{
line{
stroke: $orange;
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
2015-11-07 06:08:46 +00:00
.buttons{
margin-top: 2px; //baseline everything
2015-09-12 00:01:02 +00:00
2015-11-07 06:08:46 +00:00
ul.navbar-nav{
li {
&:hover{
svg path{
fill: $black;
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
svg path{
fill: $blue-light;
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
2015-11-07 06:08:46 +00:00
.main-links,
.external-links {
li > a {
@include project-a-style();
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
2015-11-07 06:08:46 +00:00
@media (max-width: 414px) {
#header {
.navbar-brand {
.logo{
padding-left: 46px;
font-size: 22px;
}
2015-09-26 21:10:27 +00:00
}
2015-11-07 06:08:46 +00:00
}
2015-09-12 00:01:02 +00:00
}
@media (max-width: 320px) {
2015-11-07 06:08:46 +00:00
#header {
.navbar-brand {
.logo{
// font-size: 0 !important; //hide terraform text
}
}
}
2015-09-12 00:01:02 +00:00
}