nasg/templates/style-print.css
2018-06-24 20:02:57 +01:00

103 lines
1.6 KiB
CSS

* {
background-color: #fff !important;
color: #222;
}
html, body {
font-size: 11pt !important;
text-shadow: unset !important;
font-family: Helvetica, sans-serif !important;
}
@page {
margin: 0.6in 0.5in;
}
.limit,
.content-body {
max-width: 100% !important;
margin: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
h3,
a,
.footnotes ol li a,
.h-feed .h-entry,
code,
pre {
border: none;
}
p, li, blockquote, figure, .footnotes {
page-break-inside: avoid !important;
}
a {
color: #000;
}
td, th {
border: 1pt solid #666;
}
.content-note,
.content-header,
.content-footer,
video,
audio,
.footnotes ol li a[href^="#"],
.footnotes ol li a[href^="#"]:after,
.exif svg,
.donation,
.noprint {
display:none;
}
.footnotes ol li a {
display: block;
overflow: visible;
white-space: normal;
}
code, pre {
max-width: 96%;
color: #222;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
overflow:initial;
page-break-inside: enabled;
font-family: "Courier", "Courier New", monospace !important;
}
pre {
border: 1pt dotted #666;
padding: 0.6em;
}
.sourceCode span { color: black; }
.sourceCode .co { color: darkgray; }
.sourceCode .ex { color: darkorange; }
.sourceCode .fu { color: darkorange; }
.sourceCode .kw { color: darkcyan; }
.sourceCode .st { color: magenta; }
.sourceCode .va { color: darkturquoise; }
figcaption {
font-size: 0.9em;
}
.adaptimg {
max-height: 35vh;
max-width: 90vw;
outline: none;
border: 1px solid #000;
}
.h-feed .h-entry {
page-break-after:always;
}