diff options
| author | Bobby <[email protected]> | 2024-07-22 19:49:36 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-07-22 19:49:36 -0400 |
| commit | abf21a54910fc420686a821d290b7eed8f7b0e64 (patch) | |
| tree | 2d1e20a05f1dabe2b74b13846a0e6aa1b012fe7f /static/css | |
| parent | 8a18b444a933b4e607403e04f618f2f2a179ff0f (diff) | |
| download | thatcomputerscientist-abf21a54910fc420686a821d290b7eed8f7b0e64.tar.xz thatcomputerscientist-abf21a54910fc420686a821d290b7eed8f7b0e64.zip | |
Locally Installed Fonts
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/fonts.css | 96 |
1 files changed, 91 insertions, 5 deletions
diff --git a/static/css/fonts.css b/static/css/fonts.css index 82a8bcd7..e277ec51 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -1,5 +1,5 @@ -@import url("https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,400;0,700;1,400;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap"); +/* @import url("https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,400;0,700;1,400;1,700&display=swap"); */ +/* @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap"); */ @font-face { font-family: "Comic Code Regular"; @@ -8,11 +8,97 @@ font-style: normal; } +/* Mali: Bold, BoldItalic, ExtraLight, ExtraLightItalic, Italic, Light, LightItalic, Medium, MediumItalic, Regular, SemiBold, SemiBoldItalic */ @font-face { - font-family: "Hatsukoi Friends Mini"; - src: url("../fonts/HAKOIMI.otf") format("opentype"); - font-weight: normal; + font-family: "Mali"; + font-weight: 200; + font-style: normal; + src: url("../fonts/Mali/Mali-ExtraLight.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 200; + font-style: italic; + src: url("../fonts/Mali/Mali-ExtraLightItalic.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 300; + font-style: normal; + src: url("../fonts/Mali/Mali-Light.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 300; + font-style: italic; + src: url("../fonts/Mali/Mali-LightItalic.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 400; + font-style: normal; + src: url("../fonts/Mali/Mali-Regular.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 400; + font-style: italic; + src: url("../fonts/Mali/Mali-Italic.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 500; font-style: normal; + src: url("../fonts/Mali/Mali-Medium.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 500; + font-style: italic; + src: url("../fonts/Mali/Mali-MediumItalic.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 600; + font-style: normal; + src: url("../fonts/Mali/Mali-SemiBold.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 600; + font-style: italic; + src: url("../fonts/Mali/Mali-SemiBoldItalic.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 700; + font-style: normal; + src: url("../fonts/Mali/Mali-Bold.ttf") format("truetype"); +} + +@font-face { + font-family: "Mali"; + font-weight: 700; + font-style: italic; + src: url("../fonts/Mali/Mali-BoldItalic.ttf") format("truetype"); +} + +/* Noto Sans JP - Variable */ +@font-face { + font-family: "Noto Sans JP"; + src: url("../fonts/Noto_Sans_JP/NotoSansJP-VariableFont_wght.ttf") + format("truetype-variations"); + font-weight: 100 900; } .linenos, |
