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