hacks-guide-minimal-mistake.../assets/_scss/_masthead.scss

56 lines
995 B
SCSS
Raw Normal View History

2016-03-10 19:06:59 +01:00
/* ==========================================================================
MASTHEAD
========================================================================== */
.masthead {
position: relative;
2016-04-04 03:23:24 +02:00
border-bottom: 1px solid $border-color;
animation: intro 0.3s both;
animation-delay: 0.15s;
z-index: 20;
2016-03-21 21:36:24 +01:00
2016-04-04 03:23:24 +02:00
&__inner-wrap {
@include container;
@include clearfix;
padding: 1em 1em 1em;
2016-04-04 03:23:24 +02:00
font-family: $sans-serif-narrow;
font-weight: 700;
text-transform: uppercase;
2016-03-21 21:36:24 +01:00
2016-04-04 03:23:24 +02:00
@include breakpoint($x-large) {
max-width: $x-large;
}
2016-03-10 19:06:59 +01:00
2016-04-04 03:23:24 +02:00
nav {
z-index: 10;
}
2016-03-21 21:36:24 +01:00
2016-04-04 03:23:24 +02:00
a {
text-decoration: none;
}
2016-03-10 19:06:59 +01:00
}
}
.masthead__menu {
2016-03-20 20:20:33 +01:00
@include breakpoint($large) {
@include prefix(2.5 of 12);
2016-03-10 19:06:59 +01:00
}
2016-03-21 21:36:24 +01:00
2016-03-10 19:06:59 +01:00
ul {
margin: 0;
padding: 0;
clear: both;
list-style-type: none;
}
}
.masthead__menu-item {
display: block;
list-style-type: none;
font-size: $type-size-6;
white-space: nowrap;
2016-04-04 03:23:24 +02:00
&--lg {
font-size: $type-size-5;
}
}