From d0ac6a66489586018845c556a497a3409023b999 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Thu, 21 Jan 2021 16:48:49 +0800 Subject: [PATCH] masthead: remove inner wrap --- _includes/masthead.html | 58 +++++++++++++-------------- _sass/minimal-mistakes/_masthead.scss | 33 +++++++-------- 2 files changed, 43 insertions(+), 48 deletions(-) diff --git a/_includes/masthead.html b/_includes/masthead.html index 9012a00..2fa21a5 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -1,35 +1,33 @@ {% capture logo_path %}{{ site.logo }}{% endcapture %}
-
-
- -
+
+
diff --git a/_sass/minimal-mistakes/_masthead.scss b/_sass/minimal-mistakes/_masthead.scss index 8fcbed6..b9dce02 100644 --- a/_sass/minimal-mistakes/_masthead.scss +++ b/_sass/minimal-mistakes/_masthead.scss @@ -10,27 +10,24 @@ z-index: 20; position: sticky; top: 0; + @include clearfix; + margin-left: auto; + margin-right: auto; + padding: 0.625em 0 0.625em 1em; + width: 100%; + display: flex; + justify-content: space-between; - &__inner-wrap { - @include clearfix; - margin-left: auto; - margin-right: auto; - padding: 0.625em 0 0.625em 1em; - max-width: 100%; - display: flex; - justify-content: space-between; - - @include breakpoint($x-large) { - max-width: $max-width; - } + @include breakpoint($x-large) { + max-width: $max-width; + } - nav { - z-index: 10; - } + nav { + z-index: 10; + } - a { - text-decoration: none; - } + a { + text-decoration: none; } } -- 2.45.2