convert into Hugo module theme

This commit is contained in:
Ben Goldsworthy 2025-01-04 20:22:41 +01:00
parent b07a2a6cf5
commit 04abc92ae5
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE
98 changed files with 2137 additions and 15971 deletions

View file

@ -0,0 +1,42 @@
.site-container {
display: grid;
grid-template-columns: 2.5% 1fr 2.5%;
grid-template-rows: auto 1fr 2.5%;
grid-template-areas:
"header header header"
"page-container page-container page-container"
"footer footer footer";
min-block-size: calc(100vh - 4em);
border-block-start: 0;
@include mq("large") {
margin-block-end: 2em;
grid-template-areas:
"header header header"
". page-container ."
"footer footer footer";
border: 2px solid black;
margin-inline: 2em;
}
&--homepage {
align-items: center;
grid-template-rows: auto 2.5%;
grid-template-areas:
"page-container page-container page-container"
"footer footer footer";
margin: 2em;
@include mq("large") {
border: 2px solid black;
grid-template-areas:
". page-container ."
"footer footer footer";
}
}
&--list,
&--section {
align-items: center;
}
}