diff options
| author | Charlotte Koch <charlotte@magentastripe.com> | 2024-06-05 13:27:53 -0700 |
|---|---|---|
| committer | Charlotte Koch <charlotte@magentastripe.com> | 2024-06-05 13:27:53 -0700 |
| commit | 07fbca6dba62697c53075e68de31bc6e9a98e8c7 (patch) | |
| tree | 30a92edbd85ce49b8a2a67d1dd6dba801afdb678 /themes | |
| parent | 555aabff9fb5996c71a65f1407f9cf389fa7a92f (diff) | |
Significant EPUB3 creation and style fixes
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/epub3-css3-only.scss | 1 | ||||
| -rw-r--r-- | themes/epub3.scss | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/themes/epub3-css3-only.scss b/themes/epub3-css3-only.scss new file mode 100644 index 0000000..0a74eb1 --- /dev/null +++ b/themes/epub3-css3-only.scss @@ -0,0 +1 @@ +/* OK */ diff --git a/themes/epub3.scss b/themes/epub3.scss new file mode 100644 index 0000000..851d40b --- /dev/null +++ b/themes/epub3.scss @@ -0,0 +1,52 @@ +/* + * Magenta Stripe Media - EPUB3 Stylesheet + * Charlotte Koch <charlotte@magentastripe.com> + */ + +/* ***** EB GARAMOND FONT ***** */ + +@font-face { + font-family: "EB Garamond"; + font-style: normal; + font-weight: normal; + src: url(../fonts/EBGaramond08-Regular.ttf); +} + +@font-face { + font-family: "EB Garamond"; + font-style: italic; + font-weight: normal; + src: url(../fonts/EBGaramond08-Italic.ttf); +} + + +/* ***** NAUTICAL FONT ***** */ + +@font-face { + font-family: "Nautical"; + font-style: normal; + font-weight: normal; + src: url(../fonts/Nautical.ttf); +} + + +/* ***** BODY ***** */ + +body { + font-family: "EB Garamond", serif; +} + +/* + * Default stylesheet contains 1em margin on the top of every paragraph; + * this should remove it. + */ +body p { + margin: 0em; + text-indent: 2em; + line-height: 2.0; +} + +hr.thematicbreak { + /* XXX try to insert the appropriate dingbat here */ + text-align: center; +} |
