Provide inter font

This commit is contained in:
Gabriel Augendre 2022-03-30 20:45:35 +02:00
parent d0341c5ab9
commit fe2098cb71
4 changed files with 11 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View 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;
}

View file

@ -19,6 +19,7 @@
<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 "admonitions.css" %}" type="text/css">
<link rel="stylesheet" href="{% static "vendor/fonts/inter.css" %}" type="text/css">
{% if article and article.has_code %}
<link rel="stylesheet" href="{% static "vendor/codehilite.css" %}" type="text/css">
<link rel="stylesheet" href="{% static "vendor/fonts/jetbrains-mono.css" %}">