|
@@ -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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|