diff --git a/assets/scss/layout.scss b/assets/scss/layout.scss index 04035d1..a60f1c3 100644 --- a/assets/scss/layout.scss +++ b/assets/scss/layout.scss @@ -1,12 +1,13 @@ -nav[aria-label="Site header"] { +[aria-label="Site header"] { @include header-link-hover-style; + position: relative; a { color: var(--base06); } } -footer[aria-label="Site footer"] { +[aria-label="Site footer"] { > * { margin-top: 1em; margin-bottom: 0; @@ -63,12 +64,13 @@ footer[aria-label="Site footer"] { } .site__theme-btn { - background: var(--background); padding: 0.5em; - position: relative; - float: right; + position: absolute; + top: 0; + right: 0; &:hover { + color: unset; & .site__theme-dropdown { display: unset; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c1deabe..76daf35 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,6 @@ {{- partial "head.html" . -}}
- {{- partial "components/theme-button.html" . }} {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3c78679..9bfa6be 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,10 +1,13 @@ -