Implement styling

This commit is contained in:
Elnu 2023-06-02 12:31:13 -07:00
parent 25906df967
commit ccba51e277
7 changed files with 151 additions and 3 deletions

View file

@ -2,6 +2,7 @@
<html>
<head>
<title>Tegaki Tuesday</title>
<link href="/css/style.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to Tegaki Tuesday #{{ challenge }}!</h1>
@ -13,7 +14,7 @@
<p>
{% for word in subline %}
{% if word.dictionary %}
<a href="{{ word.dictionary }}" target="_blank"{% if word.pos %} class="{{ word.pos }}"{% endif %}>
<a href="{{ word.dictionary }}" target="_blank"{% if word.pos %} class="{{ word.pos }}" title="{{ word.pos }}"{% endif %}>
{% endif %}
{% for segment in word.text %}
<ruby>{{ segment.kanji }}<rp>(</rp><rt>{{ segment.furigana | safe }}</rt><rp>)</rp></ruby>