Ver código fonte

Maywood: migrate theme specific stylesheets

Andrés 5 anos atrás
pai
commit
5ff1c17948
2 arquivos alterados com 4 adições e 2 exclusões
  1. 2 1
      maywood/sass/_extra-child-theme.scss
  2. 2 1
      maywood/sass/print.scss

+ 2 - 1
maywood/sass/_extra-child-theme.scss

@@ -338,7 +338,8 @@ a {
 .widget_links li,
 .widget_jp_blogs_i_follow li,
 .widget_rss_links li {
-	font-family: inherit;
+	font-family: inherit; // for browsers without CSS custom properties support
+	font-family: var( --font-base, inherit );
 }
 
 /**

+ 2 - 1
maywood/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 CSS custom properties support
+    font: 13pt var( --font-base, 'Georgia, "Times New Roman", Times, serif' );
     line-height: 1.3;
     background: #fff !important;
     color: #000;