From e22611b3b0289d081c54ba023cc9b324b34a5079 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Mon, 11 Apr 2022 11:05:39 -0700 Subject: [PATCH] lf_report.py: makes header more consistent with ScriptReport.java - removes hard coded spacing using BRs - corrects h4 styling - report.css styling will allow three rows of H1 before shoving date out of the header Signed-off-by: Jed Reynolds --- py-scripts/artifacts/report.css | 17 ++++++++++++++++- py-scripts/lf_report.py | 8 ++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/py-scripts/artifacts/report.css b/py-scripts/artifacts/report.css index 7559e281..cfb0e54a 100644 --- a/py-scripts/artifacts/report.css +++ b/py-scripts/artifacts/report.css @@ -23,6 +23,7 @@ h1 { font-size: 30px;} h2 { font-size: 24px;} h3 { font-size: 18px;} h4 { font-size: 14px;} + li,pre,tt { text-align: left; } @@ -322,7 +323,7 @@ li { margin-right: auto; margin-top: 0.5em; margin-bottom: 0.2em; - font-size: 50px; + /* font-size: 50px; Let h1 control */ padding-top: 20px; padding-left: 20px; color: darkgreen; @@ -343,6 +344,20 @@ li { .TableFont {} .TableBorder {} .ImgStyle {} +div.HeaderStyle>h1.TitleFontPrint { + font-size: 50px; + height: 150px; + max-height: 160px; +} +div.HeaderStyle>h3.TitleFontPrintSub { + padding-top: 5px; + font-size: 30px; +} +div.HeaderStyle>h4.TitleFontPrintSub { + padding-top: 5px; + font-size: 18px; +} + div.Section h1, div.Section h2 { margin: 0 0 0 0em; } diff --git a/py-scripts/lf_report.py b/py-scripts/lf_report.py index 779ef240..f06b9702 100755 --- a/py-scripts/lf_report.py +++ b/py-scripts/lf_report.py @@ -390,12 +390,10 @@ class lf_report:
@@ -417,12 +415,10 @@ class lf_report:
-
-

{title}

-

{date}

+

{date}