feat(style): supports custom font
This commit is contained in:
parent
fe8acc0556
commit
7e50f8489e
3 changed files with 9 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
||||||
"pronouns": "he/his - some basic things though",
|
"pronouns": "he/his - some basic things though",
|
||||||
"image": "pfp.webp"
|
"image": "pfp.webp"
|
||||||
},
|
},
|
||||||
|
"font": "serif",
|
||||||
"colors": {
|
"colors": {
|
||||||
"text": "#fff",
|
"text": "#fff",
|
||||||
"background": {
|
"background": {
|
||||||
|
|
|
@ -4,12 +4,18 @@ $bp-mid: 1000px;
|
||||||
$bp-little: 650px;
|
$bp-little: 650px;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--text-color: #000
|
--text-color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "custom";
|
||||||
|
src: url("/static/font.woff2");
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--background-image: ;
|
--background-image: ;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
font-family: "custom", "serif";
|
||||||
background: var(--background-image) center fixed no-repeat;
|
background: var(--background-image) center fixed no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
|
<p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
|
||||||
<p><a href="/credits">Credits</a></p>
|
<p><a href="/credits">Credits</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
|
{{/* <script type="module" src="{{getAssetPath "index.js"}}" defer></script>*/}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{end}}
|
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue