]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
Polishing the CSS for OSC messages
[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 #content dl.wide-table
250 {
251     float: left;
252     width: 100%;
253     margin: 1em 0;
254     padding: 0;
255 }
256
257 #content .wide-table dt
258 {
259     font-weight: normal;
260     clear: left;
261     float: left;
262     width: 30%;
263     margin: 0;
264     padding: 5px;
265 }
266
267 #content dt,
268 #content dd {
269     border-top: 2px solid #eee;
270 }
271
272 #content dt:first-child,
273 #content dd:nth-child(2) {
274     border-top: none;
275 }
276
277 #content .wide-table dd
278 {
279     float: left;
280     width: 60%;
281     margin: 0;
282     padding: 5px;
283 }
284
285 #content dl.narrower-table
286 {
287     float: left;
288     width: 100%;
289     margin: 1em 0;
290     padding: 0;
291 }
292
293 #content .narrower-table dt
294 {
295     clear: left;
296     float: left;
297     width: 20%;
298     margin: 0;
299     padding: 5px;
300 }
301
302 #content .narrower-table dd
303 {
304     float: left;
305     width: 70%;
306     margin: 0;
307     padding: 5px;
308 }
309
310 kbd {
311   display: inline-block;
312   min-width: 1em;
313   padding: .2em .3em;
314   font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif;
315   text-align: center;
316   text-decoration: none;
317   border-radius: .3em;
318   cursor: default;
319   -moz-user-select: none;
320   -webkit-user-select: none;
321   user-select: none;
322   background: rgb(250, 250, 250);
323   background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255));
324   background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255)));
325   color:  rgb(50, 50, 50);
326   text-shadow: 0 0 2px rgb(255, 255, 255);
327   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);
328   white-space:nowrap;
329   text-transform:capitalize;
330 }
331
332 kbd.input,kbd.cmd,kbd.osc {
333     font-family:mono;
334     border-width:0;
335     text-transform:none;
336 }
337
338 kbd.input {
339     background:none;
340     border-radius: 0;
341 }
342
343 kbd.cmd {
344     display:block;
345     width:100%;
346     margin-bottom:1ex;
347     text-transform:none;
348     background: rgb(220, 220, 220);
349     text-shadow: none;
350     box-shadow: none;
351     text-align:left;
352 }
353
354 kbd.cmd.lin:before {
355     content: 'user@linux:~ ';
356     color:#999999;
357 }
358
359 kbd.cmd.mac:before {
360     content: 'MacBook:~/Desktop User\$ ';
361     color:#999999;
362 }
363
364 kbd.cmd.win:before {
365     content: 'C:\\Users\\myAccount> ';
366     color:#999999;
367 }
368
369 kbd.optoff, kbd.option {
370     border:none;
371     background:none;
372 }
373
374 kbd.optoff:before {
375     content:url('/images/checkbox-unchecked.png');
376     margin: 0 5px 0 0;
377     vertical-align:middle;
378 }
379
380 kbd.option:before {
381     content:url('/images/checkbox-checked.png');
382     margin: 0 5px 0 0;
383     vertical-align:middle;
384 }
385
386 kbd.menu {
387     border:none;
388     background:none;
389     font-weight:bold;
390     font-stretch:extra-condensed;
391     white-space:normal;
392 }
393
394 kbd.osc {
395     border:none;
396     background: rgb(208, 208, 243);
397     font-stretch:extra-condensed;
398     white-space:normal;
399     text-align:left;
400 }
401
402 kbd.fader, kbd.knob, kbd.button {
403     background: rgb(174, 174, 217);
404     background: -moz-linear-gradient(top, rgb(174, 174, 217), rgb(221, 221, 255));
405     background: -webkit-gradient(linear, left top, left bottom, from(rgb(174, 174, 217)), to(rgb(221, 221, 255)));
406     color:#000044;
407 }
408
409 kbd.fader {
410     border-width: 1px 1px 9px 9px;
411 }
412
413 kbd.knob {
414     border-radius:12px;
415     border-width: 1px 1px 9px 9px;
416 }
417
418 kbd.button {
419     border-radius:8px;
420     border-width: 1px 1px 3px 3px;
421 }
422
423 kbd.mouse {
424     border-radius:10px;
425 }
426
427
428 samp {
429     font-family:mono;
430     font-style:italic;
431     color:#333333;
432     background-color:transparent;
433     margin-left: 1ex;
434     margin-right: 1ex;
435 }
436
437 samp:before {
438     content:"\BB";
439 }
440
441 samp:after {
442     content:"\AB";
443 }
444
445 #content td {
446     padding: 0 1em 0 1em;
447 }
448
449 #content .small {
450     width:150px;
451 }
452
453 #subtopics ul {
454     font-size:20px;
455     font-weight:bold;
456 }
457
458 #content dfn {
459     font-weight: bold;
460     font-style: normal;
461 }
462
463 #content img.right {
464     margin: 0 0 1em 1em;
465     float:right;
466     clear:right;
467 }
468
469 #content img.left {
470     margin:0 1em 1em 0;
471     float:left;
472     clear:left;
473 }
474
475 #content img.center {
476     display: block;
477     margin:1em auto 1em auto;
478         clear: both;
479 }
480
481 #content p.center {
482         text-align:center;
483 }
484
485 #content .note,.warning,.fixme {
486     min-height: 20px;
487     padding: 19px;
488     margin-bottom: 20px;
489     border-style: solid;
490     border-width: 1px 1px 1px 8px;
491     -webkit-border-radius: 4px;
492        -moz-border-radius: 4px;
493             border-radius: 4px;
494     -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
495        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
496             box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
497
498 }
499
500 #content .note {
501     border-color: #e3e3e3;
502     background-color: #f5f5f5;
503 }
504
505 #content .warning {
506     border-color: #995555;
507     background-color: #ffeeee;
508 }
509
510 #content .fixme {
511     border-color: #999944;
512     background-color: #f0f0e0;
513     font-weight:bold;
514 }
515
516 .fixme:before {
517     content:'FIXME: ';
518     font-style: italic;
519     font-size:200%;
520 }
521
522
523 /* Keyboard modifiers */
524
525 .mod1:before {
526     content: "Ctrl ";
527 }
528 .mod2:before {
529     content: "Alt ";
530 }
531 .mod3:before {
532     content: "Shift ";
533 }
534 .mod4:before {
535     content: "Win ";
536 }
537 .mod12:before {
538     content: "Ctrl Alt ";
539 }
540 .mod13:before {
541     content: "Ctrl Shift ";
542 }
543 .mod14:before {
544     content: "Ctrl Win ";
545 }
546 .mod23:before {
547     content: "Alt Shift ";
548 }
549 .kp:before {
550     content: "Keypad ";
551 }
552
553 /* Variants *without* space after them (yes, these are needed!) */
554
555 .mod1n:before {
556     content: "Ctrl";
557 }
558 .mod2n:before {
559     content: "Alt";
560 }
561 .mod3n:before {
562     content: "Shift";
563 }
564 .mod4n:before {
565     content: "Win";
566 }
567 .mod12n:before {
568     content: "Ctrl Alt";
569 }
570 .mod13n:before {
571     content: "Ctrl Shift";
572 }
573 .mod14n:before {
574     content: "Ctrl Win";
575 }
576 .mod23n:before {
577     content: "Alt Shift";
578 }
579
580
581 /* Automagic translation for Mac based display */
582
583 .mac .mod1:before {
584     content: "Cmd ";
585 }
586 .mac .mod2:before {
587     content: "Ctrl ";
588 }
589 .mac .mod3:before {
590     content: "Shift ";
591 }
592 .mac .mod4:before {
593     content: "Opt ";
594 }
595 .mac .mod12:before {
596     content: "Cmd Ctrl ";
597 }
598 .mac .mod13:before {
599     content: "Cmd Shift ";
600 }
601 .mac .mod14:before {
602     content: "Cmd Opt ";
603 }
604 .mac .mod23:before {
605     content: "Ctrl Shift ";
606 }
607
608 /* No space variants (Mac based) */
609
610 .mac .mod1n:before {
611     content: "Cmd";
612 }
613 .mac .mod2n:before {
614     content: "Ctrl";
615 }
616 .mac .mod3n:before {
617     content: "Shift";
618 }
619 .mac .mod4n:before {
620     content: "Opt";
621 }
622 .mac .mod12n:before {
623     content: "Cmd Ctrl";
624 }
625 .mac .mod13n:before {
626     content: "Cmd Shift";
627 }
628 .mac .mod14n:before {
629     content: "Cmd Opt";
630 }
631 .mac .mod23n:before {
632     content: "Ctrl Shift";
633 }
634
635
636 #gs_tti0 {
637
638   padding-top: 2px;
639   padding-bottom: 0;
640
641 }
642
643 @media (max-width: 800px) {
644   #tree {
645     position: relative;
646     height: 250px;
647     width: 100%;
648     margin-top: 20px;
649   }
650   #content {
651     padding-left: 20px;
652     margin-top: 0px;
653   }
654 }
655
656 #chapter { padding-top: 1em; padding-left: 1em; }
657 #subchapter { padding-left: 4em; }
658 #section { padding-left: 6em; }
659 #subsection { padding-left: 8em; }
660
661 #content table.alternate{       border-collapse:collapse; }
662 .alternate td{ padding:7px; border:#4e95f4 1px solid; }
663 .alternate tr{ background: #b8d1f3; }
664 .alternate tr:nth-child(odd){ background: #b8d1f3; }
665 .alternate tr:nth-child(even){ background: #dae5f4; }
666
667 .container { position:relative; border: none;}
668 .hoverimg { position: absolute; border: none;  }
669 .hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }