summaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-28 20:36:55 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-28 20:36:55 -0700
commita7e5a23e2d2facf774a1455b0b2802633a4a183a (patch)
treebec06730a888faffefa86454cbc2b1190d251bed /util/tmpl
parent240aca8415be9b27f2b0f68509f7068488d42444 (diff)
Style cleanup
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/term.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 00a9d156..0daf9f49 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,12 +1,12 @@
-<div class="definition">
+<div class="term-definition">
{{#if reading}}
- <div class="term"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
+ <div class="term-expression"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
{{else}}
- <div class="term">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
+ <div class="term-expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
{{/if}}
{{#if rules}}
- <div class="rules">
+ <div class="term-rules">
{{#each rules}}
<span class="rule">{{.}}</span> {{#unless @last}}&laquo;{{/unless}}
{{/each}}
@@ -14,14 +14,14 @@
{{/if}}
{{#if tags}}
- <div class="tags">
+ <div class="term-tags">
{{#each tags}}
<span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span>
{{/each}}
</div>
{{/if}}
- <div class="glossary">
+ <div class="term-glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>