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

59 lines
1.1 KiB
SCSS
Raw Normal View History

2016-03-10 19:06:59 +01:00
/* ==========================================================================
MASTHEAD
========================================================================== */
.masthead {
@include container;
@include clearfix;
padding: 2em 2em 1em;
2016-03-10 19:06:59 +01:00
font-family: $sans-serif-narrow;
font-weight: 700;
text-transform: uppercase;
2016-03-20 20:20:33 +01:00
@include breakpoint($large) {
2016-03-17 20:50:22 +01:00
padding-left: 1em;
padding-right: 1em;
}
@include breakpoint($x-large) {
max-width: $x-large;
}
nav {
z-index: 1;
}
2016-03-10 19:06:59 +01:00
a {
text-decoration: none;
}
}
/* Site name */
.site-name {
2016-03-20 20:20:33 +01:00
@include breakpoint($large) {
@include prefix(2 of 12);
}
@include breakpoint($x-large) {
@include prefix(2.5 of 12);
2016-03-10 19:06:59 +01:00
}
font-size: 24px;
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);
}
@include breakpoint($x-large) {
@include prefix(2.5 of 12);
2016-03-10 19:06:59 +01:00
}
margin-bottom: 1em;
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: 16px;
white-space: nowrap;
}