Use standardised fonts

This commit is contained in:
2026-02-09 22:23:01 +00:00
parent 08f3d30e44
commit 2b2095604c
6 changed files with 19 additions and 0 deletions

17
src/lib/assets/global.css Normal file
View File

@@ -0,0 +1,17 @@
/* FONTS */
@font-face {
font-family: "urwgothic";
src: url("/fonts/urwgothic/urwgothic.woff2") format("woff2"), url("/font/urwgothic/urwgothic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "urwgothic";
src: url("/fonts/urwgothic/urwgothicDemi.woff2") format("woff2"), url("/font/urwgothic/urwgothicDemi.woff") format("woff");
font-weight: 900;
font-style: normal;
}
[id] {
scroll-margin-top: 100px;
}

View File

@@ -1,11 +1,13 @@
<script lang="ts">
import favicon from '$lib/assets/favicon.svg';
import globalCss from '$lib/assets/global.css';
let { children } = $props();
</script>
<svelte:head>
<link rel="icon" href={favicon} />
<link rel="stylesheet" href={globalCss} />
</svelte:head>
{@render children()}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.