]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
2963ff7b099034e7464322e629cfb28c38cbac8e
[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 #content table.dl {
71   font-size: 16px;
72   line-height: 28px;
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 #content, #tree {
95   font-family: Junge;
96 }
97
98 #content h1,
99 #content h2,
100 #content h3,
101 #content h4 {
102   font-weight: normal;
103 }
104
105 #content h1.title {
106   border-bottom: 2px solid #ccc;
107   padding-bottom: 10px;
108   margin-bottom: 40px;
109 }
110
111 #content h2 {
112   margin: 30px 0 20px 0;
113   padding-bottom: 5px;
114   font-size: 22px;
115   border-bottom: 2px solid #ddd;
116 }
117
118 #content h3 {
119   margin: 20px 0 10px 0;
120   padding-bottom: 5px;
121   font-size: 20px;
122   border-bottom: 1px solid #eee;
123 }
124
125 #content h4 {
126   font-size: 18px;
127   margin: 20px 0 10px 0;
128   padding-bottom: 10px;
129   border-bottom: 1px solid #eee;
130 }
131
132 #content table {
133   width:100%;
134   margin: 1em 0;
135   padding: 0;
136   font-weight: normal;
137   text-align: left;
138 }
139
140 #content table tr {
141   border-bottom: 2px solid #eeeeee;
142 }
143
144 #content table tr:nth-child(odd){
145   background-color: white;
146 }
147
148 #content table tr:nth-child(even){
149   background-color: #f5f5f5;
150 }
151
152 #content table tr:hover {
153   background-color: #F2F9FF;
154 }
155
156 #content table td, th {
157   margin: 0;
158   padding: 5px;
159   font-weight: normal;
160 }
161
162 #content table th.sub1 {
163   padding-left: 2em;
164 }
165
166 #content table th.sub2 {
167   padding-left: 4em;
168 }
169
170 #content table thead {
171   font-weight:bold;
172 }
173
174 #content table.dl th {
175   /* dl class (definition list) is for 2-columns tables that describe properties:
176   maximmizes the width of the 2nd (description) column */
177   min-width: 20%;
178   vertical-align: top;
179 }
180
181 #content table.dl td {
182   width: 100%;
183 }
184
185 #content dl
186 {
187   float:none;
188   clear:both;
189   width:100%;
190   margin: 1em 0;
191   padding: 0;
192   display:inline-block;
193 }
194
195 #content dl:after {
196   content:' ';
197   display:block;
198   clear:both;
199 }
200
201 #content dt, #content dd {
202   border-top: 2px solid #eee;
203   float: left;
204   margin: 0;
205   padding: 5px;
206   font-weight: normal;
207 }
208
209 #content dt {
210   clear: left;
211   width: 25%;
212 }
213
214 #content dd {
215   width: 65%;
216 }
217
218 #content dt.sub1 {
219   padding-left: 2em;
220 }
221
222 #content dt.sub2 {
223   padding-left: 4em;
224 }
225
226 #content dt:first-child,
227 #content dd:nth-child(2) {
228   border-top: none;
229 }
230
231
232 #content figure {
233   display: table;
234 }
235
236 #content figcaption {
237         display: table-caption;
238         caption-side: bottom;
239         font-style: italic;
240 }
241
242 #content figcaption.center {
243         text-align: center;
244         caption-side: bottom;
245 }
246
247 #content figcaption.titleover {
248   text-align: center;
249         caption-side: top ;
250 }
251
252 #content figure.right {
253   margin: 0 0 1em 1em;
254   float: right;
255   clear: right;
256 }
257
258 #content figure.left {
259   margin: 0 1em 1em 0;
260   float: left;
261   clear: left;
262 }
263
264 #content figure.center {
265   margin: 1em auto 1em auto;
266   clear: both;
267 }
268
269 .multicol2 {
270   width: 48%;
271         float:left;
272         padding:0 0 0 2%;
273         margin:0;
274 }
275
276 .multicol3 {
277   width: 31%;
278         float:left;
279         padding:0 0 0 2%;
280         margin:0;
281 }
282
283 kbd {
284   display: inline-block;
285   min-width: 1em;
286   padding: .2em .3em;
287   font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif;
288   text-align: center;
289   text-decoration: none;
290   border-radius: .3em;
291   cursor: default;
292   -moz-user-select: none;
293   -webkit-user-select: none;
294   user-select: none;
295   background: rgb(250, 250, 250);
296   background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255));
297   background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255)));
298   color:  rgb(50, 50, 50);
299   text-shadow: 0 0 2px rgb(255, 255, 255);
300   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);
301   white-space:nowrap;
302   text-transform:capitalize;
303 }
304
305 kbd.input,kbd.cmd,kbd.osc {
306   font-family:mono;
307   border-width:0;
308   text-transform:none;
309 }
310
311 kbd.input {
312   background:none;
313   border-radius: 0;
314 }
315
316 kbd.cmd {
317   display:block;
318   width:100%;
319   margin-bottom:1ex;
320   text-transform:none;
321   background: rgb(220, 220, 220);
322   text-shadow: none;
323   box-shadow: none;
324   text-align:left;
325 }
326
327 kbd.cmd.lin:before {
328   content: 'user@linux:~ ';
329   color:#999999;
330 }
331
332 kbd.cmd.mac:before {
333   content: 'MacBook:~/Desktop User\$ ';
334   color:#999999;
335 }
336
337 kbd.cmd.win:before {
338   content: 'C:\\Users\\myAccount> ';
339   color:#999999;
340 }
341
342 kbd.optoff, kbd.option {
343   border:none;
344   background:none;
345 }
346
347 kbd.optoff:before {
348   content:url('/images/checkbox-unchecked.png');
349   margin: 0 5px 0 0;
350   vertical-align:middle;
351 }
352
353 kbd.option:before {
354   content:url('/images/checkbox-checked.png');
355   margin: 0 5px 0 0;
356   vertical-align:middle;
357 }
358
359 kbd.menu {
360   border:none;
361   background:none;
362   font-weight:bold;
363   font-stretch:extra-condensed;
364   white-space:normal;
365 }
366
367 kbd.osc {
368   border:none;
369   background: rgb(208, 208, 243);
370   font-stretch:extra-condensed;
371   white-space: nowrap;
372   text-align:left;
373 }
374
375 kbd.fader, kbd.knob, kbd.button {
376   background: rgb(174, 174, 217);
377   background: -moz-linear-gradient(top, rgb(174, 174, 217), rgb(221, 221, 255));
378   background: -webkit-gradient(linear, left top, left bottom, from(rgb(174, 174, 217)), to(rgb(221, 221, 255)));
379   color:#000044;
380 }
381
382 kbd.fader {
383   border-width: 1px 1px 9px 9px;
384 }
385
386 kbd.knob {
387   border-radius:12px;
388   border-width: 1px 1px 9px 9px;
389 }
390
391 kbd.button {
392   border-radius:8px;
393   border-width: 1px 1px 3px 3px;
394 }
395
396 kbd.mouse {
397   border-radius:10px;
398 }
399
400 samp {
401   font-family:mono;
402   font-style:italic;
403   color:#333333;
404   background-color:transparent;
405   margin-left: 1ex;
406   margin-right: 1ex;
407 }
408
409 samp:before {
410   content:"\BB";
411 }
412
413 samp:after {
414   content:"\AB";
415 }
416
417 #subtopics ul {
418   font-size:20px;
419   font-weight:bold;
420 }
421
422 #content dfn {
423   font-weight: bold;
424   font-style: normal;
425 }
426
427 #content img.right {
428   margin: 0 0 1em 1em;
429   float:right;
430   clear:right;
431 }
432
433 #content img.left {
434   margin:0 1em 1em 0;
435   float:left;
436   clear:left;
437 }
438
439 #content img.center {
440   display: block;
441   margin:1em auto 1em auto;
442         clear: both;
443 }
444
445 #content p.center {
446         text-align:center;
447 }
448
449 #content .note,.warning,.fixme {
450   min-height: 20px;
451   padding: 19px;
452   margin-bottom: 20px;
453   border-style: solid;
454   border-width: 1px 1px 1px 8px;
455   -webkit-border-radius: 4px;
456      -moz-border-radius: 4px;
457           border-radius: 4px;
458   -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
459      -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
460           box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
461 }
462
463 #content code {
464   font-size: 14px;
465   color: #555;
466 }
467
468 #content .note {
469   border-color: #e3e3e3;
470   background-color: #f5f5f5;
471 }
472
473 #content .warning {
474   border-color: #995555;
475   background-color: #ffeeee;
476 }
477
478 #content .fixme {
479   border-color: #999944;
480   background-color: #f0f0e0;
481   font-weight:bold;
482 }
483
484 .fixme:before {
485   content:'FIXME: ';
486   font-style: italic;
487   font-size:200%;
488 }
489
490
491 /* Keyboard modifiers */
492
493 .mod1:before {        content: "Ctrl ";}
494 .mod2:before {        content: "Alt ";}
495 .mod3:before {        content: "Shift ";}
496 .mod4:before {        content: "Win ";}
497 .mod12:before {       content: "Ctrl Alt ";}
498 .mod13:before {       content: "Ctrl Shift ";}
499 .mod14:before {       content: "Ctrl Win ";}
500 .mod23:before {       content: "Alt Shift ";}
501 .kp:before {          content: "Keypad ";}
502 /* Variants *without* space after them (yes, these are needed!) */
503 .mod1n:before {       content: "Ctrl";}
504 .mod2n:before {       content: "Alt";}
505 .mod3n:before {       content: "Shift";}
506 .mod4n:before {       content: "Win";}
507 .mod12n:before {      content: "Ctrl Alt";}
508 .mod13n:before {      content: "Ctrl Shift";}
509 .mod14n:before {      content: "Ctrl Win";}
510 .mod23n:before {      content: "Alt Shift";}
511 /* Automagic translation for Mac based display */
512 .mac .mod1:before {   content: "Cmd ";}
513 .mac .mod2:before {   content: "Ctrl ";}
514 .mac .mod3:before {   content: "Shift ";}
515 .mac .mod4:before {   content: "Opt ";}
516 .mac .mod12:before {  content: "Cmd Ctrl ";}
517 .mac .mod13:before {  content: "Cmd Shift ";}
518 .mac .mod14:before {  content: "Cmd Opt ";}
519 .mac .mod23:before {  content: "Ctrl Shift ";}
520 /* No space variants (Mac based) */
521 .mac .mod1n:before {  content: "Cmd";}
522 .mac .mod2n:before {  content: "Ctrl";}
523 .mac .mod3n:before {  content: "Shift";}
524 .mac .mod4n:before {  content: "Opt";}
525 .mac .mod12n:before { content: "Cmd Ctrl";}
526 .mac .mod13n:before { content: "Cmd Shift";}
527 .mac .mod14n:before { content: "Cmd Opt";}
528 .mac .mod23n:before { content: "Ctrl Shift";}
529
530 #gs_tti0 {
531   padding-top: 2px;
532   padding-bottom: 0;
533 }
534
535 @media (max-width: 800px) {
536   #tree {
537     position: relative;
538     height: 250px;
539     width: 100%;
540     margin-top: 20px;
541   }
542   #content {
543     padding-left: 20px;
544     margin-top: 0px;
545   }
546 }
547
548 /* for the TOC */
549 #chapter { padding-top: 1em; padding-left: 1em; }
550 #subchapter { padding-left: 4em; }
551 #section { padding-left: 6em; }
552 #subsection { padding-left: 8em; }
553
554 /* for images sliced in divs, as in http://manual.ardour.org/ardours-interface/about/ */
555 .container { position:relative; border: none;}
556 .hoverimg { position: absolute; border: none;  }
557 .hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }