Use reading types as 'bullet points' for kanji display
This commit is contained in:
parent
ddf1d1933c
commit
1c777aa253
31
kanken_online/static/kanji.css
Normal file
31
kanken_online/static/kanji.css
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
ul#reading-list {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#goon::before {
|
||||||
|
content: "呉";
|
||||||
|
}
|
||||||
|
|
||||||
|
#kanon::before {
|
||||||
|
content: "漢";
|
||||||
|
}
|
||||||
|
|
||||||
|
#kanyoon::before {
|
||||||
|
content: "慣";
|
||||||
|
}
|
||||||
|
|
||||||
|
#soon::before {
|
||||||
|
content: "宋";
|
||||||
|
}
|
||||||
|
|
||||||
|
#toon::before {
|
||||||
|
content: "唐";
|
||||||
|
}
|
||||||
|
|
||||||
|
#on::before {
|
||||||
|
content: "音";
|
||||||
|
}
|
||||||
|
|
||||||
|
#kun::before {
|
||||||
|
content: "訓";
|
||||||
|
}
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
{% block scripts %}<script src="/static/kanji.js" defer></script>{%endblock %}
|
{% block scripts %}<script src="/static/kanji.js" defer></script>{%endblock %}
|
||||||
|
|
||||||
|
{% block styles %}
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='kanji.css') }}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<h1>{% block title %}{{localize("kanji")}} - {{ kanji.character }}{% endblock %}</h1>
|
<h1>{% block title %}{{localize("kanji")}} - {{ kanji.character }}{% endblock %}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user