Skip to content

Commit

Permalink
feat: add a fallback font for Secular One
Browse files Browse the repository at this point in the history
  • Loading branch information
nashiradeer committed Dec 23, 2024
1 parent f51d112 commit 6826a4c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,18 @@
<Footer />

<style>
@font-face {
font-family: 'Adjusted Arial Fallback';
src: local(Arial);
size-adjust: 85%;
ascent-override: normal;
descent-override: normal;
line-gap-override: 26%;
}
:global(body) {
margin: 0;
font-family: 'Secular One', sans-serif;
font-family: 'Secular One', 'Adjusted Arial Fallback';
background-color: #000;
color: #fff;
}
Expand Down

0 comments on commit 6826a4c

Please sign in to comment.