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

61 lines
1 KiB
SCSS
Raw Normal View History

2016-03-10 19:06:59 +01:00
/* ==========================================================================
MASTHEAD
========================================================================== */
.masthead {
2016-04-04 03:23:24 +02:00
border-bottom: 1px solid $border-color;
2016-03-21 21:36:24 +01:00
2016-04-04 03:23:24 +02:00
&__inner-wrap {
@include container;
@include clearfix;
2016-04-04 18:45:44 +02:00
padding: 1em 2em 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($large) {
padding-left: 1em;
padding-right: 1em;
}
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 of 12);
}
2016-03-21 21:36:24 +01:00
@include breakpoint($x-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;
}
}