summaryrefslogtreecommitdiff
path: root/data/templates/default.dzslides
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-02 20:55:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-02 20:57:05 -0700
commit642d603666521157d386e2a87bfdcca11d479b87 (patch)
tree2f2fef655397cfce54049cfa0c20c02a95a888e6 /data/templates/default.dzslides
parent52826881262532db9b0c9ce70f097d4ae844a39b (diff)
Improved support for columns in HTML.
* Move as much as possible to the CSS in the template. * Ensure that all the HTML-based templates (including epub) contain the CSS for columns. * Columns default to 50% width unless they are given a width attribute. Closes #4028.
Diffstat (limited to 'data/templates/default.dzslides')
-rw-r--r--data/templates/default.dzslides5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index c0ef7cad7..2e0b50b52 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -14,8 +14,9 @@ $endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
code{white-space: pre-wrap;}
- .smallcaps{font-variant: small-caps;}
- .column{display: inline-block;}
+ span.smallcaps{font-variant: small-caps;}
+ div.line-block{white-space: pre-line;}
+ div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
q { quotes: "“" "”" "‘" "’"; }
$endif$