nasg/templates/style-print.css

89 lines
1.2 KiB
CSS
Raw Normal View History

2018-06-21 10:23:45 +01:00
* {
background-color: #fff !important;
color: #222;
2018-06-21 10:23:45 +01:00
}
html, body {
2019-01-05 11:56:12 +00:00
font-size: 10pt !important;
font-family: Helvetica, sans-serif !important;
2018-06-21 10:23:45 +01:00
}
@page {
margin: 0.6in 0.5in;
2018-06-21 10:23:45 +01:00
}
.limit,
body > section {
max-width: 100% !important;
margin: 0 !important;
2018-06-21 10:23:45 +01:00
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
2018-06-21 10:23:45 +01:00
}
h3,
a,
2019-01-05 11:56:12 +00:00
.footnotes a,
2018-06-21 10:23:45 +01:00
.h-feed .h-entry,
code,
pre {
border: none;
2018-06-21 10:23:45 +01:00
}
p, li, blockquote, figure, .footnotes {
page-break-inside: avoid !important;
2018-06-21 10:23:45 +01:00
}
a {
color: #000;
2018-06-21 10:23:45 +01:00
}
td, th {
border: 1pt solid #666;
2018-06-21 10:23:45 +01:00
}
2019-01-05 11:56:12 +00:00
.footnotes a {
display: block;
overflow: visible;
white-space: normal;
2019-01-05 11:56:12 +00:00
overflow:visible !important;
text-overflow:initial !important;
}
.footnote-back {
display: none;
}
body > header,
body > footer,
2018-06-21 10:23:45 +01:00
video,
audio,
.footnote-backref,
.footnote-back,
2019-01-05 11:56:12 +00:00
.encourage,
2018-06-21 10:23:45 +01:00
.noprint {
display:none !important;
2018-06-21 10:23:45 +01:00
}
code, pre {
max-width: 96%;
page-break-inside: auto;
2018-06-21 10:23:45 +01:00
font-family: "Courier", "Courier New", monospace !important;
}
pre {
border: 1pt dotted #666;
padding: 0.6em;
2018-06-21 10:23:45 +01:00
}
.adaptimg {
max-height: 35vh;
max-width: 90vw;
outline: none;
border: 1px solid #000;
2018-06-21 10:23:45 +01:00
}
.h-feed .h-entry {
page-break-after: always;
2019-01-05 11:56:12 +00:00
}