From 4c403161704e99edf217d91b462355c46ba3aa8d Mon Sep 17 00:00:00 2001 From: jeffkause <123761330+jeffkause@users.noreply.github.com> Date: Fri, 17 Nov 2023 15:16:02 -0500 Subject: [PATCH] Reduce watermark opacity Moving the watermark information from the file header to the Table of Contents, reduces the opacity of the watermark from 100% to 10%. Followed the changes from https://github.com/cisagov/trustymail_reporter/issues/54. --- src/report/https_scan_report.mustache | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/report/https_scan_report.mustache b/src/report/https_scan_report.mustache index 024a625..fd2f3f9 100644 --- a/src/report/https_scan_report.mustache +++ b/src/report/https_scan_report.mustache @@ -93,13 +93,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% DHS Image Watermark %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage[pages=some]{background} -\backgroundsetup{ -contents={\includegraphics{assets/dhs-logo}}, -angle=0, -scale=3.0, -opacity=0.04 -} +\usepackage{background} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% URL and Link Setup @@ -343,6 +337,18 @@ opacity=0.04 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% DHS Image Watermark +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The watermarks are known to be acting a little wonky. I created +% cisagov/trustymail_reporter#54 to document this. +\backgroundsetup{ + pages=some, + contents=\includegraphics{assets/dhs-logo}, + angle=0, + scale=3.0, + opacity=0.04, +} \BgThispage %\large \tableofcontents