civodulab / readium-css

Place of creation of the reference CSS for readium projects, beginning with Readium-2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

readium-css

A set of reference stylesheets for EPUB Reading Systems, starting with Readium 2.

Readium CSS provides:

  • a CSS normalize for EPUB contents;
  • paged and scrolled views;
  • default styles;
  • reading modes (night, sepia, etc.);
  • themes;
  • user settings;
  • media overlays and user highlights.

License

BSD-3-Clause (http://opensource.org/licenses/BSD-3-Clause)

See license.txt.

Scope of this project

The major goal of Readium CSS is to provide implementers and authors with reliable and modern styles for EPUB 2 and EPUB 3 publications, with good interoperability.

Those stylesheets were not designed and should not be used for other existing formats like FB2, PRC, Mobi, TEI, etc., and works in progress like Web Publications or Portable Web Publications.

Some issues, which may be raised during development, will be documented so that they can serve as a reference for future specifications.

Testing

You can 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).

Known implementations

There is no public implementation of Readium CSS so far.

Consequently, if you are encountering rendering issues with Readium, please report them on the github section dedicated to the proper Readium project (readium-js, readium-shared-js, readium-sdk, etc.).

Docs

See Wiki for overarching concepts and the docs folder for technical details (markdown files).

About

Place of creation of the reference CSS for readium projects, beginning with Readium-2.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:CSS 72.0%Language:HTML 28.0%