Update print.css

- Text within the pre element is now printed completely by line break
This commit is contained in:
Frank Hochmuth 2023-11-18 14:29:04 +01:00 committed by GitHub
parent 4122cfa13a
commit cfc7fa2d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,14 +10,14 @@ Module: print.css
*/ */
body { body {
color: #333; color: #333;
background-color: transparent background-color: transparent
} }
a { a {
color: #333; color: #333;
background-color: transparent; background-color: transparent;
text-decoration: none text-decoration: none
} }
h1 { font-size: 130% } h1 { font-size: 130% }
@ -39,9 +39,9 @@ h4 { font-size: 100% }
.navigation { display: none } .navigation { display: none }
.entry-footer { .entry-footer {
clear: both; clear: both;
font-size: 80%; font-size: 80%;
margin: 2em 0 3em 0 margin: 2em 0 3em 0
} }
blockquote { blockquote {
@ -55,17 +55,18 @@ blockquote {
} }
pre { pre {
clear: both; clear: both;
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
padding: 0.5em; padding: 0.5em;
width: 90%; width: 90%;
color: #333; color: #333;
background-color: #eee; background-color: #eee;
font-size: 70%; font-size: 70%;
border: 1px dotted #333; border: 1px dotted #333;
white-space: pre-line; overflow: auto;
overflow: auto; text-overflow: ellipsis;
text-overflow: ellipsis white-space: pre-wrap;
word-break: break-all
} }
.link-comments { display: none } .link-comments { display: none }