diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/samples/sample-book.adoc | 2 | ||||
| -rw-r--r-- | data/styles/epub3-css3-only.scss | 1 | ||||
| -rw-r--r-- | data/styles/epub3.scss | 7 |
3 files changed, 7 insertions, 3 deletions
diff --git a/data/samples/sample-book.adoc b/data/samples/sample-book.adoc index 0703e5f..2577c43 100644 --- a/data/samples/sample-book.adoc +++ b/data/samples/sample-book.adoc @@ -6,7 +6,7 @@ v1.0, 2014-04-15 :doctype: book :epub-chapter-level: 2 :producer: Asciidoctor -:keywords: Asciidoctor, samples, e-book, EPUB3, KF8, MOBI, Asciidoctor.js +:keywords: Asciidoctor, samples, e-book, EPUB3, Asciidoctor.js :copyright: CC-BY-SA 3.0 :username: graphitefriction :description: This guide describes the Asciidoctor attributes, values, and layout options available for producing a customized and polished document. diff --git a/data/styles/epub3-css3-only.scss b/data/styles/epub3-css3-only.scss index cd2d600..7f28258 100644 --- a/data/styles/epub3-css3-only.scss +++ b/data/styles/epub3-css3-only.scss @@ -32,6 +32,7 @@ body code, body kbd, body :not(.verse) > pre, :not(.verse) > pre :not(code) { font-family: "M+ 1mn", monospace !important; } +/* TODO: DO we still need this? */ @media amzn-kf8 { /* Kindle does its own margin management, so don't use an explicit margin */ /*body { diff --git a/data/styles/epub3.scss b/data/styles/epub3.scss index be1d5c6..88540c3 100644 --- a/data/styles/epub3.scss +++ b/data/styles/epub3.scss @@ -841,7 +841,7 @@ div.verse { page-break-inside: avoid; } -/* TODO we may want to reenable hyphens here, but not for kf8 */ +/* TODO we may want to reenable hyphens here */ div.verse > pre { font-family: "M+ 1p", sans-serif; background-color: transparent; @@ -1160,7 +1160,10 @@ nav[hidden~="hidden"] { } @media amzn-mobi { - /* NOTE mobi7 doesn't support custom fonts, so revert to generic ones */ + /* + NOTE mobi7 doesn't support custom fonts, so revert to generic ones. + See https://github.com/asciidoctor/asciidoctor-epub3/issues/56. + */ body p, ul, ol, li, dl, dt, dd, figcaption, caption, footer, table.table th, table.table td, div.verse .attribution { font-family: serif; |
