From 0cbdbbad7f91735922a3112622432d9d74b494ac Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 23 Jan 2025 22:47:57 +0000 Subject: Improved printing styles: adding backgrounds and text colors, customizing tables and links --- src/scss/_print.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/scss/_print.scss b/src/scss/_print.scss index 639faa6..ac6f211 100644 --- a/src/scss/_print.scss +++ b/src/scss/_print.scss @@ -1,5 +1,7 @@ @media print { body { + background: #fff; + color: #000; padding: 0; } @@ -18,4 +20,25 @@ img { max-width: 500px; } + + * { + background: none; + border-color: #000; + color: #000; + } + + a { + color: #000; + text-decoration: underline; + } + + table { + border: 1px solid #000; + } + + th, + td { + background: none; + border: 1px solid #000; + } } -- cgit v1.2.3