Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,14 @@
font-size: 1.5em;
font-weight: 700;
}
rt,
ruby[class^="sandhi-"] { /* 改用屬性選擇器 */
rt {
/* font-size was 1em, which is too large for ruby text, causing wrapping issues in WebKit.
Reducing it to 60% of the parent ruby element's font size. */
font-size: 60%;
font-family: var(--roman-font) !important;
margin-bottom: 0.3em;
}
ruby[class^="sandhi-"] { /* Separated from rt selector for clarity */
font-size: 1em;
font-family: var(--roman-font) !important;
margin-bottom: 0.3em;
Expand Down