diff options
-rw-r--r-- | data/epub.css | 5 | ||||
-rw-r--r-- | data/templates/default.epub2 | 9 | ||||
-rw-r--r-- | data/templates/default.epub3 | 9 |
3 files changed, 5 insertions, 18 deletions
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%; } diff --git a/data/templates/default.epub2 b/data/templates/default.epub2 index cca9fcf6f..afcf96a3e 100644 --- a/data/templates/default.epub2 +++ b/data/templates/default.epub2 @@ -6,15 +6,6 @@ <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title>$pagetitle$</title> - <style type="text/css"> - code{white-space: pre-wrap;} - span.smallcaps{font-variant: small-caps;} - span.underline{text-decoration: underline;} - div.column{display: inline-block; vertical-align: top; width: 50%;} -$if(quotes)$ - q { quotes: "“" "”" "‘" "’"; } -$endif$ - </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.epub3 b/data/templates/default.epub3 index 15171acb2..f0feb147a 100644 --- a/data/templates/default.epub3 +++ b/data/templates/default.epub3 @@ -5,15 +5,6 @@ <meta charset="utf-8" /> <meta name="generator" content="pandoc" /> <title>$pagetitle$</title> - <style> - code{white-space: pre-wrap;} - span.smallcaps{font-variant: small-caps;} - span.underline{text-decoration: underline;} - div.column{display: inline-block; vertical-align: top; width: 50%;} -$if(quotes)$ - q { quotes: "“" "”" "‘" "’"; } -$endif$ - </style> $if(highlighting-css)$ <style> $highlighting-css$ |