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