Vulcan/packages/telescope-theme-base/lib/client/scss/specific/_header.scss

71 lines
1.2 KiB
SCSS
Raw Normal View History

2014-08-20 17:03:54 +09:00
$mobile-header-height: 50px;
2014-08-20 15:59:11 +09:00
.header{
background: $dark-grey;
margin-bottom: $grid-margin;
padding: $grid-padding;
2014-08-20 17:03:54 +09:00
@include small{
height: $mobile-header-height;
padding: 10px;
position: relative;
}
2014-08-20 15:59:11 +09:00
&, a, a:link, a:visited{
color: white;
}
.nav{
list-style-type: none;
2014-08-20 17:12:03 +09:00
>li{
2014-08-20 15:59:11 +09:00
margin-bottom: 0;
2014-08-20 17:12:03 +09:00
display: inline-block;
&:last-child .header-submodule{
margin-right: 0px;
}
2014-08-20 15:59:11 +09:00
}
}
2014-08-20 17:03:54 +09:00
}
.header-module, .header-submodule{
margin-right: 20px;
2014-08-20 17:12:03 +09:00
}
.header-module:last-child{
margin-right: 0px;
2014-08-20 15:59:11 +09:00
}
.logo{
vertical-align: middle;
line-height: 1;
@include small{
2014-08-20 17:03:54 +09:00
margin-right: 0;
a{
font-size: 24px;
display: block;
position: absolute;
width: 100%;
height: $mobile-header-height;
line-height: $mobile-header-height;
text-align: center;
left: 0px;
top: 0px;
z-index: 10;
margin-right: 0;
}
2014-08-20 15:59:11 +09:00
}
}
.logo-image{
a, img{
display: block;
height: 100%;
width: 100%;
}
2014-08-20 17:03:54 +09:00
}
.mobile-menu-button{
position: absolute;
display: inline-block;
padding: 4px;
top: 50%;
margin-top: -17px;
.hamburger{
fill: white;
}
z-index:100;
2014-08-20 15:59:11 +09:00
}