Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

i18n: set typography for ruby text #52

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

ptmkenny
Copy link
Contributor

There is currently no typography setting for ruby text, which is normally displayed at 50% font size.

This PR specifies the standard font size. It also removes the "text transform: full-size-kana" class and applies it to the rt tag, because that is the only reason the "full-size-kana" property exists. (See here: w3c/csswg-drafts#3143)

Because extensions/i18n.less is included as a reference only, instead of adding the rt tag there, I added it to base/typo.less.

@JayPanoz JayPanoz merged commit 891e495 into FriendsOfEpub:develop Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants