]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
Cleaning up the CSS
[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   display: inline-block;
345   min-width: 1em;
346   padding: .2em .3em;
347   font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif;
348   text-align: center;
349   text-decoration: none;
350   border-radius: .3em;
351   cursor: default;
352   -moz-user-select: none;
353   -webkit-user-select: none;
354   user-select: none;
355   background: rgb(250, 250, 250);
356   background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255));
357   background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255)));
358   color:  rgb(50, 50, 50);
359   text-shadow: 0 0 2px rgb(255, 255, 255);
360   box-shadow: inset 0 0 1px rgb(255, 255, 255), inset 0 0 .4em rgb(200, 200, 200), 0 .1em 0 rgb(130, 130, 130), 0 .11em 0 rgba(0, 0, 0, .4), 0 .1em .11em rgba(0, 0, 0, .9);
361
362 }
363
364 kbd.input,kbd.cmd,kbd.osc {
365     font-family:mono;
366     border-width:0;
367     text-transform:none;
368 }
369
370 kbd.input {
371     background:none;
372     border-radius: 0;
373 }
374
375 kbd.cmd {
376     display:block;
377     width:100%;
378     margin-bottom:1ex;
379     text-transform:none;
380     background: rgb(220, 220, 220);
381     text-shadow: none;
382     box-shadow: none;
383     text-align:left;
384 }
385
386 kbd.cmd.lin:before {
387     content: 'user@linux:~ ';
388     color:#999999;
389 }
390
391 kbd.cmd.mac:before {
392     content: 'MacBook:~/Desktop User\$ ';
393     color:#999999;
394 }
395
396 kbd.cmd.win:before {
397     content: 'C:\\Users\\myAccount> ';
398     color:#999999;
399 }
400
401 kbd.optoff, kbd.option {
402     border:none;
403     background:none;
404 }
405
406 kbd.optoff:before {
407     content:url('/images/checkbox-unchecked.png');
408     margin: 0 5px 0 0;
409     vertical-align:middle;
410 }
411
412 kbd.option:before {
413     content:url('/images/checkbox-checked.png');
414     margin: 0 5px 0 0;
415     vertical-align:middle;
416 }
417
418 kbd.menu {
419     border:none;
420     background:none;
421     font-weight:bold;
422     font-stretch:extra-condensed;
423     white-space:normal;
424 }
425
426 kbd.osc {
427     border:none;
428     background:none;
429     font-stretch:extra-condensed;
430     white-space:normal;
431     text-align:left;
432 }
433
434 kbd.fader, kbd.knob, kbd.button {
435     border-color:#ccccff #aaaadd #8888bb #bbbbee;
436     background-color:#ddddff;
437     color:#000044;
438 }
439
440 kbd.fader {
441     border-width: 1px 1px 9px 9px;
442 }
443
444 kbd.knob {
445     border-radius:12px;
446     border-width: 1px 1px 9px 9px;
447 }
448
449 kbd.button {
450     border-radius:8px;
451     border-width: 1px 1px 3px 3px;
452 }
453
454 kbd.mouse {
455     border-radius:10px;
456 }
457
458
459 samp {
460     font-family:mono;
461     font-style:italic;
462     color:#333333;
463     background-color:transparent;
464     margin-left: 1ex;
465     margin-right: 1ex;
466 }
467
468 samp:before {
469     content:"\BB";
470 }
471
472 samp:after {
473     content:"\AB";
474 }
475
476 #content td {
477     padding: 0 1em 0 1em;
478 }
479
480 #content .small {
481     width:150px;
482 }
483
484 #subtopics ul {
485     font-size:20px;
486     font-weight:bold;
487 }
488
489 #content dfn {
490     font-weight: bold;
491     font-style: normal;
492 }
493
494 #content img.right {
495     margin: 0 0 1em 1em;
496     float:right;
497     clear:right;
498 }
499
500 #content img.left {
501     margin:0 1em 1em 0;
502     float:left;
503     clear:left;
504 }
505
506 #content img.center {
507     display: block;
508     margin:1em auto 1em auto;
509         clear: both;
510 }
511
512 #content p.center {
513         text-align:center;
514 }
515
516 #content .note,.warning,.fixme {
517     min-height: 20px;
518     padding: 19px;
519     margin-bottom: 20px;
520     border-style: solid;
521     border-width: 1px 1px 1px 8px;
522     -webkit-border-radius: 4px;
523        -moz-border-radius: 4px;
524             border-radius: 4px;
525     -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
526        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
527             box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
528
529 }
530
531 #content .note {
532     border-color: #e3e3e3;
533     background-color: #f5f5f5;
534 }
535
536 #content .warning {
537     border-color: #995555;
538     background-color: #ffeeee;
539 }
540
541 #content .fixme {
542     border-color: #999944;
543     background-color: #f0f0e0;
544     font-weight:bold;
545 }
546
547 .fixme:before {
548     content:'FIXME: ';
549     font-style: italic;
550     font-size:200%;
551 }
552
553
554 /* Keyboard modifiers */
555
556 .mod1:before {
557     content: "Ctrl ";
558 }
559 .mod2:before {
560     content: "Alt ";
561 }
562 .mod3:before {
563     content: "Shift ";
564 }
565 .mod4:before {
566     content: "Win ";
567 }
568 .mod12:before {
569     content: "Ctrl Alt ";
570 }
571 .mod13:before {
572     content: "Ctrl Shift ";
573 }
574 .mod14:before {
575     content: "Ctrl Win ";
576 }
577 .mod23:before {
578     content: "Alt Shift ";
579 }
580 .kp:before {
581     content: "Keypad ";
582 }
583
584 /* Variants *without* space after them (yes, these are needed!) */
585
586 .mod1n:before {
587     content: "Ctrl";
588 }
589 .mod2n:before {
590     content: "Alt";
591 }
592 .mod3n:before {
593     content: "Shift";
594 }
595 .mod4n:before {
596     content: "Win";
597 }
598 .mod12n:before {
599     content: "Ctrl Alt";
600 }
601 .mod13n:before {
602     content: "Ctrl Shift";
603 }
604 .mod14n:before {
605     content: "Ctrl Win";
606 }
607 .mod23n:before {
608     content: "Alt Shift";
609 }
610
611
612 /* Automagic translation for Mac based display */
613
614 .mac .mod1:before {
615     content: "Cmd ";
616 }
617 .mac .mod2:before {
618     content: "Ctrl ";
619 }
620 .mac .mod3:before {
621     content: "Shift ";
622 }
623 .mac .mod4:before {
624     content: "Opt ";
625 }
626 .mac .mod12:before {
627     content: "Cmd Ctrl ";
628 }
629 .mac .mod13:before {
630     content: "Cmd Shift ";
631 }
632 .mac .mod14:before {
633     content: "Cmd Opt ";
634 }
635 .mac .mod23:before {
636     content: "Ctrl Shift ";
637 }
638
639 /* No space variants (Mac based) */
640
641 .mac .mod1n:before {
642     content: "Cmd";
643 }
644 .mac .mod2n:before {
645     content: "Ctrl";
646 }
647 .mac .mod3n:before {
648     content: "Shift";
649 }
650 .mac .mod4n:before {
651     content: "Opt";
652 }
653 .mac .mod12n:before {
654     content: "Cmd Ctrl";
655 }
656 .mac .mod13n:before {
657     content: "Cmd Shift";
658 }
659 .mac .mod14n:before {
660     content: "Cmd Opt";
661 }
662 .mac .mod23n:before {
663     content: "Ctrl Shift";
664 }
665
666
667 #gs_tti0 {
668
669   padding-top: 2px;
670   padding-bottom: 0;
671
672 }
673
674 @media (max-width: 800px) {
675   #tree {
676     position: relative;
677     height: 250px;
678     width: 100%;
679     margin-top: 20px;
680   }
681   #content {
682     padding-left: 20px;
683     margin-top: 0px;
684   }
685 }
686
687 #chapter { padding-top: 1em; padding-left: 1em; }
688 #subchapter { padding-left: 4em; }
689 #section { padding-left: 6em; }
690 #subsection { padding-left: 8em; }
691
692 #content table.alternate{       border-collapse:collapse; }
693 .alternate td{ padding:7px; border:#4e95f4 1px solid; }
694 .alternate tr{ background: #b8d1f3; }
695 .alternate tr:nth-child(odd){ background: #b8d1f3; }
696 .alternate tr:nth-child(even){ background: #dae5f4; }
697
698 .container { position:relative; border: none;}
699 .hoverimg { position: absolute; border: none;  }
700 .hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }