Provide inter font
This commit is contained in:
parent
d0341c5ab9
commit
fe2098cb71
4 changed files with 11 additions and 0 deletions
BIN
src/articles/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf
vendored
Normal file
BIN
src/articles/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf
vendored
Normal file
Binary file not shown.
BIN
src/articles/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2
vendored
Normal file
BIN
src/articles/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2
vendored
Normal file
Binary file not shown.
10
src/articles/static/vendor/fonts/inter.css
vendored
Normal file
10
src/articles/static/vendor/fonts/inter.css
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Inter';
|
||||||
|
src: local("Inter"),
|
||||||
|
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2') format("woff2-variations"),
|
||||||
|
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2') format("woff2 supports variations"),
|
||||||
|
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype-variations"),
|
||||||
|
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype supports variations");
|
||||||
|
font-weight: 100 800;
|
||||||
|
font-style: oblique 0 10deg;
|
||||||
|
}
|
|
@ -19,6 +19,7 @@
|
||||||
<link rel="stylesheet" href="{% static "vendor/newcss.css" %}" type="text/css">
|
<link rel="stylesheet" href="{% static "vendor/newcss.css" %}" type="text/css">
|
||||||
<link rel="stylesheet" href="{% static "public.css" %}" type="text/css">
|
<link rel="stylesheet" href="{% static "public.css" %}" type="text/css">
|
||||||
<link rel="stylesheet" href="{% static "admonitions.css" %}" type="text/css">
|
<link rel="stylesheet" href="{% static "admonitions.css" %}" type="text/css">
|
||||||
|
<link rel="stylesheet" href="{% static "vendor/fonts/inter.css" %}" type="text/css">
|
||||||
{% if article and article.has_code %}
|
{% if article and article.has_code %}
|
||||||
<link rel="stylesheet" href="{% static "vendor/codehilite.css" %}" type="text/css">
|
<link rel="stylesheet" href="{% static "vendor/codehilite.css" %}" type="text/css">
|
||||||
<link rel="stylesheet" href="{% static "vendor/fonts/jetbrains-mono.css" %}">
|
<link rel="stylesheet" href="{% static "vendor/fonts/jetbrains-mono.css" %}">
|
||||||
|
|
Reference in a new issue