From 53a05dabac3071bb0f8414e665de210310f37cff Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 7 May 2021 17:23:14 +0200 Subject: Add a footer disclaimer for the PDF --- app/print.styl | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'app/print.styl') diff --git a/app/print.styl b/app/print.styl index bc681ca..bd528d6 100644 --- a/app/print.styl +++ b/app/print.styl @@ -1,5 +1,8 @@ @page { - margin: 1cm 1.5cm + margin-left: 1cm + margin-right: 1cm + margin-top: 1.5cm + margin-bottom: 0.3cm } body { @@ -94,3 +97,15 @@ article { } } } + +footer { + display: block + position: fixed + bottom: 0; + font-size: 7pt +} + +footer:after { + color: #F7F7F7 + content: "Disclaimer: This PDF has been generated using browsesr's save to pdf feature on a14m.me" +} -- cgit v1.2.3