summaryrefslogtreecommitdiff
path: root/data/templates/default.revealjs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-04 23:16:42 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-04 23:16:42 +0100
commit14b8aa8c93766f98a6e0bc9ff04f14962a888f4f (patch)
tree98515c489e303b4613520f4ff84963031d611f95 /data/templates/default.revealjs
parent0517cf0bc0db5e5b94c86f2dddc1fbc279632b2c (diff)
Regularized CSS in html/epub/html slide templates.
All templates now include `code{white-space: pre-wrap}` and CSS for `q` if `--html-q-tags` is used. Previously some templates had `pre` and others `pre-wrap`; the `q` styles were only sometimes included. See #3485.
Diffstat (limited to 'data/templates/default.revealjs')
-rw-r--r--data/templates/default.revealjs7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index d5a85737e..92d81e3f1 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -17,10 +17,13 @@ $endif$
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
- <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
+ <style type="text/css">
+ code{white-space: pre-wrap;}
+ .smallcaps{font-variant: small-caps;}
$if(quotes)$
- <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
+ q { quotes: "“" "”" "‘" "’"; }
$endif$
+ </style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$