From e752fadac03ce5c304cc7dd74f2d6c4c8ba457ea Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Sun, 19 Apr 2015 12:28:51 -0300 Subject: [PATCH] CSS compatible with different versions of Pandoc --- css/swc.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/css/swc.css b/css/swc.css index cdd9c63..e032f1b 100644 --- a/css/swc.css +++ b/css/swc.css @@ -57,6 +57,22 @@ class. */ padding-right: 10px; } +/* Make the CSS compatible with Pandoc <= 1.13.2 and Pandoc > 1.14. */ +h1.panel, +h2.panel, +h3.panel, +h4.panel, +h5.panel, +h6.panel { + margin-top: 0px; + margin-bottom: 0px; + border: 0px; + color: inherit; + background-color: inherit; + background-image: inherit; + box-shadow: none; +} + /* Comments in code. */ .comment { color: purple;