all repos — nasg @ 0f7eb328c0056a5f5bdb9fb1725884608ab04668

templates/style-print.css (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
* {
    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;
}