Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / scdoc.css
blob6df48f5505c636c8c4c03fc0287b880b3f9701a5
1 body {
2 font-family: Arial, Helvetica, sans-serif;
3 font-size: 10pt;
4 color: black;
5 background: white;
6 /* max-width: 60em;*/
7 /* margin-left: 20em;*/
8 padding: 0;
9 margin: 0;
12 html {
13 height: 100%;
14 margin: 0 0 1px;
17 div.contents {
18 margin: 1em;
19 text-align: justify;
20 padding-top: 2em;
21 padding-bottom: 0.5em;
24 table {
25 border-collapse: collapse;
26 font-size: 10pt;
27 margin-top: 1em;
28 margin-left: 2em;
30 table td {
31 border: 1px solid #ddd;
32 padding: 0.3em;
35 table table {
36 margin: 0em;
39 p {
40 margin-top: 1em;
41 margin-bottom: 0.3em;
44 a:link, a:visited, a:hover {
45 text-decoration: none;
46 color: #449;
47 /* add padding to work around "text-decoration: underline" not
48 * having effect when hovered if font size less then 11pt */
49 padding-bottom: 1px;
52 a:hover {
53 text-decoration: underline;
56 #inheritedclassmets, #inheritedinstmets {
57 margin-top: 1em;
60 .inheritedmets_class {
61 font-weight: bold;
62 color: #555;
63 margin-top: 0.5em;
64 margin-bottom: 0.25em;
66 .inheritedmets_class a {
67 color: #333;
69 ul.inheritedmets {
70 list-style: none;
71 padding: 0;
72 margin: 0;
73 margin-left: 2em;
74 margin-top: 0.25em;
76 ul.inheritedmets li {
77 font-family: monospace;
79 a.inheritedmets_toggle {
80 font-size: 9pt;
81 color: #558;
82 font-weight: normal;
83 /* margin-left: 2em;*/
86 a.inheritedmets_toggle:hover {
87 text-decoration: none;
88 color: #000;
91 a.subclass_toggle {
92 color: #555;
93 font-weight: normal;
96 a.subclass_toggle:hover {
97 text-decoration: none;
98 color: #000;
102 #menubar {
103 font-family: Arial, Helvetica, sans-serif;
104 width: 100%;
105 position: fixed;
106 /* background: #555;*/
107 background: #eee;
108 top: 0px;
109 padding: 2px;
110 margin: 0px;
111 border-bottom: 1px solid #bbb;
112 /* border-bottom: 2px solid #999;*/
113 z-index: 30;
116 #menubar .menuitem {
117 list-style: none;
118 float:left;
119 margin:0;
120 padding:0px;
121 padding-left: 0.75em;
122 padding-right: 0.75em;
123 /* border-right: 1px solid #999;*/
124 border-right: 1px solid #ddd;
125 font-size: 10pt;
126 display: block;
129 .menuitem a {
130 /* color: #ddd;*/
131 color: #666;
133 .menuitem a:hover {
134 text-decoration: none;
135 color: black;
138 #topdoctitle {
139 /* font-weight: bold;*/
140 font-style: italic;
141 /* color: #fff;*/
142 color: #444;
143 cursor: pointer;
146 .submenu {
147 margin-top: 2px;
148 padding: 0.5em;
149 background: #eee;
150 display: none;
151 position: absolute;
152 border: 1px solid #aaa;
153 border-radius: 4px;
156 .submenu a {
157 position: relative;
158 display: block;
159 margin: 0;
160 /* padding: 5px 10px;*/
161 padding: 0.2em;
162 width: auto;
163 white-space: nowrap;
164 text-align: left;
165 /* text-decoration: none;*/
166 color: #447;
167 font-weight: bold;
170 .toc_search {
171 margin-left: 10px;
172 color: #999;
173 font-size: 9pt;
176 .top_search input {
177 border: 1px solid #ddd;
180 a.navlink {
181 /* color: #fff;*/
182 color: #447;
183 font-weight: bold;
187 .header {
188 border-bottom: 3px solid #000;
190 #label, #label a {
191 font-weight: bold;
192 color: #999;
193 border-bottom: 1px solid #bbb;
195 #summary {
196 font-weight: normal;
198 #categories {
199 color: #888;
200 font-size: 9pt;
202 #related {
203 text-align: left;
204 font-weight: bold;
205 margin-top: 0.5em;
207 #filename {
208 word-break: break-all;
210 .headerimage {
211 float: right;
212 margin-right: 1ex;
215 .subheader {
216 text-align: right;
217 font-size: 9pt;
218 color: #444;
221 .jump {
222 text-align: right;
223 font-size: 9pt;
224 color: #555;
226 .jump a {
227 font-weight: bold;
228 padding-top:0;
229 margin-top:0;
232 a.footnote {
233 font-size: 9pt;
234 top: -0.1em;
236 div.footnotes {
237 border-top: 1px solid #aaa;
238 margin-left: 2em;
239 margin-top: 3em;
240 margin-right: 2em;
242 div.footnote {
243 margin-bottom: 0.5em;
244 margin-top: 0.5em;
245 font-size: 9pt;
248 .soft {
249 color: #777;
252 h1 {
253 margin: 0.1em 0;
254 font-size: 3em;
255 margin-bottom: 0em;
258 h2 {
259 border-bottom: 2px solid #ccc;
260 margin-top: 1.0em;
261 text-align: left;
262 margin-bottom: 2px;
263 font-size: 1.7em;
266 h3 {
267 margin-bottom: 2px;
268 text-align: left;
269 font-size: 1.4em;
272 h4 {
273 margin-top: 1em;
274 margin-bottom: 0em;
275 margin-left: 0em;
276 color: #777;
277 border-bottom: 1px solid #ddd;
280 dt {
281 font-weight: bold;
283 dd {
284 margin-top: 0.25em;
285 margin-bottom: 1.25em;
288 code, pre {
289 font-family: monospace;
290 font-size: 9pt;
293 pre {
294 border-left: 2px solid #e0e0e0;
295 padding-left: 1em;
298 code.code, pre.code {
301 pre.code {
305 .image {
306 text-align: center;
307 margin: 2em;
308 font-size: 9pt;
311 .image img {
312 margin-bottom: 1em;
315 .methprefix {
316 font-weight: normal;
317 color: #777;
318 padding-right: 0.5em;
319 margin-left: -1em;
322 .methodname, .imethodname, .cmethodname {
323 font-family: monospace;
324 font-size: 1em;
325 font-weight: normal;
326 margin-bottom: 0em;
327 margin-top: 0.75em;
328 padding: 0.25em;
329 border: none;
330 background: #e7ebe7;
333 .methodname a, .imethodname a, .cmethodname a {
334 color: black;
335 font-weight: bold;
338 .method {
339 margin-left: 2em;
340 margin-bottom: 2em;
343 .argstr {
344 white-space: nowrap;
347 .extmethod {
348 font-size: 9pt;
349 color: #444;
350 background: #fee;
351 padding-left: 0.2em;
352 text-align: right;
355 .supmethod {
356 font-size: 9pt;
357 color: #444;
358 background: #ffe;
359 padding-left: 0.2em;
360 text-align: right;
363 table.arguments {
364 margin-left: 1.5em;
365 margin-bottom: 0em;
366 margin-top: 0.5em;
367 border-collapse: collapse;
370 table.arguments td.argumentname, td.argumentdesc {
371 vertical-align: top;
372 border: none;
373 padding-top: 0.2em;
374 padding-bottom: 0.2em;
377 td.argumentname {
378 font-weight: bold;
381 div.returnvalue {
382 margin-left: 2em;
385 td p {
386 margin-top: 0em;
389 .note, .warning {
390 /* border-left: 4px solid #eea;*/
391 background: #f7f7d7;
392 padding: 0.5em;
393 margin-top: 1em;
394 margin-bottom: 1em;
396 .notelabel, .warninglabel {
397 font-weight: bold;
399 .warninglabel {
400 color: red;
403 /*.version {
404 font-size: 9pt;
405 border-top: 1px solid #bbb;
406 color: #999;
407 text-align: right;
408 margin-top: 2em;
411 .doclink {
412 font-size: 9pt;
413 color: #888;
414 text-align: right;
415 margin-top: 2em;
416 margin-bottom: 2em;
417 border-top: 1px solid #ddd;
419 .doclink a {
420 color: #444;
423 #sidetoc {
424 position: fixed;
425 display: block;
426 width: 18em;
427 left: 0px;
428 margin: 0;
429 padding: 10px;
430 height: 100%;
431 overflow: auto;
432 /* background: #eee;*/
433 background: #fff;
434 border-right: 1px solid #bbb;
437 #sidetoc a:hover {
438 text-decoration: none;
439 color: black;
442 #toc {
443 margin: 0;
444 padding: 10px 2px 10px 2px;
445 min-width: 20em;
446 line-height: 130%;
447 display: none;
448 overflow: auto;
449 background: #fff;
450 position: absolute;
451 border: 1px solid #aaa;
452 margin-top: 2px;
453 border-radius: 4px;
455 #toctitle {
456 border-bottom: 1px solid #aaa;
457 margin-bottom: 0.5em;
458 font-weight: normal;
459 color: #777;
462 li {
463 padding-bottom: 0.5em;
466 ul.toc {
467 list-style-type: none;
468 margin: 0;
469 padding: 0;
471 ul.toc ul {
472 margin-left: 1em;
474 ul.toc li {
475 margin: 0;
476 padding: 0;
479 ul.toc li a {
480 display: block;
481 padding: 0 8px 0 8px;
484 ul.toc li a:hover {
485 background: #eee;
488 .toc1 {
489 font-weight: bold;
491 .toc1 a {
492 color: #444;
494 .toc2 {
495 font-weight: normal;
497 .toc2 a {
498 color: #444;
500 .toc3 {
501 font-family: monospace;
502 font-weight: normal;
503 /* font-size: 9.5pt;*/
505 .toc3 a {
506 color: #555;
509 a.popoutlink {
510 float: right;
511 font-size: 9pt;
512 color: #558;
513 padding-right: 8px;
514 display: inline-block;
517 ul.tree, ul.tree ul {
518 list-style-type: none;
519 background: url(images/vline.png) repeat-y;
520 margin: 0;
521 padding: 0;
522 margin-left: 1em;
525 ul.tree ul {
526 margin-left: 15px;
529 ul.tree li {
530 margin: 0;
531 padding: 0 12px;
532 line-height: 20px;
533 background: url(images/node.png) no-repeat;
534 /* color: #369;
535 font-weight: bold;*/
538 ul.tree li:last-child {
539 background: #fff url(images/lastnode.png) no-repeat;
542 :target {
543 border-bottom: 6px solid rgba(255,255,0,0.4);
544 padding-top:20px;
545 margin-top:-20px;
548 a.undoc {
549 color: #88b;
550 text-decoration: line-through;
553 /* auto class links. note that color can be overridden by prettify rules below */
554 a.clslnk {
557 /* Pretty printing styles. Used with prettify.js. */
559 .str { color: #070; } /* strings */
560 .kwd { color: #880; } /* special values like true, nil.. */
561 .com { color: #822; } /* comments */
562 .typ { color: #008; } /* class names */
563 .lit { color: #066; } /* numbers and character literals */
564 .pun { color: #555; } /* punctuation */
565 .pln { color: #000; } /* plain text, methods and variable names */
566 .tag { color: #059; } /* special variables like super, thisProcess... */
567 .dec { color: #508; } /* declarations like var, const... */
568 .atn { color: #285; } /* symbols */
569 .atv { color: #750; } /* environment vars */
571 /* Specify class=linenums on a pre to get line numbering */
572 ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
573 li.L0,
574 li.L1,
575 li.L2,
576 li.L3,
577 li.L5,
578 li.L6,
579 li.L7,
580 li.L8 { list-style-type: none }
581 /* Alternate shading for lines */
582 li.L1,
583 li.L3,
584 li.L5,
585 li.L7,
586 li.L9 { background: #eee }
588 @media print {
589 .str { color: #060; }
590 .kwd { color: #006; font-weight: bold; }
591 .com { color: #600; font-style: italic; }
592 .typ { color: #404; font-weight: bold; }
593 .lit { color: #044; }
594 .pun { color: #440; }
595 .pln { color: #000; }
596 .tag { color: #006; font-weight: bold; }
597 .atn { color: #404; }
598 .atv { color: #060; }