A set of reference stylesheets for EPUB Reading Systems, starting with Readium 2.
Readium CSS provides:
Readium CSS is currently in alpha (version
The primary goal of Readium CSS is to provide Reading System implementers with reliable and modern styles for EPUB 2 and EPUB 3 files. In addition, it should provide good interoperability in the existing ecosystem, while not overriding authors’ styles unless strictly necessary.
Readium CSS stylesheets were not designed and should not be used for other file formats e.g. FB2, PRC, Mobi, TEI, etc. Works in progress like Web Publications or Portable Web Publications are also out of scope.
Some issues, which may be raised during development, will be documented so that they can serve as a reference for revisions of the EPUB specification, and even future specifications.
The Readium Desktop app is using Readium CSS and is available for Linux, MacOS and Windows.
You can also use the webpub manifest prototype with the RS-streamer-js in a local development environment. Please note you’ll have to manually inject stylesheets and apply settings via the console, or design and code scripts if you want a GUI (user settings menu).
There is no external implementation of Readium CSS so far.
Consequently, if you are encountering rendering issues with Readium (iOS apps, Android apps, or the Readium Chrome App), please report them on the github section dedicated to the proper Readium project (readium-js, readium-shared-js, readium-sdk, etc.).
Documentation can be accessed in docs.