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