From 8478997980cd5b9d791f8ab4af441786919cef5b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 3 May 2019 22:24:26 -0700 Subject: EPUB2/3 templates: Move inline styles to default epub.css. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those who use a custom CSS stylesheet with EPUB should add these lines: ```css code{ white-space: pre-wrap; } span.smallcaps{ font-variant: small-caps; } span.underline{ text-decoration: underline; } q { quotes: "“" "”" "‘" "’"; } div.column{ display: inline-block; vertical-align: top; width: 50%; } ``` See #5466. --- data/epub.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/epub.css') diff --git a/data/epub.css b/data/epub.css index 742ea7895..e27f4e809 100644 --- a/data/epub.css +++ b/data/epub.css @@ -17,3 +17,8 @@ nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; } a.footnote-ref { vertical-align: super; } em, em em em, em em em em em { font-style: italic;} em em, em em em em { font-style: normal; } +code{ white-space: pre-wrap; } +span.smallcaps{ font-variant: small-caps; } +span.underline{ text-decoration: underline; } +q { quotes: "“" "”" "‘" "’"; } +div.column{ display: inline-block; vertical-align: top; width: 50%; } -- cgit v1.2.3