ghwikipp: css: print: fix font-size + do not display header & footer + do not display a:visited links differently

From ebf95915b27e5845b17039a4822a7b8694cf2879 Mon Sep 17 00:00:00 2001
From: Nicolas Allemand <[EMAIL REDACTED]>
Date: Sun, 5 May 2024 09:03:29 +0200
Subject: [PATCH] css: print: fix font-size + do not display header & footer +
 do not display a:visited links differently

---
 static_files/ghwikipp.css | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/static_files/ghwikipp.css b/static_files/ghwikipp.css
index 4897fdd..ca4af0d 100644
--- a/static_files/ghwikipp.css
+++ b/static_files/ghwikipp.css
@@ -167,3 +167,23 @@ hr {
     filter: invert(100%);
   }
 }
+
+@media print {
+  body {
+    font-size: 12px;
+  }
+
+  table {
+    font-size: inherit;
+  }
+
+  a:visited {
+    color: #0969da;
+  }
+
+  .wikitopbanner,
+  .anchorText,
+  .wikibottombanner {
+    display: none;
+  }
+}