feat: added local fonts
This commit is contained in:
@@ -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 {
|
||||
|
||||
BIN
static/fonts/FiraCode-Bold.ttf
Normal file
BIN
static/fonts/FiraCode-Bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/FiraCode-Light.ttf
Normal file
BIN
static/fonts/FiraCode-Light.ttf
Normal file
Binary file not shown.
BIN
static/fonts/FiraCode-Medium.ttf
Normal file
BIN
static/fonts/FiraCode-Medium.ttf
Normal file
Binary file not shown.
BIN
static/fonts/FiraCode-Regular.ttf
Normal file
BIN
static/fonts/FiraCode-Regular.ttf
Normal file
Binary file not shown.
BIN
static/fonts/FiraCode-Retina.ttf
Normal file
BIN
static/fonts/FiraCode-Retina.ttf
Normal file
Binary file not shown.
BIN
static/fonts/FiraCode-SemiBold.ttf
Normal file
BIN
static/fonts/FiraCode-SemiBold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/Fraunces.woff2
Normal file
BIN
static/fonts/Fraunces.woff2
Normal file
Binary file not shown.
BIN
static/fonts/Inter.ttf
Normal file
BIN
static/fonts/Inter.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user