aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.json1
-rw-r--r--scss/main.scss8
-rw-r--r--templates/base/base.gohtml2
3 files changed, 9 insertions, 2 deletions
diff --git a/example.json b/example.json
index 458d5fb..9de32ed 100644
--- a/example.json
+++ b/example.json
@@ -6,6 +6,7 @@
"pronouns": "he/his - some basic things though",
"image": "pfp.webp"
},
+ "font": "serif",
"colors": {
"text": "#fff",
"background": {
diff --git a/scss/main.scss b/scss/main.scss
index 80bd37c..d910672 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -4,12 +4,18 @@ $bp-mid: 1000px;
$bp-little: 650px;
:root {
- --text-color: #000
+ --text-color: #000;
+}
+
+@font-face {
+ font-family: "custom";
+ src: url("/static/font.woff2");
}
body {
--background-image: ;
font-size: 18px;
+ font-family: "custom", "serif";
background: var(--background-image) center fixed no-repeat;
background-size: cover;
color: var(--text-color);
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 634459c..e2cbb6f 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -18,7 +18,7 @@
<p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
<p><a href="/credits">Credits</a></p>
</footer>
- <script type="module" src="{{getAssetPath "index.js"}}" defer></script>
+{{/* <script type="module" src="{{getAssetPath "index.js"}}" defer></script>*/}}
</body>
</html>
{{end}} \ No newline at end of file