|
@@ -1,4 +1,3 @@
|
|
-/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
|
|
|
|
/*
|
|
/*
|
|
Theme Name: Calm (Twenty Nineteen)
|
|
Theme Name: Calm (Twenty Nineteen)
|
|
|
|
|
|
@@ -18,16 +17,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
/* Margins */
|
|
/* Margins */
|
|
@page {
|
|
@page {
|
|
margin: 2cm;
|
|
margin: 2cm;
|
|
-}
|
|
|
|
-
|
|
|
|
|
|
+ }
|
|
.entry {
|
|
.entry {
|
|
margin-top: 1em;
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
-
|
|
|
|
.entry .entry-header, .site-footer .site-info {
|
|
.entry .entry-header, .site-footer .site-info {
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Fonts */
|
|
/* Fonts */
|
|
body {
|
|
body {
|
|
font: 13pt Georgia, "Times New Roman", Times, serif;
|
|
font: 13pt Georgia, "Times New Roman", Times, serif;
|
|
@@ -35,11 +31,9 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
background: #fff !important;
|
|
background: #fff !important;
|
|
color: #000;
|
|
color: #000;
|
|
}
|
|
}
|
|
-
|
|
|
|
h1 {
|
|
h1 {
|
|
font-size: 24pt;
|
|
font-size: 24pt;
|
|
}
|
|
}
|
|
-
|
|
|
|
h2,
|
|
h2,
|
|
h3,
|
|
h3,
|
|
h4,
|
|
h4,
|
|
@@ -51,16 +45,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
font-size: 14pt;
|
|
font-size: 14pt;
|
|
margin-top: 25px;
|
|
margin-top: 25px;
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Page breaks */
|
|
/* Page breaks */
|
|
a {
|
|
a {
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
blockquote {
|
|
blockquote {
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
h1,
|
|
h1,
|
|
h2,
|
|
h2,
|
|
h3,
|
|
h3,
|
|
@@ -70,20 +61,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
page-break-after: avoid;
|
|
page-break-after: avoid;
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
img {
|
|
img {
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
page-break-after: avoid;
|
|
page-break-after: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
table, pre {
|
|
table, pre {
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
ul, ol, dl {
|
|
ul, ol, dl {
|
|
page-break-before: avoid;
|
|
page-break-before: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Links */
|
|
/* Links */
|
|
a:link, a:visited, a {
|
|
a:link, a:visited, a {
|
|
background: transparent;
|
|
background: transparent;
|
|
@@ -91,27 +78,21 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
text-align: left;
|
|
text-align: left;
|
|
}
|
|
}
|
|
-
|
|
|
|
a {
|
|
a {
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-
|
|
|
|
a[href^=http]:after {
|
|
a[href^=http]:after {
|
|
content: " < " attr(href) "> ";
|
|
content: " < " attr(href) "> ";
|
|
}
|
|
}
|
|
-
|
|
|
|
a:after > img {
|
|
a:after > img {
|
|
content: "";
|
|
content: "";
|
|
}
|
|
}
|
|
-
|
|
|
|
article a[href^="#"]:after {
|
|
article a[href^="#"]:after {
|
|
content: "";
|
|
content: "";
|
|
}
|
|
}
|
|
-
|
|
|
|
a:not(:local-link):after {
|
|
a:not(:local-link):after {
|
|
content: " < " attr(href) "> ";
|
|
content: " < " attr(href) "> ";
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Visibility */
|
|
/* Visibility */
|
|
.main-navigation,
|
|
.main-navigation,
|
|
.site-title + .main-navigation,
|
|
.site-title + .main-navigation,
|
|
@@ -127,13 +108,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
.comment .comment-metadata .edit-link {
|
|
.comment .comment-metadata .edit-link {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
.entry .entry-content .wp-block-button .wp-block-button__link,
|
|
.entry .entry-content .wp-block-button .wp-block-button__link,
|
|
.entry .entry-content .button {
|
|
.entry .entry-content .button {
|
|
color: #000;
|
|
color: #000;
|
|
background: none;
|
|
background: none;
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Site Header (With Featured Image) */
|
|
/* Site Header (With Featured Image) */
|
|
.site-header.featured-image {
|
|
.site-header.featured-image {
|
|
min-height: 0;
|
|
min-height: 0;
|
|
@@ -150,7 +129,8 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
.site-header.featured-image .main-navigation li,
|
|
.site-header.featured-image .main-navigation li,
|
|
.site-header.featured-image .social-navigation li,
|
|
.site-header.featured-image .social-navigation li,
|
|
.site-header.featured-image .entry-meta,
|
|
.site-header.featured-image .entry-meta,
|
|
- .site-header.featured-image .entry-title, .site-header.featured-image#masthead .site-title a {
|
|
|
|
|
|
+ .site-header.featured-image .entry-title,
|
|
|
|
+ .site-header.featured-image#masthead .site-title a {
|
|
color: #000;
|
|
color: #000;
|
|
text-shadow: none;
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
@@ -163,13 +143,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
|
position: relative;
|
|
position: relative;
|
|
height: initial;
|
|
height: initial;
|
|
width: initial;
|
|
width: initial;
|
|
- object-fit: none;
|
|
|
|
|
|
+ -o-object-fit: none;
|
|
|
|
+ object-fit: none;
|
|
min-width: 0;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
min-height: 0;
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
margin-top: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
-
|
|
|
|
/* Remove image filters from featured image */
|
|
/* Remove image filters from featured image */
|
|
.image-filters-enabled *:after {
|
|
.image-filters-enabled *:after {
|
|
display: none !important;
|
|
display: none !important;
|