_sass/_masthead.scss in minimal-mistakes-jekyll-4.2.1 vs _sass/_masthead.scss in minimal-mistakes-jekyll-4.2.2
- old
+ new
@@ -12,10 +12,14 @@
z-index: 20;
&__inner-wrap {
@include container;
@include clearfix;
+ display: -webkit-box;
+ display: flex;
+ -webkit-box-pack: justify;
+ justify-content: space-between;
padding: 1em 1em 1em;
font-family: $sans-serif-narrow;
@include breakpoint($x-large) {
max-width: $x-large;
@@ -29,10 +33,30 @@
text-decoration: none;
}
}
}
+.site-title {
+ display: -webkit-box;
+ display: flex;
+ padding: 0.5rem 0;
+ align-self: stretch;
+ -webkit-box-align: center;
+ align-items: center;
+ font-weight: bold;
+ z-index: 20;
+}
+
.masthead__menu {
+ width: 100%;
+
+ .site-nav {
+ margin-left: 0;
+
+ @include breakpoint($small) {
+ float: right;
+ }
+ }
ul {
margin: 0;
padding: 0;
clear: both;
\ No newline at end of file