diff --git a/src/epub/css/core.css b/src/epub/css/core.css index ebf5a23..73ac02e 100644 --- a/src/epub/css/core.css +++ b/src/epub/css/core.css @@ -36,13 +36,13 @@ h4, h5, h6, hgroup{ + break-after: avoid; + break-inside: avoid; font-variant: small-caps; hyphens: none; -epub-hyphens: none; - break-after: avoid; - break-inside: avoid; - text-align: center; margin: 3em 0; + text-align: center; } hgroup > *{ diff --git a/src/epub/css/se.css b/src/epub/css/se.css index bc25115..54c7538 100644 --- a/src/epub/css/se.css +++ b/src/epub/css/se.css @@ -11,14 +11,14 @@ section[epub|type~="titlepage"] p, section[epub|type~="colophon"] h2, section[epub|type~="imprint"] h2{ font-size: 0; /* Required for Kobo not to add an extra page to the title */ - position: absolute; /* Required for Kindle */ left: -999em; + position: absolute; /* Required for Kindle */ } section[epub|type~="titlepage"] img{ display: block; - width: 100%; margin: 3em auto auto auto; + width: 100%; } section[epub|type~="colophon"],