dim furigana color on the front (if present)

This commit is contained in:
Ren Tatsumoto 2022-01-21 12:30:01 +03:00
parent d8c2ce8a23
commit 8c2a2aca6c
2 changed files with 11 additions and 1 deletions

View file

@ -8,7 +8,7 @@ Thu Feb 4 01:06:07 AM UTC 2021
<div class="tags">{{Tags}}</div>
</header>
{{/Tags}}
<div class="japanese" id="question">
<div class="japanese question" id="question">
{{edit:furigana:VocabKanji}}
</div>
</div>

View file

@ -248,3 +248,13 @@ ol {
.nightMode .images > img {
filter: sepia(0%);
}
/* Dim furigana color on the front (if present) */
.japanese.question ruby rt {
opacity: 0.15;
transition: opacity 0.15s;
}
.japanese.question:hover ruby rt {
opacity: 1;
}