]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
Added fixups/new classes to the main CSS, cleanup of Mini-Timeline.
[ardour-manual] / source / css / app.css
1 #tree {
2   background-color: #212A30;
3   height: 100%;
4   overflow: scroll;
5   position: fixed;
6   top: 0;
7   bottom: 0;
8   left: 0;
9   width: 300px;
10 }
11
12 #tree-inner {
13   padding: 15px 20px 30px 30px;
14 }
15
16 #tree h1.title {
17   font-size: 28px;
18   margin-bottom: 20px;
19   font-weight: normal;
20 }
21
22 #tree h1.title a:hover {
23   border-bottom: none;
24 }
25
26 #tree a {
27   font-size: 14px;
28   line-height: 28px;
29 }
30
31 #tree dd.other {
32   display: none;
33 }
34
35 #tree .level-1,
36 #tree .parent,
37 #tree .child,
38 #tree .parent *,
39 #tree .child * {
40   display: inherit;
41   color: inherit;
42 }
43
44 #tree dd.child-1,
45 #tree .child-2,
46 #tree .child-3,
47 #tree .child-4 {
48   display: none;
49 }
50
51
52 #search {
53   height: 70px;
54 }
55
56 #content {
57     padding: 10px 30px 30px 350px;
58     margin-left: 0;
59 }
60
61 #content-main {
62   padding-top: 10px;
63   padding-left: 10px;
64 }
65
66 #content p,
67 #content li,
68 #content dt,
69 #content dd {
70   font-size: 16px;
71   line-height: 28px;
72 }
73
74
75 #tree a {
76     display: inline !important;
77     font-weight: normal;
78     color: #E4E4E4;
79     border-bottom: 1px solid transparent;
80     padding-bottom: 2px;
81 }
82
83 #tree a:hover {
84     text-decoration: none;
85     border-bottom: 1px solid #aaa;
86 }
87
88 #tree .active > a {
89     display: inline;
90     color: #da0808;
91     border-bottom: 1px solid #FFF;
92
93 }
94
95 #content,
96 #tree {
97   font-family: Junge;
98 }
99
100 #content h1,
101 #content h2,
102 #content h3,
103 #content h4 {
104     font-weight: normal;
105 }
106
107 #content h1.title {
108  border-bottom: 2px solid #ccc;
109   padding-bottom: 10px;
110   margin-bottom: 40px;
111 }
112
113 #content h2 {
114   margin: 30px 0 20px 0;
115   padding-bottom: 5px;
116   font-size: 22px;
117   border-bottom: 2px solid #ddd;
118 }
119
120 #content h3 {
121  margin: 20px 0 10px 0;
122   padding-bottom: 5px;
123   font-size: 20px;
124   border-bottom: 1px solid #eee;
125 }
126
127
128 #content h4 {
129   font-size: 18px;
130  margin: 20px 0 10px 0;
131   padding-bottom: 10px;
132   border-bottom: 1px solid #eee;
133 }
134
135 #content code {
136   font-size: 14px;
137   color: #555;
138 }
139
140 #content dl
141 {
142     float:none;
143     clear:both;
144     width:100%;
145     margin: 1em 0;
146     padding: 0;
147 }
148
149 #content dl:after {
150     content:' ';
151     display:block;
152     clear:both;
153 }
154
155 #content dt
156 {
157     clear: left;
158     float: left;
159     width: 25%;
160     margin: 0;
161     padding: 5px;
162     font-weight: normal;
163 }
164
165 #content dd
166 {
167     float: left;
168     width: 65%;
169     margin: 0;
170     padding: 5px;
171     font-weight: normal;
172 }
173
174 #content dt.sub1 {
175     padding-left: 2em;
176 }
177
178 #content dt.sub2 {
179     padding-left: 4em;
180 }
181
182
183 #content figure {
184     display: table;
185 }
186
187 #content figcaption {
188         display: table-caption;
189         caption-side: bottom;
190         font-style: italic;
191 }
192
193 #content figcaption.center {
194         display: table-caption;
195         text-align: center;
196         caption-side: bottom;
197         font-style: italic;
198 }
199
200 #content figcaption.titleover {
201         caption-side: top ;
202 }
203
204 #content figure.right {
205     margin: 0 0 1em 1em;
206     float: right;
207     clear: right;
208 }
209
210 #content figure.left {
211     margin: 0 1em 1em 0;
212     float: left;
213     clear: left;
214 }
215
216 #content figure.center {
217     margin: 1em auto 1em auto;
218     clear: both;
219 }
220
221 .multicol2 {
222     width: 48%;
223                 float:left;
224                 padding:0 0 0 2%;
225                 margin:0;
226 }
227
228 .multicol3 {
229     width: 31%;
230                 float:left;
231                 padding:0 0 0 2%;
232                 margin:0;
233 }
234
235 .multicol4 {
236     width: 23%;
237                 float:left;
238                 padding:0 0 0 2%;
239                 margin:0;
240 }
241
242 .multicol5 {
243     width: 18%;
244                 float:left;
245                 padding:0 0 0 2%;
246                 margin:0;
247 }
248
249 /* Keyboard binding layout */
250 #content dl.bindings
251 {
252     float: left;
253     width: 100%;
254     margin: 1em 0;
255     padding: 0;
256 }
257
258 #content .bindings dt
259 {
260     clear: left;
261     float: left;
262     width: 65%;
263     margin: 0;
264     padding: 0px;
265     font-size: 100%;
266     font-family: "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif;
267     font-weight: normal;
268 }
269
270 #content .bindings dd
271 {
272     float: left;
273     width: 30%;
274     margin: 0;
275     padding: 0px;
276     font-size: 110%;
277     font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;
278     font-weight: normal;
279 }
280
281
282 #content dl.wide-table
283 {
284     float: left;
285     width: 100%;
286     margin: 1em 0;
287     padding: 0;
288 }
289
290 #content .wide-table dt
291 {
292         font-weight: normal;
293     clear: left;
294     float: left;
295     width: 30%;
296     margin: 0;
297     padding: 5px;
298 }
299
300 #content dt,
301 #content dd {
302     border-top: 2px solid #eee;
303 }
304
305 #content dt:first-child,
306 #content dd:nth-child(2) {
307     border-top: none;
308 }
309
310 #content .wide-table dd
311 {
312     float: left;
313     width: 60%;
314     margin: 0;
315     padding: 5px;
316 }
317
318 #content dl.narrower-table
319 {
320     float: left;
321     width: 100%;
322     margin: 1em 0;
323     padding: 0;
324 }
325
326 #content .narrower-table dt
327 {
328     clear: left;
329     float: left;
330     width: 20%;
331     margin: 0;
332     padding: 5px;
333 }
334
335 #content .narrower-table dd
336 {
337     float: left;
338     width: 70%;
339     margin: 0;
340     padding: 5px;
341 }
342
343 kbd {
344     -moz-background-clip:border;
345     -moz-background-inline-policy:continuous;
346     -moz-background-origin:padding;
347     background:#EEEEEE none repeat scroll 0 0;
348     border-color:#CCCCCC #AAAAAA #888888 #BBBBBB;
349     border-style:solid;
350     border-width:2px 2px 4px 4px;
351     color:#000000;
352     padding:1px 2px;
353     white-space:nowrap;
354     text-transform:capitalize;
355 }
356
357 kbd.input,kbd.cmd,kbd.osc {
358     font-family:mono;
359     border-width:0;
360     text-transform:none;
361
362 }
363
364 kbd.cmd {
365     display:block;
366     width:100%;
367     margin-bottom:1ex;
368     text-transform:none;
369 }
370
371 kbd.cmd.lin:before {
372     content: 'user@linux:~ ';
373     color:#999999;
374 }
375
376 kbd.cmd.mac:before {
377     content: 'MacBook:~/Desktop User\$ ';
378     color:#999999;
379 }
380
381 kbd.cmd.win:before {
382     content: 'C:\\Users\\myAccount> ';
383     color:#999999;
384 }
385
386 kbd.mouse {
387     -moz-border-radius:10px;
388     border-radius:10px;
389 }
390
391 /*
392 .mouse:after {
393     position:relative;
394     top:-1em;
395     left:-1em;
396     content:url('/images/mouse-tail.png');
397 }
398 */
399
400 kbd.optoff, kbd.option {
401     border:none;
402     background-color:transparent;
403 }
404
405 kbd.optoff:after {
406     content:url('/images/checkbox-unchecked.png');
407 }
408
409 kbd.option:after {
410     content:url('/images/checkbox-checked.png');
411 }
412
413 kbd.menu {
414     border:none;
415     background-color:transparent;
416     font-weight:bold;
417     font-stretch:extra-condensed;
418     white-space:normal;
419 }
420
421
422 kbd.osc {
423 }
424
425
426
427 kbd.fader, kbd.knob, kbd.button {
428     border-color:#ccccff #aaaadd #8888bb #bbbbee;
429     background-color:#ddddff;
430     color:#000044;
431 }
432
433 kbd.fader {
434     border-width: 1px 1px 9px 9px;
435 }
436
437 kbd.knob {
438     -moz-border-radius:12px;
439     border-radius:12px;
440     border-width: 1px 1px 9px 9px;
441 }
442
443 kbd.button {
444     -moz-border-radius:8px;
445     border-radius:8px;
446     border-width: 1px 1px 3px 3px;
447 }
448
449 samp {
450     font-family:mono;
451     font-style:italic;
452     color:#333333;
453     background-color:transparent;
454     margin-left: 1ex;
455     margin-right: 1ex;
456 }
457
458 samp:before {
459     content:"\BB";
460 }
461
462 samp:after {
463     content:"\AB";
464 }
465
466 #content td {
467     padding: 0 1em 0 1em;
468 }
469
470 #content .small {
471     width:150px;
472 }
473
474 #subtopics ul {
475     font-size:20px;
476     font-weight:bold;
477 }
478
479 #content dfn {
480     font-weight: bold;
481     font-style: normal;
482 }
483
484 #content img.right {
485     margin: 0 0 1em 1em;
486     float:right;
487     clear:right;
488 }
489
490 #content img.left {
491     margin:0 1em 1em 0;
492     float:left;
493     clear:left;
494 }
495
496 #content img.center {
497     display: block;
498     margin:1em auto 1em auto;
499         clear: both;
500 }
501
502 #content p.center {
503         text-align:center;
504 }
505
506 #content .note,.warning,.fixme {
507     min-height: 20px;
508     padding: 19px;
509     margin-bottom: 20px;
510     border-style: solid;
511     border-width: 1px 1px 1px 8px;
512     -webkit-border-radius: 4px;
513        -moz-border-radius: 4px;
514             border-radius: 4px;
515     -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
516        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
517             box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
518
519 }
520
521 #content .note {
522     border-color: #e3e3e3;
523     background-color: #f5f5f5;
524 }
525
526 #content .warning {
527     border-color: #995555;
528     background-color: #ffeeee;
529 }
530
531 #content .fixme {
532     border-color: #999944;
533     background-color: #f0f0e0;
534     font-weight:bold;
535 }
536
537 .fixme:before {
538     content:'FIXME: ';
539     font-style: italic;
540     font-size:200%;
541 }
542
543
544 /* Keyboard modifiers */
545
546 .mod1:before {
547     content: "Ctrl ";
548 }
549 .mod2:before {
550     content: "Alt ";
551 }
552 .mod3:before {
553     content: "Shift ";
554 }
555 .mod4:before {
556     content: "Win ";
557 }
558 .mod12:before {
559     content: "Ctrl Alt ";
560 }
561 .mod13:before {
562     content: "Ctrl Shift ";
563 }
564 .mod14:before {
565     content: "Ctrl Win ";
566 }
567 .mod23:before {
568     content: "Alt Shift ";
569 }
570 .kp:before {
571     content: "Keypad ";
572 }
573
574 /* Variants *without* space after them (yes, these are needed!) */
575
576 .mod1n:before {
577     content: "Ctrl";
578 }
579 .mod2n:before {
580     content: "Alt";
581 }
582 .mod3n:before {
583     content: "Shift";
584 }
585 .mod4n:before {
586     content: "Win";
587 }
588 .mod12n:before {
589     content: "Ctrl Alt";
590 }
591 .mod13n:before {
592     content: "Ctrl Shift";
593 }
594 .mod14n:before {
595     content: "Ctrl Win";
596 }
597 .mod23n:before {
598     content: "Alt Shift";
599 }
600
601
602 /* Automagic translation for Mac based display */
603
604 .mac .mod1:before {
605     content: "Cmd ";
606 }
607 .mac .mod2:before {
608     content: "Ctrl ";
609 }
610 .mac .mod3:before {
611     content: "Shift ";
612 }
613 .mac .mod4:before {
614     content: "Opt ";
615 }
616 .mac .mod12:before {
617     content: "Cmd Ctrl ";
618 }
619 .mac .mod13:before {
620     content: "Cmd Shift ";
621 }
622 .mac .mod14:before {
623     content: "Cmd Opt ";
624 }
625 .mac .mod23:before {
626     content: "Ctrl Shift ";
627 }
628
629 /* No space variants (Mac based) */
630
631 .mac .mod1n:before {
632     content: "Cmd";
633 }
634 .mac .mod2n:before {
635     content: "Ctrl";
636 }
637 .mac .mod3n:before {
638     content: "Shift";
639 }
640 .mac .mod4n:before {
641     content: "Opt";
642 }
643 .mac .mod12n:before {
644     content: "Cmd Ctrl";
645 }
646 .mac .mod13n:before {
647     content: "Cmd Shift";
648 }
649 .mac .mod14n:before {
650     content: "Cmd Opt";
651 }
652 .mac .mod23n:before {
653     content: "Ctrl Shift";
654 }
655
656
657 #gs_tti0 {
658
659   padding-top: 2px;
660   padding-bottom: 0;
661
662 }
663
664 @media (max-width: 800px) {
665   #tree {
666     position: relative;
667     height: 250px;
668     width: 100%;
669     margin-top: 20px;
670   }
671   #content {
672     padding-left: 20px;
673     margin-top: 0px;
674   }
675 }
676
677 #chapter { padding-top: 1em; padding-left: 1em; }
678
679 #subchapter { padding-left: 4em; }
680
681 #content table.alternate{       border-collapse:collapse; }
682 .alternate td{ padding:7px; border:#4e95f4 1px solid; }
683 .alternate tr{ background: #b8d1f3; }
684 .alternate tr:nth-child(odd){ background: #b8d1f3; }
685 .alternate tr:nth-child(even){ background: #dae5f4; }
686
687 .container { position:relative; border: none;}
688 .hoverimg { position: absolute; border: none;  }
689 .hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }