diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-02 20:55:29 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-02 20:57:05 -0700 |
commit | 642d603666521157d386e2a87bfdcca11d479b87 (patch) | |
tree | 2f2fef655397cfce54049cfa0c20c02a95a888e6 /test/s5-inserts.html | |
parent | 52826881262532db9b0c9ce70f097d4ae844a39b (diff) | |
download | pandoc-642d603666521157d386e2a87bfdcca11d479b87.tar.gz |
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 'test/s5-inserts.html')
-rw-r--r-- | test/s5-inserts.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/s5-inserts.html b/test/s5-inserts.html index a3c3a7886..f21365c64 100644 --- a/test/s5-inserts.html +++ b/test/s5-inserts.html @@ -10,9 +10,9 @@ <title>My S5 Document</title> <style type="text/css"> code{white-space: pre-wrap;} - .smallcaps{font-variant: small-caps;} - .line-block{white-space: pre-line;} - .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%;} </style> <link rel="stylesheet" href="main.css" type="text/css" /> STUFF INSERTED |