Skip to content

Commit

Permalink
Reduce watermark opacity
Browse files Browse the repository at this point in the history
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 cisagov/trustymail_reporter#54.
  • Loading branch information
jeffkause committed Nov 17, 2023
1 parent db0a75a commit 4c40316
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/report/https_scan_report.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4c40316

Please sign in to comment.