Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame^] | 1 | /* Default Print Stylesheet Template |
| 2 | by Rob Glazebrook of CSSnewbie.com |
| 3 | Last Updated: June 4, 2008 |
| 4 | |
| 5 | Feel free (nay, compelled) to edit, append, and |
| 6 | manipulate this file as you see fit. */ |
| 7 | |
| 8 | @media print { |
| 9 | html:not(.print-pdf) { |
| 10 | |
| 11 | background: #fff; |
| 12 | width: auto; |
| 13 | height: auto; |
| 14 | overflow: visible; |
| 15 | |
| 16 | body { |
| 17 | background: #fff; |
| 18 | font-size: 20pt; |
| 19 | width: auto; |
| 20 | height: auto; |
| 21 | border: 0; |
| 22 | margin: 0 5%; |
| 23 | padding: 0; |
| 24 | overflow: visible; |
| 25 | float: none !important; |
| 26 | } |
| 27 | |
| 28 | .nestedarrow, |
| 29 | .controls, |
| 30 | .fork-reveal, |
| 31 | .share-reveal, |
| 32 | .state-background, |
| 33 | .reveal .progress, |
| 34 | .reveal .backgrounds, |
| 35 | .reveal .slide-number { |
| 36 | display: none !important; |
| 37 | } |
| 38 | |
| 39 | body, p, td, li { |
| 40 | font-size: 20pt!important; |
| 41 | color: #000; |
| 42 | } |
| 43 | |
| 44 | h1,h2,h3,h4,h5,h6 { |
| 45 | color: #000!important; |
| 46 | height: auto; |
| 47 | line-height: normal; |
| 48 | text-align: left; |
| 49 | letter-spacing: normal; |
| 50 | } |
| 51 | |
| 52 | /* Need to reduce the size of the fonts for printing */ |
| 53 | h1 { font-size: 28pt !important; } |
| 54 | h2 { font-size: 24pt !important; } |
| 55 | h3 { font-size: 22pt !important; } |
| 56 | h4 { font-size: 22pt !important; font-variant: small-caps; } |
| 57 | h5 { font-size: 21pt !important; } |
| 58 | h6 { font-size: 20pt !important; font-style: italic; } |
| 59 | |
| 60 | a:link, |
| 61 | a:visited { |
| 62 | color: #000 !important; |
| 63 | font-weight: bold; |
| 64 | text-decoration: underline; |
| 65 | } |
| 66 | |
| 67 | ul, ol, div, p { |
| 68 | visibility: visible; |
| 69 | position: static; |
| 70 | width: auto; |
| 71 | height: auto; |
| 72 | display: block; |
| 73 | overflow: visible; |
| 74 | margin: 0; |
| 75 | text-align: left !important; |
| 76 | } |
| 77 | .reveal pre, |
| 78 | .reveal table { |
| 79 | margin-left: 0; |
| 80 | margin-right: 0; |
| 81 | } |
| 82 | .reveal pre code { |
| 83 | padding: 20px; |
| 84 | } |
| 85 | .reveal blockquote { |
| 86 | margin: 20px 0; |
| 87 | } |
| 88 | .reveal .slides { |
| 89 | position: static !important; |
| 90 | width: auto !important; |
| 91 | height: auto !important; |
| 92 | |
| 93 | left: 0 !important; |
| 94 | top: 0 !important; |
| 95 | margin-left: 0 !important; |
| 96 | margin-top: 0 !important; |
| 97 | padding: 0 !important; |
| 98 | zoom: 1 !important; |
| 99 | transform: none !important; |
| 100 | |
| 101 | overflow: visible !important; |
| 102 | display: block !important; |
| 103 | |
| 104 | text-align: left !important; |
| 105 | perspective: none; |
| 106 | |
| 107 | perspective-origin: 50% 50%; |
| 108 | } |
| 109 | .reveal .slides section { |
| 110 | visibility: visible !important; |
| 111 | position: static !important; |
| 112 | width: auto !important; |
| 113 | height: auto !important; |
| 114 | display: block !important; |
| 115 | overflow: visible !important; |
| 116 | |
| 117 | left: 0 !important; |
| 118 | top: 0 !important; |
| 119 | margin-left: 0 !important; |
| 120 | margin-top: 0 !important; |
| 121 | padding: 60px 20px !important; |
| 122 | z-index: auto !important; |
| 123 | |
| 124 | opacity: 1 !important; |
| 125 | |
| 126 | page-break-after: always !important; |
| 127 | |
| 128 | transform-style: flat !important; |
| 129 | transform: none !important; |
| 130 | transition: none !important; |
| 131 | } |
| 132 | .reveal .slides section.stack { |
| 133 | padding: 0 !important; |
| 134 | } |
| 135 | .reveal section:last-of-type { |
| 136 | page-break-after: avoid !important; |
| 137 | } |
| 138 | .reveal section .fragment { |
| 139 | opacity: 1 !important; |
| 140 | visibility: visible !important; |
| 141 | |
| 142 | transform: none !important; |
| 143 | } |
| 144 | .reveal section img { |
| 145 | display: block; |
| 146 | margin: 15px 0px; |
| 147 | background: rgba(255,255,255,1); |
| 148 | border: 1px solid #666; |
| 149 | box-shadow: none; |
| 150 | } |
| 151 | |
| 152 | .reveal section small { |
| 153 | font-size: 0.8em; |
| 154 | } |
| 155 | |
| 156 | .reveal .hljs { |
| 157 | max-height: 100%; |
| 158 | white-space: pre-wrap; |
| 159 | word-wrap: break-word; |
| 160 | word-break: break-word; |
| 161 | font-size: 15pt; |
| 162 | } |
| 163 | |
| 164 | .reveal .hljs .hljs-ln-numbers { |
| 165 | white-space: nowrap; |
| 166 | } |
| 167 | |
| 168 | .reveal .hljs td { |
| 169 | font-size: inherit !important; |
| 170 | color: inherit !important; |
| 171 | } |
| 172 | } |
| 173 | } |