feat: added local fonts

This commit is contained in:
2025-09-23 15:24:57 +02:00
parent 51e8fa69de
commit 6b2202d82d
9 changed files with 25 additions and 1 deletions

View File

@@ -1,5 +1,26 @@
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
@font-face {
font-family: 'fira';
font-style: normal;
font-weight: 500;
src: url('/fonts/FiraCode-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Fraunces';
font-style: normal;
font-weight: 100 900;
src: url('/fonts/Fraunces.woff2') format('woff2');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url('/fonts/Inter.ttf') format('truetype');
}
:root{
--d1:1.0rem;
--d2:1.5rem;
@@ -24,12 +45,14 @@ body {
width:100%;
margin: auto;
text-align: justify;
font-family: Inter;
}
code {
background: var(--rp-moon-base);
padding: 3px;
border-radius: 0.5rem;
font-family: fira;
}
pre {
@@ -90,7 +113,8 @@ main {
.date{
text-align: right;
color: var(--rp-moon-subtle)
color: var(--rp-moon-subtle);
font-family: Fraunces;
}
hr {