aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-01-24 01:47:57 +0300
committerValentin Popov <valentin@popov.link>2025-01-24 01:47:57 +0300
commit0cbdbbad7f91735922a3112622432d9d74b494ac (patch)
treea21bb2dadba9feff92dffbcdfe268fbb1d5435c0 /src
parent849d637880df59b07bfd6ddf2e9596100ffcc12c (diff)
downloadpopov.link-0cbdbbad7f91735922a3112622432d9d74b494ac.tar.xz
popov.link-0cbdbbad7f91735922a3112622432d9d74b494ac.zip
Improved printing styles: adding backgrounds and text colors, customizing tables and links
Diffstat (limited to 'src')
-rw-r--r--src/scss/_print.scss23
1 files changed, 23 insertions, 0 deletions
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;
+ }
}