From fdc717c6ea2ebc7da1f9ecd8b5f59f374258b096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 5 Jun 2014 22:39:44 +0200 Subject: [PATCH] htmlreport: remove black background, make the report a bit more space efficient. --- htmlreport/cppcheck-htmlreport | 38 ++++++++++++++-------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index ce4a8fb28..a1b0e9644 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -21,10 +21,17 @@ with syntax highlighted source code. STYLE_FILE = """ body { - background-color: black; font: 13px Arial, Verdana, Sans-Serif; margin: 0; - padding: 0; + width: auto; +} + +h1 { + margin: 10px; +} + +#footer > p { + margin: 4px; } .error { @@ -42,18 +49,6 @@ body { padding: 1px; } -#page { - background-color: white; - border: 2px solid #aaa; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - margin: 10px; - overflow: auto; - padding: 5px 10px; - width: auto; -} - #header { border-bottom: thin solid #aaa; } @@ -127,7 +122,6 @@ HTML_HEAD = """ -
@@ -145,15 +139,13 @@ HTML_FOOTER = """
- """