From 4ce683308539521ca643b0db0a56945e86810f57 Mon Sep 17 00:00:00 2001 From: saolof Date: Fri, 3 Feb 2023 23:33:11 +0100 Subject: [PATCH] Define a font stack in report --- data/report_templates.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/report_templates.sql b/data/report_templates.sql index 877041c..9fbe109 100644 --- a/data/report_templates.sql +++ b/data/report_templates.sql @@ -3,8 +3,9 @@ INSERT INTO report_static(static_name, static_text) VALUES ('css1', + '* {font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;} ' 'table, th, td {border: 1px solid black; border-collapse: collapse; padding:4px;} ' - 'table tr td.value, table tr td.mono {font-family: Monospace;} ' + 'table tr td.value, table tr td.mono {font-family: consolas, monaco, Monospace;} ' 'table tr td.value {text-align: right;} ' 'table p {margin: 0.2em;}' 'table tr.parent td:not(.hdr) {background-color: #D8E8C2;} ' @@ -34,8 +35,9 @@ VALUES '

Report sections

' '{report:toc}{report:sect}'), ('css2', + '* {font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;} ' 'table, th, td {border: 1px solid black; border-collapse: collapse; padding: 4px;} ' - 'table .value, table .mono {font-family: Monospace;} ' + 'table .value, table .mono {font-family: consolas, monaco, Monospace;} ' 'table .value {text-align: right;} ' 'table p {margin: 0.2em;}' '.int1 td:not(.hdr), td.int1 {background-color: #FFEEEE;} '