summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-05-07 17:23:14 +0200
committerAhmed Abdelhalim <[email protected]>2021-05-07 17:23:14 +0200
commit53a05dabac3071bb0f8414e665de210310f37cff (patch)
treeb9e7bfa55c1e0b3e70cd4308ef52d3f2d0c786f2 /app
parentd7a2fd65bcafd536b36e70203eedc9fa7f54f8ba (diff)
Add a footer disclaimer for the PDF
Diffstat (limited to 'app')
-rw-r--r--app/assets/index.html2
-rw-r--r--app/print.styl17
2 files changed, 18 insertions, 1 deletions
diff --git a/app/assets/index.html b/app/assets/index.html
index 8e9856a..4006faa 100644
--- a/app/assets/index.html
+++ b/app/assets/index.html
@@ -248,5 +248,7 @@
</article>
</article>
</main>
+ <footer>
+ </footer>
</body>
</html>
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"
+}