aboutsummaryrefslogtreecommitdiff
path: root/data/templates/styles.html
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-04 17:33:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-05 12:39:50 -0700
commitbb362fd76c94cb5228b06632c47993ee48cecac4 (patch)
tree98fabe7a8f49d419a157d4e7879e68bf88938fb8 /data/templates/styles.html
parent75f6af5c12c4781db74f67cb2aaf043303892032 (diff)
downloadpandoc-bb362fd76c94cb5228b06632c47993ee48cecac4.tar.gz
Add partial styles.html in HTML5 template.
Avoid duplication in HTML templates by using styles.html partial. Change indentation of styles in template.
Diffstat (limited to 'data/templates/styles.html')
-rw-r--r--data/templates/styles.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html
new file mode 100644
index 000000000..866896549
--- /dev/null
+++ b/data/templates/styles.html
@@ -0,0 +1,11 @@
+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$
+$if(highlighting-css)$
+$highlighting-css$
+$endif$
+