mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22:53 +00:00
Load local fonts
This commit is contained in:
+20
-1
@@ -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.
Reference in New Issue
Block a user