From 642d603666521157d386e2a87bfdcca11d479b87 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 2 Nov 2017 20:55:29 -0700 Subject: 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. --- data/templates/default.dzslides | 5 +++-- data/templates/default.epub2 | 5 +++-- data/templates/default.epub3 | 5 +++-- data/templates/default.html4 | 6 +++--- data/templates/default.html5 | 6 +++--- data/templates/default.revealjs | 6 +++--- data/templates/default.s5 | 6 +++--- data/templates/default.slideous | 6 +++--- data/templates/default.slidy | 6 +++--- src/Text/Pandoc/Writers/HTML.hs | 7 ++----- test/command/1710.md | 6 +++--- test/lhs-test.html | 6 +++--- test/lhs-test.html+lhs | 6 +++--- test/s5-basic.html | 6 +++--- test/s5-fancy.html | 6 +++--- test/s5-inserts.html | 6 +++--- test/writer.html4 | 6 +++--- test/writer.html5 | 6 +++--- 18 files changed, 53 insertions(+), 53 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$ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ diff --git a/test/s5-fancy.html b/test/s5-fancy.html index 386ae6dbd..57ac6cac9 100644 --- a/test/s5-fancy.html +++ b/test/s5-fancy.html @@ -12,9 +12,9 @@ My S5 Document 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 @@ My S5 Document STUFF INSERTED diff --git a/test/writer.html4 b/test/writer.html4 index 51751170a..c002311b3 100644 --- a/test/writer.html4 +++ b/test/writer.html4 @@ -10,9 +10,9 @@ Pandoc Test Suite diff --git a/test/writer.html5 b/test/writer.html5 index db2317be1..e8e10f995 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -10,9 +10,9 @@ Pandoc Test Suite