From 5760cd850fd36ab483dceb5bfc78928d36ccee63 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 2 Nov 2020 10:19:53 -0800 Subject: Default CSS tweaks. These changes restore the 20px font size while increasing readibility by reducing line width. (The number of words per line is now similar to that of pandoc's default LaTeX/PDF output.) With the narrower lines, we also need less interline and interparagraph space, so the content becomes more compact and skimmable: - Change default font size back to 20px. - Set font-size for print media to 12pt. - Reduce interline space. - Reduce interparagraph space. - Reduce line width. - Remove the special `line-height: 1` for table cells, which I had suggested but which now seems a mistake. - Remove the special line-height for pre. - Ensure that there is a bit more space before a heading than after. - Slightly reduced space after title header. --- test/writer.html5 | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'test/writer.html5') diff --git a/test/writer.html5 b/test/writer.html5 index b5e65a4d7..cb9333efa 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -10,15 +10,15 @@ Pandoc Test Suite