aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-05-03 22:24:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-05-03 22:25:46 -0700
commit8478997980cd5b9d791f8ab4af441786919cef5b (patch)
tree52e92dc5d22e03107576d484bbedb03a30c5c097 /data/templates
parent63254ae958f820634d58f0b538d6b976f3aa782b (diff)
downloadpandoc-8478997980cd5b9d791f8ab4af441786919cef5b.tar.gz
EPUB2/3 templates: Move inline styles to default epub.css.
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.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.epub29
-rw-r--r--data/templates/default.epub39
2 files changed, 0 insertions, 18 deletions
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$