Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/twentytw...
File: print.css
@charset "UTF-8";
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
Theme Name: Twenty Twenty
[3] Fix | Delete
Adding print support. The print styles are based on the the great work of
[4] Fix | Delete
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/*--------------------------------------------------------------
[8] Fix | Delete
>>> TABLE OF CONTENTS:
[9] Fix | Delete
----------------------------------------------------------------
[10] Fix | Delete
# Margins
[11] Fix | Delete
# Paddings
[12] Fix | Delete
# Width
[13] Fix | Delete
# Typography
[14] Fix | Delete
# Page breaks
[15] Fix | Delete
# Links
[16] Fix | Delete
# Visibility
[17] Fix | Delete
--------------------------------------------------------------*/
[18] Fix | Delete
@media print {
[19] Fix | Delete
[20] Fix | Delete
/* Margins */
[21] Fix | Delete
[22] Fix | Delete
@page {
[23] Fix | Delete
margin: 2cm;
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
.entry-header,
[27] Fix | Delete
.site-footer {
[28] Fix | Delete
margin: 0;
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
/* Paddings */
[32] Fix | Delete
[33] Fix | Delete
.posts {
[34] Fix | Delete
padding: 0;
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
/* Width */
[38] Fix | Delete
[39] Fix | Delete
.entry-content,
[40] Fix | Delete
.entry-content p,
[41] Fix | Delete
.section-inner,
[42] Fix | Delete
.section-inner.max-percentage,
[43] Fix | Delete
.section-inner.medium,
[44] Fix | Delete
.section-inner.small,
[45] Fix | Delete
.section-inner.thin {
[46] Fix | Delete
max-width: 100%;
[47] Fix | Delete
width: 100%;
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
/* Fonts */
[51] Fix | Delete
[52] Fix | Delete
body {
[53] Fix | Delete
background: #fff !important;
[54] Fix | Delete
color: #000;
[55] Fix | Delete
font: 13pt Georgia, "Times New Roman", Times, serif;
[56] Fix | Delete
line-height: 1.3;
[57] Fix | Delete
}
[58] Fix | Delete
[59] Fix | Delete
h1 {
[60] Fix | Delete
font-size: 20pt;
[61] Fix | Delete
}
[62] Fix | Delete
[63] Fix | Delete
h2,
[64] Fix | Delete
h2.entry-title,
[65] Fix | Delete
h3,
[66] Fix | Delete
h4,
[67] Fix | Delete
.has-normal-font-size,
[68] Fix | Delete
.has-regular-font-size,
[69] Fix | Delete
.has-large-font-size,
[70] Fix | Delete
.comments-header {
[71] Fix | Delete
font-size: 14pt;
[72] Fix | Delete
margin-top: 1cm;
[73] Fix | Delete
}
[74] Fix | Delete
[75] Fix | Delete
/* Page breaks */
[76] Fix | Delete
[77] Fix | Delete
a {
[78] Fix | Delete
page-break-inside: avoid;
[79] Fix | Delete
}
[80] Fix | Delete
[81] Fix | Delete
blockquote {
[82] Fix | Delete
page-break-inside: avoid;
[83] Fix | Delete
}
[84] Fix | Delete
[85] Fix | Delete
h1,
[86] Fix | Delete
h2,
[87] Fix | Delete
h3,
[88] Fix | Delete
h4,
[89] Fix | Delete
h5,
[90] Fix | Delete
h6 {
[91] Fix | Delete
page-break-after: avoid;
[92] Fix | Delete
page-break-inside: avoid;
[93] Fix | Delete
}
[94] Fix | Delete
[95] Fix | Delete
img {
[96] Fix | Delete
page-break-inside: avoid;
[97] Fix | Delete
page-break-after: avoid;
[98] Fix | Delete
}
[99] Fix | Delete
[100] Fix | Delete
table,
[101] Fix | Delete
pre {
[102] Fix | Delete
page-break-inside: avoid;
[103] Fix | Delete
}
[104] Fix | Delete
[105] Fix | Delete
ul,
[106] Fix | Delete
ol,
[107] Fix | Delete
dl {
[108] Fix | Delete
page-break-before: avoid;
[109] Fix | Delete
}
[110] Fix | Delete
[111] Fix | Delete
/* Links */
[112] Fix | Delete
[113] Fix | Delete
a:link,
[114] Fix | Delete
a:visited,
[115] Fix | Delete
a {
[116] Fix | Delete
background: transparent;
[117] Fix | Delete
font-weight: bold;
[118] Fix | Delete
text-decoration: underline;
[119] Fix | Delete
}
[120] Fix | Delete
[121] Fix | Delete
a {
[122] Fix | Delete
page-break-inside: avoid;
[123] Fix | Delete
}
[124] Fix | Delete
[125] Fix | Delete
a[href^="http"]:after {
[126] Fix | Delete
content: " < " attr(href) "> ";
[127] Fix | Delete
}
[128] Fix | Delete
[129] Fix | Delete
a:after > img {
[130] Fix | Delete
content: "";
[131] Fix | Delete
}
[132] Fix | Delete
[133] Fix | Delete
article a[href^="#"]:after {
[134] Fix | Delete
content: "";
[135] Fix | Delete
}
[136] Fix | Delete
[137] Fix | Delete
a:not(:local-link):after {
[138] Fix | Delete
content: " < " attr(href) "> ";
[139] Fix | Delete
}
[140] Fix | Delete
[141] Fix | Delete
/* Visibility */
[142] Fix | Delete
[143] Fix | Delete
#site-header,
[144] Fix | Delete
.comment-form,
[145] Fix | Delete
.comments-wrapper,
[146] Fix | Delete
.comment .comment-metadata,
[147] Fix | Delete
.footer-social-wrapper,
[148] Fix | Delete
.footer-widgets-outer-wrapper,
[149] Fix | Delete
.header-navigation-wrapper,
[150] Fix | Delete
.pagination-wrapper,
[151] Fix | Delete
.post-meta-wrapper.post-meta-single-bottom,
[152] Fix | Delete
.post-separator,
[153] Fix | Delete
.site-logo img {
[154] Fix | Delete
display: none;
[155] Fix | Delete
}
[156] Fix | Delete
[157] Fix | Delete
.entry-content .wp-block-button .wp-block-button__link,
[158] Fix | Delete
.entry-content .wp-block-button .wp-block-file__button,
[159] Fix | Delete
.entry-content .button {
[160] Fix | Delete
background: none;
[161] Fix | Delete
color: #000;
[162] Fix | Delete
}
[163] Fix | Delete
}
[164] Fix | Delete
[165] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function