aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/css/frame.css
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-07 19:56:50 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-07 19:56:50 -0700
commit29135ff84ff51dfdbf271490bc53138e306e75d8 (patch)
tree9a92a7ce668af1e4cccb1c226665b382244ddf53 /ext/fg/css/frame.css
parenta9e86544c176ad8295c1df83924778fa45421461 (diff)
Updating kanji display
Diffstat (limited to 'ext/fg/css/frame.css')
-rw-r--r--ext/fg/css/frame.css34
1 files changed, 21 insertions, 13 deletions
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index 68efa9c6..e7b5dedc 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -106,7 +106,7 @@ body {
}
.term-glossary ol {
- padding-left: 1.2em;
+ padding-left: 1.4em;
}
.term-glossary li {
@@ -120,28 +120,36 @@ body {
/* kanji styles */
.kanji-glyph {
- float: right;
font-family: kanji-stroke-orders;
- font-size: 140px;
- line-height: 140px;
+ font-size: 120px;
+ line-height: 120px;
padding: 0.01em;
vertical-align: top;
}
-.kanji-reading {
+.kanji-reading table {
+ padding: 0.3em, 0.3em;
+}
+
+.kanji-reading th {
+ color: #777;
+ font-weight: bold;
+ text-align: right;
+ vertical-align: top;
+}
+
+.kanji-reading td {
font-family: vl-gothic-regular;
}
-.kanji-info {
- display: block;
- overflow: hidden;
+.kanji-glossary ol {
+ padding-left: 1.4em;
}
-.kanji-info dt {
- color: #777;
- font-weight: bold;
+.kanji-glossary li {
+ color: #777;
}
-.kanji-info dd {
- margin-left: 1.2em;
+.kanji-glossary li span {
+ color: #000;
}