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;
align-items: center;
justify-content: center;
border: none;
&:hover {
opacity: 0.7;

View file

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

View file

@ -86,6 +86,9 @@ main {
margin-right: auto;
padding: 1rem 1.25rem;
}
a {
color: v.$color_primary;
}
}
.page__title {
@ -112,3 +115,11 @@ main {
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 }}>
{{ range site.Params.footer.col2.items }}
{{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6>
<h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }}
@ -62,7 +62,7 @@
{{ end }}>
{{ range site.Params.footer.col3.items }}
{{ if .title }}
<h6 class="footer__menu__title">{{ .title }}</h6>
<h3 class="footer__menu__title">{{ .title }}</h3>
{{ else if .text }}
<a class="footer__menu__link" href="{{ .href | safeURL }}">
{{ if .icon }}

View file

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

View file

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