Guide_Wii/_sass/minimal-mistakes/_masthead.scss

83 lines
1.4 KiB
SCSS
Raw Normal View History

2016-10-30 01:02:14 +02:00
/* ==========================================================================
MASTHEAD
========================================================================== */
.masthead {
position: relative;
border-bottom: 1px solid $border-color;
2017-10-28 21:58:34 +02:00
-webkit-animation: $intro-transition;
animation: $intro-transition;
2016-10-30 01:02:14 +02:00
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
2016-10-30 01:02:14 +02:00
z-index: 20;
&__inner-wrap {
@include clearfix;
2017-10-28 21:58:34 +02:00
margin-left: auto;
margin-right: auto;
padding: 1em;
max-width: 100%;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
2016-10-30 01:02:14 +02:00
font-family: $sans-serif-narrow;
@include breakpoint($x-large) {
max-width: $x-large;
2016-10-30 01:02:14 +02:00
}
nav {
z-index: 10;
}
a {
text-decoration: none;
}
}
}
2017-10-28 21:58:34 +02:00
.site-title {
display: -webkit-box;
display: flex;
padding: 0.5rem 0;
align-self: stretch;
-webkit-box-align: center;
align-items: center;
2017-10-28 21:58:34 +02:00
font-weight: bold;
z-index: 20;
}
2016-10-30 01:02:14 +02:00
.masthead__menu {
2017-10-28 21:58:34 +02:00
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
.site-nav {
margin-left: 0;
@include breakpoint($small) {
float: right;
}
}
2016-10-30 01:02:14 +02:00
ul {
margin: 0;
padding: 0;
clear: both;
list-style-type: none;
}
}
.masthead__menu-item {
display: block;
list-style-type: none;
white-space: nowrap;
&--lg {
padding-right: 2em;
font-weight: 700;
}
}