Load local fonts

This commit is contained in:
2023-08-28 16:44:01 +03:00
parent 59eeb545ce
commit cbc4a769d5
5 changed files with 20 additions and 1 deletions
+20 -1
View File
@@ -9,7 +9,26 @@
@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif|Noto+Sans+Mono");
@font-face {
font-family: 'Noto Serif';
src: local('Noto Serif'),
url('fonts/NotoSerif.ttf') format("ttf");
font-display: swap;
}
@font-face {
font-family: 'Noto Sans';
src: local('Noto Sans'),
url('fonts/NotoSans.ttf') format("ttf");
font-display: swap;
}
@font-face {
font-family: 'Noto Sans Mono';
src: local('Noto Sans Mono'),
url('fonts/NotoSansMono.ttf') format("ttf");
font-display: swap;
}
:root {
/* Fonts and Text Sizes */
Binary file not shown.