From 3d065a9c8e11bf1164a6afeda95215c98952cb7e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 15 Feb 2022 13:34:07 +0100 Subject: cleanup template css Remove unused css and introduce line breaks for better readability. --- html/template.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'html') diff --git a/html/template.html b/html/template.html index 6edfbda8..f79e1711 100644 --- a/html/template.html +++ b/html/template.html @@ -108,14 +108,6 @@ $if(monobackgroundcolor)$ $endif$ overflow: auto; } -pre code { - padding: 0; - overflow: visible; -} -.sourceCode { - background-color: transparent; - overflow: visible; -} hr { background-color: #1a1a1a; border: none; @@ -156,21 +148,26 @@ header { text-decoration: none; } $endif$ + code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} + $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ + $if(highlighting-css)$ $highlighting-css$ $endif$ + $if(displaymath-css)$ .display.math{display: block; text-align: center; margin: 0.5rem auto;} $endif$ + $if(csl-css)$ div.csl-bib-body { } div.csl-entry { -- cgit v1.2.3