summaryrefslogtreecommitdiff
path: root/ext/fg/css/frame.css
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-28 20:32:04 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-28 20:32:04 -0700
commit240aca8415be9b27f2b0f68509f7068488d42444 (patch)
tree93276f6542ab9e98bfc4703a2f85c2e15e64ad29 /ext/fg/css/frame.css
parent4ef620d74cac15bcd6b860e569a09aa561f2ba98 (diff)
Kanji page cleanup
Diffstat (limited to 'ext/fg/css/frame.css')
-rw-r--r--ext/fg/css/frame.css39
1 files changed, 15 insertions, 24 deletions
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index dae244fa..bb0b3abf 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -73,17 +73,6 @@ body {
background-color: #0275d8;
}
-.kanji-glyph {
- font-family: "KanjiStrokeOrders";
- font-size: 140px;
- line-height: 140px;
- vertical-align: top;
-}
-
-.kanji-info {
- display: inline-block;
-}
-
ol {
padding-left: 1.2em;
}
@@ -96,23 +85,25 @@ li span {
color: #000;
}
-dl {
- padding: 0.5em;
+.kanji-glyph {
+ float: left;
+ font-family: "KanjiStrokeOrders";
+ font-size: 140px;
+ line-height: 140px;
+ padding: 0.01em;
+ vertical-align: top;
}
-dt {
- float: left;
- clear: left;
- width: 100px;
- text-align: right;
- font-weight: bold;
+.kanji-info {
+ display: block;
+ overflow: hidden;
}
-dt:after {
- content: ":";
+.kanji-info dt {
+ font-weight: bold;
}
-dd {
- margin: 0 0 0 110px;
- padding: 0 0 0.5em 0;
+.kanji-info dd {
+ margin-left: 1.2em;
}
+