An excellent site

What is this?

The CSS feature writing-mode was introduced to facilitate text directions other than the classic European left-to-right top-to-bottom style. One of the styles introduced was right-to-left, top-to-bottom, for Chinese or East Asian text.

It cannot be used out-of-the-box when trying to typeset classical books, which may include "smaller" text or punctuation that is offset. Implementations also tend to be buggy. This page attempts to work towards a solution for such text, because I really couldn't think of anything to do for my second webpage.

Instead of using writing-mode: vertical-rl, I tried to use display: flex.

Lunyu data is from the Kanseki Repository. Other data is from ctext or Wikisource.

Configuration

Text