aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-09 19:23:40 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-09 19:23:40 -0700
commit84747e55020a2fd666f13a574d0c5d3b5b7d2052 (patch)
treeafa89ec997b213458c3ea92fc5fcf623d963a52d
parent8438a1fe321772ddba479437db40097e4a208a0b (diff)
Styling
-rw-r--r--ext/bg/js/templates.js4
-rw-r--r--ext/fg/css/frame.css4
-rw-r--r--tmpl/kanji.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index b56995e3..857bbb9d 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -50,13 +50,13 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
},"8":function(container,depth0,helpers,partials,data) {
var stack1;
- return " <dt>Kunyomi</dt>\n <dd class=\"kanji-reading\">\n"
+ return " <dt>Kun'yomi</dt>\n <dd class=\"kanji-reading\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.kunyomi : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </dd>\n";
},"10":function(container,depth0,helpers,partials,data) {
var stack1;
- return " <dt>Onyomi</dt>\n <dd class=\"kanji-reading\">\n"
+ return " <dt>On'yomi</dt>\n <dd class=\"kanji-reading\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.onyomi : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </dd>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index d8e6dd7b..cb897a6d 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -130,8 +130,8 @@ body {
}
.kanji-info dt {
- color: #31708f;
- font-weight: bold;
+ background-color: #eee;
+ font-weight: bold;
}
.kanji-info dd {
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 2c9db99a..81ead584 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -21,7 +21,7 @@
{{/if}}
{{#if kunyomi}}
- <dt>Kunyomi</dt>
+ <dt>Kun'yomi</dt>
<dd class="kanji-reading">
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
@@ -30,7 +30,7 @@
{{/if}}
{{#if onyomi}}
- <dt>Onyomi</dt>
+ <dt>On'yomi</dt>
<dd class="kanji-reading">
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}