From b0d9285f37f3be553ea14b3b5242c7dbfa9b98e7 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 30 Jan 2022 18:55:56 -0600 Subject: [PATCH] Alphabetize CSS declarations --- src/epub/css/core.css | 6 +++--- src/epub/css/se.css | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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"],