aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/header.html8
-rw-r--r--tmpl/kanji.html4
2 files changed, 8 insertions, 4 deletions
diff --git a/tmpl/header.html b/tmpl/header.html
index 2256b08a..b7fad070 100644
--- a/tmpl/header.html
+++ b/tmpl/header.html
@@ -5,8 +5,12 @@
<title></title>
<style>
@font-face {
- font-family: "KanjiStrokeOrders";
- src: url("{{root}}/ttf/kanji-stroke-orders.ttf");
+ font-family: kanji-stroke-orders;
+ src: url('{{root}}/ttf/kanji-stroke-orders.ttf');
+ }
+ @font-face {
+ font-family: vl-gothic-regular;
+ src: url('{{root}}/ttf/vl-gothic-regular.ttf');
}
</style>
<link rel="stylesheet" href="{{root}}/css/frame.css">
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 7a5affb7..2c9db99a 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -22,7 +22,7 @@
{{#if kunyomi}}
<dt>Kunyomi</dt>
- <dd>
+ <dd class="kanji-reading">
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
@@ -31,7 +31,7 @@
{{#if onyomi}}
<dt>Onyomi</dt>
- <dd>
+ <dd class="kanji-reading">
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}