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

82 lines
1.4 KiB
SCSS
Raw Normal View History

2014-07-16 16:51:48 -05:00
//
// Header
2015-11-06 14:35:24 -06:00
// - Project Specific
// - edits should be made here
2014-07-16 16:51:48 -05:00
// --------------------------------------------------
2015-11-06 17:41:23 -06:00
body.page-sub{
2015-11-06 23:01:14 -06:00
#header{
background-color: $purple;
}
2015-11-06 17:41:23 -06:00
}
2014-07-16 16:51:48 -05:00
#header {
2015-11-06 23:01:14 -06:00
.navbar-brand {
.logo{
font-size: 20px;
text-transform: uppercase;
@include lato-light();
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 45%;
2014-07-23 19:55:55 -05:00
2015-11-06 23:01:14 -06:00
&:hover{
2015-11-10 00:17:57 -06:00
opacity: .6;
2015-11-06 23:01:14 -06:00
}
}
2014-07-23 18:48:44 -05:00
2015-11-10 00:17:57 -06:00
.by-hashicorp{
2015-11-06 23:01:14 -06:00
&:hover{
svg{
2015-12-19 23:33:48 -06:00
.svg-bg-line{
2015-11-10 00:17:57 -06:00
opacity: .4;
2015-11-06 23:01:14 -06:00
}
2014-07-23 19:55:55 -05:00
}
2015-11-06 23:01:14 -06:00
}
2014-07-23 18:48:44 -05:00
}
2015-11-06 23:01:14 -06:00
}
2014-07-23 18:48:44 -05:00
2015-11-06 23:01:14 -06:00
.buttons{
margin-top: 2px; //baseline everything
2014-07-23 19:55:55 -05:00
2015-11-06 23:01:14 -06:00
ul.navbar-nav{
li {
svg path{
fill: $white;
2014-07-23 19:06:57 -05:00
}
2015-11-06 23:01:14 -06:00
}
2014-07-23 19:06:57 -05:00
}
2015-11-06 23:01:14 -06:00
}
2014-07-23 18:48:44 -05:00
2015-11-06 23:01:14 -06:00
.main-links,
.external-links {
li > a {
@include project-a-style();
2014-07-23 20:51:21 -05:00
}
2015-11-06 23:01:14 -06:00
}
2014-07-16 16:51:48 -05:00
}
2015-11-06 18:01:39 -06:00
@media (max-width: 414px) {
#header {
.navbar-brand {
.logo{
padding-left: 37px;
font-size: 18px;
@include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width * .75, $project-logo-height * .75);
//background-position: 0 45%;
}
}
}
}
@media (max-width: 320px) {
#header {
.navbar-brand {
.logo{
font-size: 0 !important; //hide terraform text
}
}
}
}