Bläddra i källkod

Merge pull request #1144 from Automattic/fix/issue-1143

Varia: Remove Invalid US-ASCII character
Takashi Irie 6 år sedan
förälder
incheckning
ef570ff7e1
3 ändrade filer med 36 tillägg och 37 borttagningar
  1. 1 2
      varia/print.css
  2. 31 31
      varia/print.scss
  3. 4 4
      varia/style-editor.css

+ 1 - 2
varia/print.css

@@ -1,4 +1,3 @@
-@charset "UTF-8";
 /*
 /*
 Theme Name: Varia
 Theme Name: Varia
 
 
@@ -9,7 +8,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
 >>> TABLE OF CONTENTS:
 >>> TABLE OF CONTENTS:
 ----------------------------------------------------------------
 ----------------------------------------------------------------
 # Margins
 # Margins
-# Typography÷
+# Typography
 # Page breaks
 # Page breaks
 # Links
 # Links
 # Visibility
 # Visibility

+ 31 - 31
varia/print.scss

@@ -9,7 +9,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
 >>> TABLE OF CONTENTS:
 >>> TABLE OF CONTENTS:
 ----------------------------------------------------------------
 ----------------------------------------------------------------
 # Margins
 # Margins
-# Typography÷
+# Typography
 # Page breaks
 # Page breaks
 # Links
 # Links
 # Visibility
 # Visibility
@@ -44,13 +44,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     font-size: 24pt;
     font-size: 24pt;
   }
   }
 
 
-  h2, 
-  h3, 
-  h4, 
-  .has-regular-font-size, 
-  .has-large-font-size, 
-  h2.author-title, 
-  p.author-bio, 
+  h2,
+  h3,
+  h4,
+  .has-regular-font-size,
+  .has-large-font-size,
+  h2.author-title,
+  p.author-bio,
   .comments-title, h3 {
   .comments-title, h3 {
     font-size: 14pt;
     font-size: 14pt;
     margin-top: 25px;
     margin-top: 25px;
@@ -66,11 +66,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     page-break-inside: avoid;
     page-break-inside: avoid;
   }
   }
 
 
-  h1, 
-  h2, 
-  h3, 
-  h4, 
-  h5, 
+  h1,
+  h2,
+  h3,
+  h4,
+  h5,
   h6 {
   h6 {
     page-break-after: avoid;
     page-break-after: avoid;
     page-break-inside: avoid
     page-break-inside: avoid
@@ -122,10 +122,10 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .main-navigation,
   .main-navigation,
   .site-title + .main-navigation,
   .site-title + .main-navigation,
   .social-navigation,
   .social-navigation,
-  .site-branding-container:before, 
-  .entry .entry-title:before, 
-  .entry-footer, 
-  .author-description:before, 
+  .site-branding-container:before,
+  .entry .entry-title:before,
+  .entry-footer,
+  .author-description:before,
   .post-navigation,
   .post-navigation,
   .widget-area,
   .widget-area,
   .comment-form-flex,
   .comment-form-flex,
@@ -143,19 +143,19 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   /* Site Header (With Featured Image) */
   /* Site Header (With Featured Image) */
   .site-header.featured-image {
   .site-header.featured-image {
     min-height: 0;
     min-height: 0;
-    
-    .main-navigation a, 
-    .main-navigation a + svg, 
-    .social-navigation a, 
-    .site-title a, 
+
+    .main-navigation a,
+    .main-navigation a + svg,
+    .social-navigation a,
+    .site-title a,
     .site-featured-image a,
     .site-featured-image a,
-    .site-branding .site-title, 
-    .site-branding .site-description, 
-    .main-navigation a:after, 
-    .main-navigation .main-menu > li.menu-item-has-children:after, 
-    .main-navigation li, 
-    .social-navigation li, 
-    .entry-meta, 
+    .site-branding .site-title,
+    .site-branding .site-description,
+    .main-navigation a:after,
+    .main-navigation .main-menu > li.menu-item-has-children:after,
+    .main-navigation li,
+    .social-navigation li,
+    .entry-meta,
     .entry-title,
     .entry-title,
     &#masthead .site-title a {
     &#masthead .site-title a {
       color: #000;
       color: #000;
@@ -179,7 +179,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
       margin-top: 1rem;
       margin-top: 1rem;
     }
     }
   }
   }
-  
+
   /* Remove image filters from featured image */
   /* Remove image filters from featured image */
   .image-filters-enabled {
   .image-filters-enabled {
 
 
@@ -195,4 +195,4 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
       filter: none;
       filter: none;
     }
     }
   }
   }
-}
+}

+ 4 - 4
varia/style-editor.css

@@ -398,6 +398,10 @@ object {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
+.a8c-posts-list {
+	padding-left: 0;
+}
+
 p.has-background {
 p.has-background {
 	padding: 16px 16px;
 	padding: 16px 16px;
 }
 }
@@ -406,10 +410,6 @@ p.has-background:not(.has-background-background-color) a {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
-.a8c-posts-list {
-	padding-left: 0;
-}
-
 .wp-block-pullquote {
 .wp-block-pullquote {
 	padding: calc( 3 * 16px) 0;
 	padding: calc( 3 * 16px) 0;
 	margin-left: 0;
 	margin-left: 0;