Explorar o código

Balasana: update print

Andrés %!s(int64=5) %!d(string=hai) anos
pai
achega
dee0c2fa7e
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      balasana/print.css
  2. 2 1
      balasana/sass/print.scss

+ 1 - 0
balasana/print.css

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

+ 2 - 1
balasana/sass/print.scss

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