fonts: switch to serving fonts from the server
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
27
static/fonts/iosevka.css
Normal file
27
static/fonts/iosevka.css
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'Iosevka Web';
|
||||||
|
font-display: swap;
|
||||||
|
font-weight: 400;
|
||||||
|
font-stretch: normal;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('woff2/iosevka-regular.woff2') format('woff2'), url('ttf/iosevka-regular.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Iosevka Web';
|
||||||
|
font-display: swap;
|
||||||
|
font-weight: 700;
|
||||||
|
font-stretch: normal;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('woff2/iosevka-bold.woff2') format('woff2'), url('ttf/iosevka-bold.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Iosevka Web';
|
||||||
|
font-display: swap;
|
||||||
|
font-weight: 400;
|
||||||
|
font-stretch: normal;
|
||||||
|
font-style: italic;
|
||||||
|
src: url('woff2/iosevka-italic.woff2') format('woff2'), url('ttf/iosevka-italic.ttf') format('truetype');
|
||||||
|
}
|
||||||
BIN
static/fonts/ttf/iosevka-bold.ttf
Normal file
BIN
static/fonts/ttf/iosevka-bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/ttf/iosevka-italic.ttf
Normal file
BIN
static/fonts/ttf/iosevka-italic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/ttf/iosevka-regular.ttf
Normal file
BIN
static/fonts/ttf/iosevka-regular.ttf
Normal file
Binary file not shown.
BIN
static/fonts/woff2/iosevka-bold.woff2
Normal file
BIN
static/fonts/woff2/iosevka-bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/woff2/iosevka-italic.woff2
Normal file
BIN
static/fonts/woff2/iosevka-italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/woff2/iosevka-regular.woff2
Normal file
BIN
static/fonts/woff2/iosevka-regular.woff2
Normal file
Binary file not shown.
@@ -14,7 +14,7 @@
|
|||||||
<link rel="icon" type="image/png" sizes="16x16" href="/static/media/favicon-16x16.png" />
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/media/favicon-16x16.png" />
|
||||||
<link rel="icon" type="image/x-icon" href="/static/media/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="/static/media/favicon.ico" />
|
||||||
|
|
||||||
<link href="https://pvinis.github.io/iosevka-webfont/3.4.1/iosevka.css" rel="stylesheet" />
|
<link href="/static/fonts/iosevka.css" rel="stylesheet" />
|
||||||
|
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user