feat: tweaks

This commit is contained in:
Iain Learmonth 2026-01-26 09:00:12 +00:00
parent c6c01ffb8b
commit 6f61ccff24
6 changed files with 18 additions and 6 deletions

View file

@ -36,6 +36,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border: none;
&:hover { &:hover {
opacity: 0.7; opacity: 0.7;

View file

@ -60,6 +60,8 @@ footer {
display: block; display: block;
text-transform: uppercase; text-transform: uppercase;
margin: 0 0 0.5rem 0; margin: 0 0 0.5rem 0;
font-size: 0.9rem;
font-weight: 500;
} }
.footer__menu__link { .footer__menu__link {

View file

@ -86,6 +86,9 @@ main {
margin-right: auto; margin-right: auto;
padding: 1rem 1.25rem; padding: 1rem 1.25rem;
} }
a {
color: v.$color_primary;
}
} }
.page__title { .page__title {
@ -111,4 +114,12 @@ main {
background-color: v.$color_hr; background-color: v.$color_hr;
margin: 32px 0px; margin: 32px 0px;
} }
}
.alert {
display: block;
background-color: rgb(250, 215, 118);
padding: .75rem;
text-align: center;
font-weight: bold;
} }

View file

@ -25,7 +25,7 @@
{{ end }}> {{ end }}>
{{ range site.Params.footer.col2.items }} {{ range site.Params.footer.col2.items }}
{{ if .title }} {{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6> <h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }} {{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}"> <a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }} {{ if .icon }}
@ -62,7 +62,7 @@
{{ end }}> {{ end }}>
{{ range site.Params.footer.col3.items }} {{ range site.Params.footer.col3.items }}
{{ if .title }} {{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6> <h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }} {{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}"> <a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }} {{ if .icon }}

View file

@ -10,10 +10,10 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
</header> </header>
<main> <main>
{{ block "main-fullwidth" . }}{{ end }}
<div class="main__content"> <div class="main__content">
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
</div> </div>
{{ block "main-fullwidth" . }}{{ end }}
</main> </main>
<footer> <footer>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

View file

@ -1,6 +1,4 @@
{{ define "main" }}
{{ .Content }}
{{ end }}
{{ define "main-fullwidth" }} {{ define "main-fullwidth" }}
{{ .Content }}
{{ partial "home.html" . }} {{ partial "home.html" . }}
{{ end }} {{ end }}