From 79ea7e7d8b1ca01b0d93fe307b0b1fd2b5aa22f0 Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Thu, 2 Jul 2020 22:33:57 +0300 Subject: resolves #123 remove from chapter subtitle (#345) --- data/styles/epub3-css3-only.css | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'data') diff --git a/data/styles/epub3-css3-only.css b/data/styles/epub3-css3-only.css index 6f44c29..294219f 100644 --- a/data/styles/epub3-css3-only.css +++ b/data/styles/epub3-css3-only.css @@ -75,23 +75,6 @@ body code, body kbd, body pre, pre :not(code) { th, td, figcaption, caption { text-rendering: optimizeLegibility; }*/ - /* hack line height of subtitle using floats on Kindle */ - h1.chapter-title .subtitle { - margin-top: -0.2em; - margin-bottom: 0.3em; /* compensate for reduced line height */ - } - - /* NOTE using b instead of span since Firefox ePubReader applies immutable styles to span */ - h1.chapter-title .subtitle > b { - float: left; - display: inline-block; - margin-bottom: -0.3em; /* reduce the line height */ - padding-right: 0.2em; /* spacing between words */ - } - - h1.chapter-title .subtitle > b:last-child { - padding-right: 0; - } h1.chapter-title .subtitle::after { display: table; -- cgit v1.2.3