Change font from Inter to Golos

This commit is contained in:
Gabriel Augendre 2022-06-28 23:25:12 +02:00
parent 904ba3d4eb
commit 5d61dbd251
5 changed files with 11 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,9 @@
@font-face {
font-family: 'Golos';
src: local("Golos"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2-variations"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2 supports variations"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype-variations"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype supports variations");
font-weight: 400 900;
}

View file

@ -4,7 +4,7 @@
MIT License MIT License
*/ */
:root { :root {
--nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; --nc-font-sans: 'Golos', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--nc-font-mono: 'JetBrains Mono', Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace; --nc-font-mono: 'JetBrains Mono', Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;
/* Light theme */ /* Light theme */

View file

@ -19,7 +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"> <link rel="stylesheet" href="{% static "vendor/fonts/golos.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" %}">