aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-09 19:07:39 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-09 19:07:39 -0700
commit8438a1fe321772ddba479437db40097e4a208a0b (patch)
tree6391416358a5e4960717ddd7903fbb88ca573272 /ext/fg
parent64bdc7ea5e9bea85982130947e8517cbd9c568a9 (diff)
Custom fonts for Japanese
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/css/frame.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index a06dab0c..d8e6dd7b 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -21,7 +21,7 @@
body {
background-color: #fff;
color: #333;
- font-family: helvetica neue,helvetica,arial,sans-serif;
+ font-family: helvetica neue, helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
overflow-y: auto;
@@ -82,7 +82,7 @@ body {
.term-expression {
display: inline-block;
- font-family: serif;
+ font-family: vl-gothic-regular;
font-size: 24px;
}
@@ -113,13 +113,17 @@ body {
.kanji-glyph {
float: left;
- font-family: 'KanjiStrokeOrders';
+ font-family: kanji-stroke-orders;
font-size: 140px;
line-height: 140px;
padding: 0.01em;
vertical-align: top;
}
+.kanji-reading {
+ font-family: vl-gothic-regular;
+}
+
.kanji-info {
display: block;
overflow: hidden;