Change font from Inter to Golos
This commit is contained in:
parent
904ba3d4eb
commit
5d61dbd251
5 changed files with 11 additions and 2 deletions
BIN
src/articles/static/vendor/fonts/Golos-Text_VF.WOFF2
vendored
Normal file
BIN
src/articles/static/vendor/fonts/Golos-Text_VF.WOFF2
vendored
Normal file
Binary file not shown.
BIN
src/articles/static/vendor/fonts/Golos-Text_VF.ttf
vendored
Normal file
BIN
src/articles/static/vendor/fonts/Golos-Text_VF.ttf
vendored
Normal file
Binary file not shown.
9
src/articles/static/vendor/fonts/golos.css
vendored
Normal file
9
src/articles/static/vendor/fonts/golos.css
vendored
Normal 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;
|
||||||
|
}
|
2
src/articles/static/vendor/newcss.css
vendored
2
src/articles/static/vendor/newcss.css
vendored
|
@ -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 */
|
||||||
|
|
|
@ -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" %}">
|
||||||
|
|
Reference in a new issue