Normalize Chinese Part ordinals and support resumable complete-book translation

This commit is contained in:
Kai Tan
2026-10-08 08:32:05 +08:00
parent 498b5d09ce
commit 644e93b874
12 changed files with 186 additions and 20 deletions
+10
View File
@@ -22,3 +22,13 @@ p.translation::first-letter {
.translation[data-translation-role="body"] {
text-indent: 2em !important;
}
/* A Chinese ordinal is one phrase, even when the publisher enlarged only 4.
Limit this reset to the translated number; keep the original Part/title design. */
.translation [data-translation-ordinal="true"] {
font-family: inherit !important;
font-size: inherit !important;
font-weight: inherit !important;
color: inherit !important;
line-height: inherit !important;
vertical-align: baseline !important;
}