From c4be21b7c411b6ad789d3a1909903037314f1c98 Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Wed, 22 Mar 2023 04:06:06 +0300 Subject: [PATCH] japanese sentences and japanese words: remove ttf fonts --- templates/Japanese sentences/template.css | 11 ++++------- templates/Japanese words/template.css | 14 +++++--------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/templates/Japanese sentences/template.css b/templates/Japanese sentences/template.css index 5ca06d7..9c980df 100644 --- a/templates/Japanese sentences/template.css +++ b/templates/Japanese sentences/template.css @@ -4,8 +4,7 @@ font-family: "KanjiStrokeOrders"; src: local("KanjiStrokeOrders"), - url("_kso.woff2") format("woff2"), - url("_kso.ttf"); + url("_kso.woff2") format("woff2"); } @font-face { @@ -22,8 +21,7 @@ local("IPA P明朝"), local("TakaoExMincho"), local("TakaoEx明朝"), - url("_yumin.woff2") format("woff2"), - url("_yumin.ttf"); + url("_yumin.woff2") format("woff2"); font-weight: normal; } @@ -34,8 +32,7 @@ local("Noto Serif CJK JP DemiLight"), local("Yu Mincho Demibold"), local("游明朝 Demibold"), - url("_yumindb.woff2") format("woff2"), - url("_yumindb.ttf"); + url("_yumindb.woff2") format("woff2"); font-weight: 600; } @@ -556,4 +553,4 @@ div[contenteditable="true"] { border: 1px solid gray; padding: 3px; box-shadow: 10px 5px 5px gray; -} \ No newline at end of file +} diff --git a/templates/Japanese words/template.css b/templates/Japanese words/template.css index 5afc32f..0c22d40 100644 --- a/templates/Japanese words/template.css +++ b/templates/Japanese words/template.css @@ -4,8 +4,7 @@ font-family: "KanjiStrokeOrders"; src: local("KanjiStrokeOrders"), - url("_kso.woff2") format("woff2"), - url("_kso.ttf"); + url("_kso.woff2") format("woff2"); } @font-face { @@ -21,8 +20,7 @@ local("IPA P明朝"), local("TakaoExMincho"), local("TakaoEx明朝"), - url("_yumin.woff2") format("woff2"), - url("_yumin.ttf"); + url("_yumin.woff2") format("woff2"); font-weight: normal; } @@ -33,8 +31,7 @@ local("Noto Serif CJK JP DemiLight"), local("Yu Mincho Demibold"), local("游明朝 Demibold"), - url("_yumindb.woff2") format("woff2"), - url("_yumindb.ttf"); + url("_yumindb.woff2") format("woff2"); font-weight: 600; } @@ -43,8 +40,7 @@ src: local("acgyosyo"), local("英椎行書"), - url("_acgyosyo.woff2") format("woff2"), - url("_acgyosyo.ttf"); + url("_acgyosyo.woff2") format("woff2"); } *, @@ -388,4 +384,4 @@ ol li+li { .japanese.question:hover ruby rt { opacity: 1; -} \ No newline at end of file +}