clean up indentation and spacing
[supercollider.git] / HelpSource / scdoc.css
blob5ebe657fe5d8b15749af2c8c923b95f44eef75ea
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 #bbb;
260 letter-spacing: 0.05em;
261 margin-top: 1.5em;
262 text-align: left;
263 margin-bottom: 2px;
264 font-size: 1.4em;
267 h3 {
268 margin-bottom: 2px;
269 text-align: left;
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-bottom: 1em;
287 code.code, pre.code {
288 font-family: monospace;
289 font-size: 9pt;
290 color: #121;
293 pre.code {
294 font-size: 9pt;
295 border-left: 2px solid #e0e0e0;
296 padding-left: 1em;
300 .image {
301 text-align: center;
302 margin: 2em;
303 font-size: 9pt;
306 .image img {
307 margin-bottom: 1em;
310 .methprefix {
311 font-weight: normal;
312 color: #777;
313 padding-right: 0.5em;
314 margin-left: -1em;
317 .methodname, .imethodname, .cmethodname {
318 font-family: monospace;
319 font-size: 1em;
320 font-weight: normal;
321 margin-bottom: 0em;
322 margin-top: 1em;
323 padding: 0.25em;
324 border: none;
325 background: #e7ebe7;
328 .methodname a, .imethodname a, .cmethodname a {
329 color: black;
330 font-weight: bold;
333 .method {
334 margin-left: 2em;
335 margin-bottom: 2em;
338 .argstr {
339 white-space: nowrap;
342 .extmethod {
343 font-size: 9pt;
344 color: #444;
345 background: #fee;
346 padding-left: 0.2em;
347 text-align: right;
350 .supmethod {
351 font-size: 9pt;
352 color: #444;
353 background: #ffe;
354 padding-left: 0.2em;
355 text-align: right;
358 table.arguments {
359 margin-left: 1.5em;
360 margin-bottom: 0em;
361 margin-top: 0.5em;
362 border-collapse: collapse;
365 table.arguments td.argumentname, td.argumentdesc {
366 vertical-align: top;
367 border: none;
368 padding-top: 0.2em;
369 padding-bottom: 0.2em;
372 td.argumentname {
373 font-weight: bold;
376 div.returnvalue {
377 margin-left: 2em;
380 td p {
381 margin-top: 0em;
384 .note, .warning {
385 /* border-left: 4px solid #eea;*/
386 background: #f7f7d7;
387 padding: 0.5em;
388 margin-top: 1em;
389 margin-bottom: 1em;
391 .notelabel, .warninglabel {
392 font-weight: bold;
394 .warninglabel {
395 color: red;
398 /*.version {
399 font-size: 9pt;
400 border-top: 1px solid #bbb;
401 color: #999;
402 text-align: right;
403 margin-top: 2em;
406 .doclink {
407 font-size: 9pt;
408 color: #888;
409 text-align: right;
410 margin-top: 2em;
411 margin-bottom: 2em;
412 border-top: 1px solid #ddd;
414 .doclink a {
415 color: #444;
418 #sidetoc {
419 position: fixed;
420 display: block;
421 width: 18em;
422 left: 0px;
423 margin: 0;
424 padding: 10px;
425 height: 100%;
426 overflow: auto;
427 /* background: #eee;*/
428 background: #fff;
429 border-right: 1px solid #bbb;
432 #sidetoc a:hover {
433 text-decoration: none;
434 color: black;
437 #toc {
438 margin: 0;
439 padding: 10px 2px 10px 2px;
440 min-width: 20em;
441 line-height: 130%;
442 display: none;
443 overflow: auto;
444 background: #fff;
445 position: absolute;
446 border: 1px solid #aaa;
447 margin-top: 2px;
448 border-radius: 4px;
450 #toctitle {
451 border-bottom: 1px solid #aaa;
452 margin-bottom: 0.5em;
453 font-weight: normal;
454 color: #777;
457 ul.toc {
458 list-style-type: none;
459 margin: 0;
460 padding: 0;
462 ul.toc ul {
463 margin-left: 1em;
465 ul.toc li {
466 margin: 0;
467 padding: 0;
470 ul.toc li a {
471 display: block;
472 padding: 0 8px 0 8px;
475 ul.toc li a:hover {
476 background: #eee;
479 .toc1 {
480 font-weight: bold;
482 .toc1 a {
483 color: #444;
485 .toc2 {
486 font-weight: normal;
488 .toc2 a {
489 color: #444;
491 .toc3 {
492 font-family: monospace;
493 font-weight: normal;
494 /* font-size: 9.5pt;*/
496 .toc3 a {
497 color: #555;
500 a.popoutlink {
501 float: right;
502 font-size: 9pt;
503 color: #558;
504 padding-right: 8px;
505 display: inline-block;
508 ul.tree, ul.tree ul {
509 list-style-type: none;
510 background: url(images/vline.png) repeat-y;
511 margin: 0;
512 padding: 0;
513 margin-left: 1em;
516 ul.tree ul {
517 margin-left: 15px;
520 ul.tree li {
521 margin: 0;
522 padding: 0 12px;
523 line-height: 20px;
524 background: url(images/node.png) no-repeat;
525 /* color: #369;
526 font-weight: bold;*/
529 ul.tree li:last-child {
530 background: #fff url(images/lastnode.png) no-repeat;
533 :target {
534 border-bottom: 6px solid rgba(255,255,0,0.4);
535 padding-top:20px;
536 margin-top:-20px;
539 /* auto class links. note that color can be overridden by prettify rules below */
540 a.clslnk {
543 /* Pretty printing styles. Used with prettify.js. */
545 .str { color: #070; } /* strings */
546 .kwd { color: #880; } /* special values like true, nil.. */
547 .com { color: #822; } /* comments */
548 .typ { color: #008; } /* class names */
549 .lit { color: #066; } /* numbers and character literals */
550 .pun { color: #555; } /* punctuation */
551 .pln { color: #000; } /* plain text, methods and variable names */
552 .tag { color: #059; } /* special variables like super, thisProcess... */
553 .dec { color: #508; } /* declarations like var, const... */
554 .atn { color: #285; } /* symbols */
555 .atv { color: #750; } /* environment vars */
557 /* Specify class=linenums on a pre to get line numbering */
558 ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
559 li.L0,
560 li.L1,
561 li.L2,
562 li.L3,
563 li.L5,
564 li.L6,
565 li.L7,
566 li.L8 { list-style-type: none }
567 /* Alternate shading for lines */
568 li.L1,
569 li.L3,
570 li.L5,
571 li.L7,
572 li.L9 { background: #eee }
574 @media print {
575 .str { color: #060; }
576 .kwd { color: #006; font-weight: bold; }
577 .com { color: #600; font-style: italic; }
578 .typ { color: #404; font-weight: bold; }
579 .lit { color: #044; }
580 .pun { color: #440; }
581 .pln { color: #000; }
582 .tag { color: #006; font-weight: bold; }
583 .atn { color: #404; }
584 .atv { color: #060; }