Use reading types as 'bullet points' for kanji display

This commit is contained in:
Kiril Kovachev 2024-10-16 14:56:05 +01:00
parent ddf1d1933c
commit 1c777aa253
2 changed files with 35 additions and 0 deletions

View 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: "訓";
}

View File

@ -2,6 +2,10 @@
{% 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 %}
<h1>{% block title %}{{localize("kanji")}} - {{ kanji.character }}{% endblock %}</h1>
{% endblock %}