aboutsummaryrefslogtreecommitdiff
path: root/static/css/fonts.css
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-06-25 16:06:41 -0400
committerBobby <[email protected]>2023-06-25 16:06:41 -0400
commitb2099c9dcedc713cc7ff3f9be253b7b218f7fb72 (patch)
treed3a7ae23501575c8adc619b08cabc19cf91d497a /static/css/fonts.css
parent2143f7e90ac87cc4cb366e045da074432b9b83a6 (diff)
downloadthatcomputerscientist-b2099c9dcedc713cc7ff3f9be253b7b218f7fb72.tar.xz
thatcomputerscientist-b2099c9dcedc713cc7ff3f9be253b7b218f7fb72.zip
Font Rendering for Japanese and Code Blocks
Diffstat (limited to 'static/css/fonts.css')
-rw-r--r--static/css/fonts.css28
1 files changed, 25 insertions, 3 deletions
diff --git a/static/css/fonts.css b/static/css/fonts.css
index c035afaf..e25f479a 100644
--- a/static/css/fonts.css
+++ b/static/css/fonts.css
@@ -1,6 +1,28 @@
+@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: 'TopNavbar';
- src: url('../fonts/pdos.ttf') format('truetype');
+ font-family: 'Comic Code Regular';
+ src: url('../fonts/COCOLGR.otf') format('opentype');
font-weight: normal;
font-style: normal;
-} \ No newline at end of file
+}
+
+@font-face {
+ font-family: 'Hatsukoi Friends Mini';
+ src: url('../fonts/HAKOIMI.otf') format('opentype');
+ font-weight: normal;
+ font-style: normal;
+}
+
+code {
+ font-family: 'Comic Code Regular', sans-serif;
+}
+
+.en {
+ font-family: 'Mali', sans-serif;
+}
+
+body.ja, .ja {
+ font-family: 'Noto Sans JP', sans-serif;
+}