UNPKG

@evidentpoint/readium-css

Version:

A set of reference stylesheets for EPUB Reading Systems

29 lines (23 loc) 787 B
/* Readium CSS Fonts module A stylesheet for embedded fonts Repo: https://github.com/readium/readium-css */ /* /!\ Mind the path (relative to the folders in which you have stylesheets and the fonts) */ @font-face { font-family: AccessibleDfA; src: local("AccessibleDfA"), url("fonts/AccessibleDfA.otf") format("opentype"); font-weight: normal; font-style: normal; } @font-face { font-family: "IA Writer Duospace"; src: local("iAWriterDuospace-Regular"), url("fonts/iAWriterDuospace-Regular.ttf") format("truetype"); font-weight: normal; font-style: normal; } /* If you have different weights/styles, use `font-weight` and `font-style`, not prefixes in the font-family name, or else it will be a nightmare to manage in user settings. */