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