monks/ruby_position
The ruby-position CSS property defines the position of a ruby element relative to its base element. It can be positioned over the element (over), under it (under), or between the characters on their right side (inter-character).
Values
pub const alternate: #(String, String)
- : Is a keyword indicating that the ruby alternates between over and under, when there are multiple levels of annotation.
pub const inter_character: #(String, String)
- : When specified, it behaves as
overin vertical writing modes. Otherwise, it indicates that the ruby has to be placed between the different characters, appearing on the right of the base in horizontal text and forcing the children of the ruby annotation container to have avertical-rlwriting mode.
pub const over: #(String, String)
- :
Is a keyword indicating that the ruby has to be placed over the main text for horizontal scripts and right to it for vertical scripts.
pub const revert_layer: #(String, String)
pub const under: #(String, String)
- :
Is a keyword indicating that the ruby has to be placed under the main text for horizontal scripts and left to it for vertical scripts.