Debian Codegraph @

inst/rmd/slidy/Slidy2/styles/slidy.css

raw symbols SCIP
1 /* slidy.css
2
3 Copyright (c) 2005-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved.
4 W3C liability, trademark, document use and software licensing
5 rules apply, see:
6
7 http://www.w3.org/Consortium/Legal/copyright-documents
8 http://www.w3.org/Consortium/Legal/copyright-software
9 */
10 body
11 {
12 margin: 0 0 0 0;
13 padding: 0 0 0 0;
14 width: 100%;
15 height: 100%;
16 color: black;
17 background-color: white;
18 font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif;
19 font-size: 14pt;
20 }
21
22 div.toolbar {
23 position: fixed; z-index: 200;
24 top: auto; bottom: 0; left: 0; right: 0;
25 height: 1.2em; text-align: right;
26 padding-left: 1em;
27 padding-right: 1em;
28 font-size: 60%;
29 color: DimGray;
30 background-color: rgb(240,240,240);
31 border-top: solid 1px rgb(180,180,180);
32 }
33
34 div.toolbar span.copyright {
35 color: DimGray;
36 margin-left: 0.5em;
37 }
38
39 div.initial_prompt {
40 position: absolute;
41 z-index: 1000;
42 bottom: 1.2em;
43 width: 100%;
44 background-color: rgb(200,200,200);
45 opacity: 0.35;
46 background-color: rgb(200,200,200, 0.35);
47 cursor: pointer;
48 }
49
50 div.initial_prompt p.help {
51 text-align: center;
52 }
53
54 div.initial_prompt p.close {
55 text-align: right;
56 font-style: italic;
57 }
58
59 div.slidy_toc {
60 position: absolute;
61 z-index: 300;
62 width: 60%;
63 max-width: 30em;
64 height: 30em;
65 overflow: auto;
66 top: auto;
67 right: auto;
68 left: 4em;
69 bottom: 4em;
70 padding: 1em;
71 background: rgb(240,240,240);
72 border-style: solid;
73 border-width: 2px;
74 font-size: 60%;
75 }
76
77 div.slidy_toc .toc_heading {
78 text-align: center;
79 width: 100%;
80 margin: 0;
81 margin-bottom: 1em;
82 border-bottom-style: solid;
83 border-bottom-color: rgb(180,180,180);
84 border-bottom-width: 1px;
85 }
86
87 div.slide {
88 z-index: 20;
89 margin: 0 0 0 0;
90 padding-top: 0;
91 padding-bottom: 0;
92 padding-left: 20px;
93 padding-right: 20px;
94 border-width: 0;
95 clear: both;
96 top: 0;
97 bottom: 0;
98 left: 0;
99 right: 0;
100 line-height: 120%;
101 background-color: transparent;
102 }
103
104 div.background {
105 display: none;
106 }
107
108 div.handout {
109 margin-left: 20px;
110 margin-right: 20px;
111 }
112
113 div.slide.titlepage {
114 text-align: center;
115 }
116
117 div.slide.titlepage h1 {
118 padding-top: 10%;
119 margin-right: 0;
120 }
121
122 div.slide h1 {
123 padding-left: 0;
124 padding-right: 20pt;
125 padding-top: 4pt;
126 padding-bottom: 4pt;
127 margin-top: 0;
128 margin-left: 0;
129 margin-right: 60pt;
130 margin-bottom: 0.5em;
131 display: block;
132 font-size: 160%;
133 line-height: 1.2em;
134 background: transparent;
135 }
136
137 @media screen and (max-device-width: 1024px)
138 {
139 div.slide { font-size: 100%; }
140 }
141
142 @media screen and (max-device-width: 800px)
143 {
144 div.slide { font-size: 200%; }
145 div.slidy_toc {
146 top: 1em;
147 left: 1em;
148 right: auto;
149 width: 80%;
150 font-size: 180%;
151 }
152 }
153
154 div.toc-heading {
155 width: 100%;
156 border-bottom: solid 1px rgb(180,180,180);
157 margin-bottom: 1em;
158 text-align: center;
159 }
160
161 img {
162 image-rendering: optimize-quality;
163 }
164
165 pre {
166 font-size: 80%;
167 font-weight: bold;
168 line-height: 120%;
169 padding-top: 0.2em;
170 padding-bottom: 0.2em;
171 padding-left: 1em;
172 padding-right: 1em;
173 border-style: solid;
174 border-left-width: 1em;
175 border-top-width: thin;
176 border-right-width: thin;
177 border-bottom-width: thin;
178 border-color: #95ABD0;
179 color: #00428C;
180 background-color: #E4E5E7;
181 }
182
183 li pre { margin-left: 0; }
184
185 blockquote { font-style: italic }
186
187 img { background-color: transparent }
188
189 p.copyright { font-size: smaller }
190
191 .center { text-align: center }
192 .footnote { font-size: smaller; margin-left: 2em; }
193
194 a img { border-width: 0; border-style: none }
195
196 a:visited { color: navy }
197 a:link { color: navy }
198 a:hover { color: red; text-decoration: underline }
199 a:active { color: red; text-decoration: underline }
200
201 a {text-decoration: none}
202 .toolbar a:link {color: blue}
203 .toolbar a:visited {color: blue}
204 .toolbar a:active {color: red}
205 .toolbar a:hover {color: red}
206
207 ul { list-style-type: square; }
208 ul ul { list-style-type: disc; }
209 ul ul ul { list-style-type: circle; }
210 ul ul ul ul { list-style-type: disc; }
211 li { margin-left: 0.5em; margin-top: 0.5em; }
212 li li { font-size: 85%; font-style: italic }
213 li li li { font-size: 85%; font-style: normal }
214
215 div dt
216 {
217 margin-left: 0;
218 margin-top: 1em;
219 margin-bottom: 0.5em;
220 font-weight: bold;
221 }
222 div dd
223 {
224 margin-left: 2em;
225 margin-bottom: 0.5em;
226 }
227
228
229 p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6,dl,table {
230 margin-left: 1em;
231 margin-right: 1em;
232 }
233
234 p.subhead { font-weight: bold; margin-top: 2em; }
235
236 .smaller { font-size: smaller }
237 .bigger { font-size: 130% }
238
239 td,th { padding: 0.2em }
240
241 ul {
242 margin: 0.5em 1.5em 0.5em 1.5em;
243 padding: 0;
244 }
245
246 ol {
247 margin: 0.5em 1.5em 0.5em 1.5em;
248 padding: 0;
249 }
250
251 ul { list-style-type: square; }
252 ul ul { list-style-type: disc; }
253 ul ul ul { list-style-type: circle; }
254 ul ul ul ul { list-style-type: disc; }
255
256 ul li {
257 list-style: square;
258 margin: 0.1em 0em 0.6em 0;
259 padding: 0 0 0 0;
260 line-height: 140%;
261 }
262
263 ol li {
264 margin: 0.1em 0em 0.6em 1.5em;
265 padding: 0 0 0 0px;
266 line-height: 140%;
267 list-style-type: decimal;
268 }
269
270 li ul li {
271 font-size: 85%;
272 font-style: italic;
273 list-style-type: disc;
274 background: transparent;
275 padding: 0 0 0 0;
276 }
277 li li ul li {
278 font-size: 85%;
279 font-style: normal;
280 list-style-type: circle;
281 background: transparent;
282 padding: 0 0 0 0;
283 }
284 li li li ul li {
285 list-style-type: disc;
286 background: transparent;
287 padding: 0 0 0 0;
288 }
289
290 li ol li {
291 list-style-type: decimal;
292 }
293
294
295 li li ol li {
296 list-style-type: decimal;
297 }
298
299 /*
300 setting class="outline on ol or ul makes it behave as an
301 ouline list where blocklevel content in li elements is
302 hidden by default and can be expanded or collapsed with
303 mouse click. Set class="expand" on li to override default
304 */
305
306 ol.outline li:hover { cursor: pointer }
307 ol.outline li.nofold:hover { cursor: default }
308
309 ul.outline li:hover { cursor: pointer }
310 ul.outline li.nofold:hover { cursor: default }
311
312 ol.outline { list-style:decimal; }
313 ol.outline ol { list-style-type:lower-alpha }
314
315 ol.outline li.nofold {
316 padding: 0 0 0 20px;
317 background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
318 }
319 ol.outline li.unfolded {
320 padding: 0 0 0 20px;
321 background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
322 }
323 ol.outline li.folded {
324 padding: 0 0 0 20px;
325 background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
326 }
327 ol.outline li.unfolded:hover {
328 padding: 0 0 0 20px;
329 background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
330 }
331 ol.outline li.folded:hover {
332 padding: 0 0 0 20px;
333 background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
334 }
335
336 ul.outline li.nofold {
337 padding: 0 0 0 20px;
338 background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
339 }
340 ul.outline li.unfolded {
341 padding: 0 0 0 20px;
342 background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
343 }
344 ul.outline li.folded {
345 padding: 0 0 0 20px;
346 background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
347 }
348 ul.outline li.unfolded:hover {
349 padding: 0 0 0 20px;
350 background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
351 }
352 ul.outline li.folded:hover {
353 padding: 0 0 0 20px;
354 background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
355 }
356
357 /* for slides with class "title" in table of contents */
358 a.titleslide { font-weight: bold; font-style: italic }
359
360 /*
361 hide images for work around for save as bug
362 where browsers fail to save images used by CSS
363 */
364 img.hidden { display: none; visibility: hidden }
365 div.initial_prompt { display: none; visibility: hidden }
366
367 div.slide {
368 visibility: visible;
369 position: inherit;
370 }
371 div.handout {
372 border-top-style: solid;
373 border-top-width: thin;
374 border-top-color: black;
375 }
376
377 @media screen {
378 .hidden { display: none; visibility: visible }
379
380 div.slide.hidden { display: block; visibility: visible }
381 div.handout.hidden { display: block; visibility: visible }
382 div.background { display: none; visibility: hidden }
383 body.single_slide div.initial_prompt { display: block; visibility: visible }
384 body.single_slide div.background { display: block; visibility: visible }
385 body.single_slide div.background.hidden { display: none; visibility: hidden }
386 body.single_slide .invisible { visibility: hidden }
387 body.single_slide .hidden { display: none; visibility: hidden }
388 body.single_slide div.slide { position: absolute }
389 body.single_slide div.handout { display: none; visibility: hidden }
390 }
391
392 @media print {
393 .hidden { display: block; visibility: visible }
394
395 div.slide pre { font-size: 60%; padding-left: 0.5em; }
396 div.toolbar { display: none; visibility: hidden; }
397 div.slidy_toc { display: none; visibility: hidden; }
398 div.background { display: none; visibility: hidden; }
399 div.slide { page-break-before: always }
400 /* :first-child isn't reliable for print media */
401 div.slide.first-slide { page-break-before: avoid }
402 }
403
404 /* the below rules increase compatibility with Shiny and Bootstrap */
405
406 /* remove margins that misalign sliders */
407 .jslider table {
408 margin-left: 0em;
409 margin-right: 0em;
410 }
411
412 /* don't use very large fonts in datatables */
413 table.dataTable, .shiny-datatable-output div {
414 font-size: 14pt;
415 }
416
417 /* adjust footer element size for DT package */
418 .dataTables_info, .dataTables_paginate {
419 font-size: 19px;
420 }
421
422 /* allow R chunks to render in a large font */
423 pre.sourceCode, code.sourceCode {
424 font-size: 80%;
425 }
426
427 /* increase the input font size set by Bootstrap */
428 label, button, input, select, textarea {
429 font-size: 14pt;
430 }
431
432 /* eliminate bullets in Bootstrap navigation lists */
433 ul.nav, ul.nav li {
434 list-style-type: none;
435 }
436