|
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 | 1 |
|
8 | 2 | @media print {
|
9 | 3 | html:not(.print-pdf) {
|
10 |
| - |
11 |
| - background: #fff; |
| 4 | + overflow: visible; |
12 | 5 | width: auto;
|
13 | 6 | height: auto;
|
14 |
| - overflow: visible; |
15 | 7 |
|
16 | 8 | body {
|
17 |
| - background: #fff; |
18 |
| - font-size: 20pt; |
19 |
| - width: auto; |
20 |
| - height: auto; |
21 |
| - border: 0; |
22 |
| - margin: 0 5%; |
| 9 | + margin: 0; |
23 | 10 | padding: 0;
|
24 | 11 | overflow: visible;
|
25 |
| - float: none !important; |
26 | 12 | }
|
| 13 | + } |
| 14 | + |
| 15 | + html:not(.print-pdf) .reveal { |
| 16 | + background: #fff; |
| 17 | + font-size: 20pt; |
27 | 18 |
|
28 |
| - .nestedarrow, |
29 | 19 | .controls,
|
30 |
| - .fork-reveal, |
31 |
| - .share-reveal, |
32 | 20 | .state-background,
|
33 |
| - .reveal .progress, |
34 |
| - .reveal .backgrounds, |
35 |
| - .reveal .slide-number { |
| 21 | + .progress, |
| 22 | + .backgrounds, |
| 23 | + .slide-number { |
36 | 24 | display: none !important;
|
37 | 25 | }
|
38 | 26 |
|
39 |
| - body, p, td, li { |
| 27 | + p, td, li { |
40 | 28 | font-size: 20pt!important;
|
41 | 29 | color: #000;
|
42 | 30 | }
|
|
49 | 37 | letter-spacing: normal;
|
50 | 38 | }
|
51 | 39 |
|
52 |
| - /* Need to reduce the size of the fonts for printing */ |
53 | 40 | h1 { font-size: 28pt !important; }
|
54 | 41 | h2 { font-size: 24pt !important; }
|
55 | 42 | h3 { font-size: 22pt !important; }
|
|
74 | 61 | margin: 0;
|
75 | 62 | text-align: left !important;
|
76 | 63 | }
|
77 |
| - .reveal pre, |
78 |
| - .reveal table { |
| 64 | + pre, |
| 65 | + table { |
79 | 66 | margin-left: 0;
|
80 | 67 | margin-right: 0;
|
81 | 68 | }
|
82 |
| - .reveal pre code { |
| 69 | + pre code { |
83 | 70 | padding: 20px;
|
84 | 71 | }
|
85 |
| - .reveal blockquote { |
| 72 | + blockquote { |
86 | 73 | margin: 20px 0;
|
87 | 74 | }
|
88 |
| - .reveal .slides { |
| 75 | + |
| 76 | + .slides { |
89 | 77 | position: static !important;
|
90 | 78 | width: auto !important;
|
91 | 79 | height: auto !important;
|
|
106 | 94 |
|
107 | 95 | perspective-origin: 50% 50%;
|
108 | 96 | }
|
109 |
| - .reveal .slides section { |
| 97 | + .slides section { |
110 | 98 | visibility: visible !important;
|
111 | 99 | position: static !important;
|
112 | 100 | width: auto !important;
|
|
129 | 117 | transform: none !important;
|
130 | 118 | transition: none !important;
|
131 | 119 | }
|
132 |
| - .reveal .slides section.stack { |
| 120 | + .slides section.stack { |
133 | 121 | padding: 0 !important;
|
134 | 122 | }
|
135 |
| - .reveal section:last-of-type { |
| 123 | + .slides section:last-of-type { |
136 | 124 | page-break-after: avoid !important;
|
137 | 125 | }
|
138 |
| - .reveal section .fragment { |
| 126 | + .slides section .fragment { |
139 | 127 | opacity: 1 !important;
|
140 | 128 | visibility: visible !important;
|
141 | 129 |
|
142 | 130 | transform: none !important;
|
143 | 131 | }
|
144 | 132 |
|
145 |
| - .reveal .r-fit-text { |
| 133 | + .r-fit-text { |
146 | 134 | white-space: normal !important;
|
147 | 135 | }
|
148 | 136 |
|
149 |
| - .reveal section img { |
| 137 | + section img { |
150 | 138 | display: block;
|
151 | 139 | margin: 15px 0px;
|
152 | 140 | background: rgba(255,255,255,1);
|
153 | 141 | border: 1px solid #666;
|
154 | 142 | box-shadow: none;
|
155 | 143 | }
|
156 | 144 |
|
157 |
| - .reveal section small { |
| 145 | + section small { |
158 | 146 | font-size: 0.8em;
|
159 | 147 | }
|
160 | 148 |
|
161 |
| - .reveal .hljs { |
| 149 | + .hljs { |
162 | 150 | max-height: 100%;
|
163 | 151 | white-space: pre-wrap;
|
164 | 152 | word-wrap: break-word;
|
165 | 153 | word-break: break-word;
|
166 | 154 | font-size: 15pt;
|
167 | 155 | }
|
168 | 156 |
|
169 |
| - .reveal .hljs .hljs-ln-numbers { |
| 157 | + .hljs .hljs-ln-numbers { |
170 | 158 | white-space: nowrap;
|
171 | 159 | }
|
172 | 160 |
|
173 |
| - .reveal .hljs td { |
| 161 | + .hljs td { |
174 | 162 | font-size: inherit !important;
|
175 | 163 | color: inherit !important;
|
176 | 164 | }
|
|
0 commit comments