RsProperties
Reading System properties.
See https://readium.org/readium-css/docs/CSS19-api.html#reading-system-styles
Parameters
The optimal column’s width. It serves as a floor in our design.
The optimal number of columns (depending on the columns’ width).
The gap between columns. You must account for this gap when scrolling.
The horizontal page margins.
The default vertical margins for HTML5 flow content e.g. pre, figure, blockquote, etc.
The default vertical margins for paragraphs.
The default text-indent for paragraphs.
The optimal line-length. It must be set in rem in order to take :root’s font-size as a reference, whichever the body’s font-size might be.
The max-width for media elements i.e. img, svg, audio and video.
The max-height for media elements i.e. img, svg, audio and video.
The box model (box-sizing) you want to use for media elements.
The box model (box-sizing) you want to use for tables.
The default color for body copy’s text.
The default background-color for pages.
The color for selected text.
The background-color for selected text.
The default color for hyperlinks.
The default color for visited hyperlinks.
An optional primary accentuation color you could use for headings or any other element of your choice.
An optional secondary accentuation color you could use for any element of your choice.
The scale to be used for computing all elements’ font-size. Since those font sizes are computed dynamically, you can set a smaller type scale when the user sets one of the largest font sizes.
The default typeface for body copy in case the ebook doesn’t have one declared. Please note some languages have a specific font-stack (japanese, hindi, etc.)
The default line-height for body copy in case the ebook doesn’t have one declared.
An old style serif font-stack relying on pre-installed fonts.
A modern serif font-stack relying on pre-installed fonts.
A neutral sans-serif font-stack relying on pre-installed fonts.
A humanist sans-serif font-stack relying on pre-installed fonts.
A monospace font-stack relying on pre-installed fonts.
A Mincho font-stack whose fonts with proportional latin characters are prioritized for horizontal writing.
A Gothic font-stack whose fonts with proportional latin characters are prioritized for horizontal writing.
A Mincho font-stack whose fonts with fixed-width latin characters are prioritized for vertical writing.
A Gothic font-stack whose fonts with fixed-width latin characters are prioritized for vertical writing.
The typeface for headings. The value can be another variable e.g. var(-RS__humanistTf).
The typeface for code snippets. The value can be another variable e.g. var(-RS__monospaceTf).