diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/styles/epub3-css3-only.scss | 2 | ||||
| -rw-r--r-- | data/styles/epub3.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/data/styles/epub3-css3-only.scss b/data/styles/epub3-css3-only.scss index 6fdfbd5..cd2d600 100644 --- a/data/styles/epub3-css3-only.scss +++ b/data/styles/epub3-css3-only.scss @@ -25,7 +25,7 @@ h1 :not(code), h2 :not(code), h3:not(.list-heading) :not(code), h4 :not(code), h } /* QUESTION what about nested elements inside code? */ -body code, body kbd, body pre, pre :not(code) { +body code, body kbd, body :not(.verse) > pre, :not(.verse) > pre :not(code) { /* !important required to override custom font setting in Kindle / Gitden / Namo */ /* Gitden requires the extra weight of a parent selector */ /* Kindle and Gitden require the override on pre child elements */ diff --git a/data/styles/epub3.scss b/data/styles/epub3.scss index 9a67b49..ea16581 100644 --- a/data/styles/epub3.scss +++ b/data/styles/epub3.scss @@ -822,6 +822,7 @@ div.verse { /* TODO we may want to reenable hyphens here, but not for kf8 */ div.verse > pre { + font-family: "M+ 1p", sans-serif; background-color: transparent; border: none; font-size: 1.2em; |
