CSS: no background color when printing
authorRalf Jung <post@ralfj.de>
Fri, 6 Apr 2018 11:09:47 +0000 (13:09 +0200)
committerRalf Jung <post@ralfj.de>
Fri, 6 Apr 2018 11:09:47 +0000 (13:09 +0200)
personal/_sass/_layout.scss

index 299869f088dc67f336116199cbd92be3fdd6a58e..a4c47385c1395b361d85bd8fb9b02d234617662f 100644 (file)
@@ -138,6 +138,9 @@ body { /* This centers us in the page, and handles the "too wide" case */
 
 /* Printing */
 @media print {
+    body {
+        background-color: white;
+    }
     body, #-frame, #-content {
         margin: 0;
         padding: 0;