Vulcan/packages/_telescope-theme-base/lib/client/scss/specific/_nav.scss

82 lines
1.2 KiB
SCSS
Raw Normal View History

// 1. Neutral
// 2. Mobile
// 3. Desktop
$mobile-header-height: 50px;
.header{
background: $dark-grey;
margin-bottom: $grid-margin;
padding: $grid-padding;
color: white;
@include small{
height: $mobile-header-height;
2015-10-18 17:46:21 +09:00
padding: 5px 10px;
position: fixed;
width: 100%;
}
a, a:link, a:visited{
color: inherit;
}
.nav{
list-style-type: none;
>li{
margin-bottom: 0;
// display: inline-block;
&:last-child .header-submodule{
margin-right: 0px;
}
}
}
}
.logo{
@include small{
font-size: 24px;
2015-08-26 10:30:13 +09:00
overflow: hidden;
2015-10-18 17:46:21 +09:00
height: 100%;
a{
margin: 0 auto;
}
}
@include xsmall{
font-size: 18px;
}
.header &{
@include small{
2015-08-26 10:30:13 +09:00
padding: 0 50px; // leave space for nav button on mobile
}
}
.mobile-nav &{
padding: 20px;
font-size: 30px;
&, a{
color: white;
}
@include small{
display: none;
}
}
}
2015-09-09 08:40:57 +09:00
.logo-text{
white-space: nowrap;
}
.logo-image{
2015-10-18 17:46:21 +09:00
@include small{
height: 100%;
}
a{
display: block;
height: 100%;
2015-10-18 17:46:21 +09:00
// width: 100%;
}
img{
display: block;
max-height: 100%;
max-width: 100%;
}
}
.account-link{
display: inline-block;
}