Revert site layout

This commit is contained in:
Gabriel Arazas 2023-02-24 21:03:23 +08:00
parent b1b0adc1fb
commit c5b03ae623
3 changed files with 15 additions and 6 deletions

View File

@ -20,6 +20,11 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
== Unreleased == Unreleased
=== Fixed
- Revert the site layout.
== [0.4.0] - 2023-02-24 == [0.4.0] - 2023-02-24

View File

@ -1,13 +1,17 @@
[aria-label="Site header"] { header[aria-label="Site header"] {
@include header-link-hover-style;
position: relative; position: relative;
a { a {
color: var(--base06); color: var(--base06);
&:hover {
color: var(--base0C);
text-decoration: unset;
}
} }
} }
[aria-label="Site footer"] { footer[aria-label="Site footer"] {
> * { > * {
margin-top: 1em; margin-top: 1em;
margin-bottom: 0; margin-bottom: 0;
@ -70,7 +74,7 @@
right: 0; right: 0;
&:hover { &:hover {
color: unset; color: unset !important;
& .site__theme-dropdown { & .site__theme-dropdown {
display: unset; display: unset;
} }

View File

@ -1,4 +1,4 @@
<div aria-label="Site header"> <header aria-label="Site header">
<nav> <nav>
<a class="site__title" href="{{ "" | absLangURL }}">{{ $.Site.Title }}</a> <a class="site__title" href="{{ "" | absLangURL }}">{{ $.Site.Title }}</a>
<div class="list site__links"> <div class="list site__links">
@ -10,4 +10,4 @@
</div> </div>
</nav> </nav>
{{- partial "components/theme-button.html" . }} {{- partial "components/theme-button.html" . }}
</div> </header>