feat: Kanji view styling, bigger furigana

This commit is contained in:
Dendy 2025-09-08 08:24:41 +02:00
parent 87ca6a5564
commit 89db3846d0
2 changed files with 15 additions and 7 deletions

View File

@ -2,3 +2,7 @@ a {
text-decoration: none !important; text-decoration: none !important;
color: inherit !important; color: inherit !important;
} }
rt {
font-size: 0.75em;
}

View File

@ -90,15 +90,19 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="d-flex flex-column"> <div class="d-flex flex-column">
<div class="d-flex flex-column"> <hr>
<h2>Terms</h2>
{% for term in terms|slice(0,5) %} <h2>Terms</h2>
<div> {% for term in terms|slice(0,5) %}
<div class="text">{{ term.toAnkiVocabDef|ruby|raw }}</div> <div>
</div> <div class="text">{{ term.toAnkiVocabDef|ruby|raw }}</div>
{% endfor %}
</div> </div>
{% endfor %}
<hr>
<h2>Appeareances</h2> <h2>Appeareances</h2>
{% for refname, refcount in ref %} {% for refname, refcount in ref %}