/* Header */
#header {
@include vendor('transition', 'background-color #{_duration(transitions)} ease');
background: _palette(bg);
height: 3em;
left: 0;
line-height: 3em;
position: fixed;
top: 0;
width: 100%;
z-index: _misc(z-index-base);
h1 {
@include vendor('transition', 'opacity #{_duration(transitions)} ease');
height: inherit;
left: 1.25em;
line-height: inherit;
position: absolute;
a {
border: 0;
display: block;
@include breakpoint(small) {
font-size: 0.8em;
}
nav {
right: 0;
> ul {
list-style: none;
margin: 0;
padding: 0;
white-space: nowrap;
> li {
display: inline-block;
> a {
color: _palette(fg-bold);
letter-spacing: _size(letter-spacing-alt);
padding: 0 1.5em;
text-transform: uppercase;
&.menuToggle {
outline: 0;
position: relative;
&:after {
background-image: url('images/bars.svg');
background-position: right center;
background-repeat: no-repeat;
content: '';
height: 3.75em;
vertical-align: top;
width: 2em;
span {
display: none;
padding: 0 0 0 1.5em;
&:first-child {
margin-left: 0;
&.alt {
background: transparent;
@include vendor('pointer-events', 'none');
opacity: 0;