Dalston: print - fonts should be passed as different values

This commit is contained in:
Andrés 2019-10-15 18:36:29 +02:00
parent 6c58d62e99
commit 3515a551ec
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
/* Fonts */ /* Fonts */
body { body {
font: 13pt Georgia, "Times New Roman", Times, serif; font: 13pt Georgia, "Times New Roman", Times, serif;
font: 13pt var(--font-base, 'Georgia, "Times New Roman", Times, serif'); font: 13pt var(--font-base, Georgia, "Times New Roman", Times, serif);
line-height: 1.3; line-height: 1.3;
background: #fff !important; background: #fff !important;
color: #000; color: #000;

View file

@ -34,8 +34,8 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
/* Fonts */ /* Fonts */
body { body {
font: 13pt Georgia, "Times New Roman", Times, serif; font: 13pt Georgia, "Times New Roman", Times, serif; // For browsers without CSS custom properties support.
font: 13pt var( --font-base, 'Georgia, "Times New Roman", Times, serif' ); font: 13pt var( --font-base, Georgia, "Times New Roman", Times, serif );
line-height: 1.3; line-height: 1.3;
background: #fff !important; background: #fff !important;
color: #000; color: #000;