From 84747e55020a2fd666f13a574d0c5d3b5b7d2052 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 9 May 2016 19:23:40 -0700 Subject: [PATCH] Styling --- ext/bg/js/templates.js | 4 ++-- ext/fg/css/frame.css | 4 ++-- tmpl/kanji.html | 4 ++-- 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 "
Kunyomi
\n
\n" + return "
Kun'yomi
\n
\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 : "") + "
\n"; },"10":function(container,depth0,helpers,partials,data) { var stack1; - return "
Onyomi
\n
\n" + return "
On'yomi
\n
\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 : "") + "
\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}} -
Kunyomi
+
Kun'yomi
{{#each kunyomi}} {{.}}{{#unless @last}}, {{/unless}} @@ -30,7 +30,7 @@ {{/if}} {{#if onyomi}} -
Onyomi
+
On'yomi
{{#each onyomi}} {{.}}{{#unless @last}}, {{/unless}}