stop using cdns for fonts
Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
parent
f30e5c1596
commit
facb807b81
18 changed files with 61 additions and 2 deletions
BIN
static/fonts/jetbrainsmono-bold-webfont.woff
Normal file
BIN
static/fonts/jetbrainsmono-bold-webfont.woff
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-bold-webfont.woff2
Normal file
BIN
static/fonts/jetbrainsmono-bold-webfont.woff2
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-bolditalic-webfont.woff
Normal file
BIN
static/fonts/jetbrainsmono-bolditalic-webfont.woff
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-bolditalic-webfont.woff2
Normal file
BIN
static/fonts/jetbrainsmono-bolditalic-webfont.woff2
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-italic-webfont.woff
Normal file
BIN
static/fonts/jetbrainsmono-italic-webfont.woff
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-italic-webfont.woff2
Normal file
BIN
static/fonts/jetbrainsmono-italic-webfont.woff2
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-regular-webfont.woff
Normal file
BIN
static/fonts/jetbrainsmono-regular-webfont.woff
Normal file
Binary file not shown.
BIN
static/fonts/jetbrainsmono-regular-webfont.woff2
Normal file
BIN
static/fonts/jetbrainsmono-regular-webfont.woff2
Normal file
Binary file not shown.
BIN
static/fonts/nunito-bold.woff
Normal file
BIN
static/fonts/nunito-bold.woff
Normal file
Binary file not shown.
BIN
static/fonts/nunito-bold.woff2
Normal file
BIN
static/fonts/nunito-bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/nunito-regular.woff
Normal file
BIN
static/fonts/nunito-regular.woff
Normal file
Binary file not shown.
BIN
static/fonts/nunito-regular.woff2
Normal file
BIN
static/fonts/nunito-regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/nunito-semibold.woff
Normal file
BIN
static/fonts/nunito-semibold.woff
Normal file
Binary file not shown.
BIN
static/fonts/nunito-semibold.woff2
Normal file
BIN
static/fonts/nunito-semibold.woff2
Normal file
Binary file not shown.
33
styles/jetbrainsmono.css
Normal file
33
styles/jetbrainsmono.css
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on January 31, 2022 */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
src: url('/fonts/jetbrainsmono-bold-webfont.woff2') format('woff2'),
|
||||||
|
url('/fonts/jetbrainsmono-bold-webfont.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
src: url('/fonts/jetbrainsmono-bolditalic-webfont.woff2') format('woff2'),
|
||||||
|
url('/fonts/jetbrainsmono-bolditalic-webfont.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
src: url('/fonts/jetbrainsmono-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('/fonts/jetbrainsmono-italic-webfont.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
src: url('/fonts/jetbrainsmono-regular-webfont.woff2') format('woff2'),
|
||||||
|
url('/fonts/jetbrainsmono-regular-webfont.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
|
@ -213,6 +213,7 @@ article {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
font-family: 'JetBrains Mono', monospace;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
margin: 2*$ls 0;
|
margin: 2*$ls 0;
|
||||||
line-height: $ls;
|
line-height: $ls;
|
||||||
|
|
25
styles/nunito.css
Normal file
25
styles/nunito.css
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on January 31, 2022 */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito';
|
||||||
|
src: url('/fonts/nunito-regular.woff2') format('woff2'),
|
||||||
|
url('/fonts/nunito-regular.woff') format('woff');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito';
|
||||||
|
src: url('/fonts/nunito-semibold.woff2') format('woff2'),
|
||||||
|
url('/fonts/nunito-semibold.woff') format('woff');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito';
|
||||||
|
src: url('/fonts/nunito-bold.woff2') format('woff2'),
|
||||||
|
url('/fonts/nunito-bold.woff') format('woff');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
|
@ -14,8 +14,8 @@
|
||||||
<meta name="color-scheme" content="dark light">
|
<meta name="color-scheme" content="dark light">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="/css/main.css">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
<link rel="stylesheet" href="/css/nunito.css">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&family=Nunito:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
|
<link rel="stylesheet" href="/css/jetbrainsmono.css">
|
||||||
<title>{{title}} – Prose</title>
|
<title>{{title}} – Prose</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue