]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
back to some semblance of CSS sanity
[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   -moz-user-select: none;
251   -webkit-user-select: none;
252   user-select: none;
253   background: rgb(250, 250, 250);
254   background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255));
255   background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255)));
256   color:  rgb(50, 50, 50);
257   text-shadow: 0 0 2px rgb(255, 255, 255);
258   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);
259   white-space:nowrap;
260   text-transform:capitalize;
261 }
262
263 kbd.input,kbd.cmd,kbd.osc {
264   font-family:mono;
265   border-width:0;
266   text-transform:none;
267 }
268
269 kbd.input {
270   background:none;
271   border-radius: 0;
272 }
273
274 kbd.cmd {
275   display:block;
276   width:100%;
277   margin-bottom:1ex;
278   text-transform:none;
279   background: rgb(220, 220, 220);
280   text-shadow: none;
281   box-shadow: none;
282   text-align:left;
283 }
284
285 kbd.cmd.lin:before {
286   content: 'user@linux:~ ';
287   color:#999999;
288 }
289
290 kbd.cmd.mac:before {
291   content: 'MacBook:~/Desktop User\$ ';
292   color:#999999;
293 }
294
295 kbd.cmd.win:before {
296   content: 'C:\\Users\\myAccount> ';
297   color:#999999;
298 }
299
300 kbd.optoff, kbd.option {
301   border:none;
302   background:none;
303 }
304
305 kbd.optoff:before {
306   content:url('/images/checkbox-unchecked.png');
307   margin: 0 5px 0 0;
308   vertical-align:middle;
309 }
310
311 kbd.option:before {
312   content:url('/images/checkbox-checked.png');
313   margin: 0 5px 0 0;
314   vertical-align:middle;
315 }
316
317 kbd.menu {
318   border:none;
319   background:none;
320   font-weight:bold;
321   font-stretch:extra-condensed;
322   white-space:normal;
323 }
324
325 kbd.osc {
326   border:none;
327   background: rgb(208, 208, 243);
328   font-stretch:extra-condensed;
329   white-space: nowrap;
330   text-align:left;
331 }
332
333 kbd.fader, kbd.knob, kbd.button {
334   background: rgb(174, 174, 217);
335   background: -moz-linear-gradient(top, rgb(174, 174, 217), rgb(221, 221, 255));
336   background: -webkit-gradient(linear, left top, left bottom, from(rgb(174, 174, 217)), to(rgb(221, 221, 255)));
337   color:#000044;
338 }
339
340 kbd.fader {
341   border-width: 1px 1px 9px 9px;
342 }
343
344 kbd.knob {
345   border-radius:12px;
346   border-width: 1px 1px 9px 9px;
347 }
348
349 kbd.button {
350   border-radius:8px;
351   border-width: 1px 1px 3px 3px;
352 }
353
354 kbd.mouse {
355   border-radius:10px;
356 }
357
358 samp {
359   font-family:mono;
360   font-style:italic;
361   color:#333333;
362   background-color:transparent;
363   margin-left: 1ex;
364   margin-right: 1ex;
365 }
366
367 samp:before {
368   content:"\BB";
369 }
370
371 samp:after {
372   content:"\AB";
373 }
374
375 #subtopics ul {
376   font-size:20px;
377   font-weight:bold;
378 }
379
380 #content dfn {
381   font-weight: bold;
382   font-style: normal;
383 }
384
385 #content img.right {
386   margin: 0 0 1em 1em;
387   float:right;
388   clear:right;
389 }
390
391 #content img.left {
392   margin:0 1em 1em 0;
393   float:left;
394   clear:left;
395 }
396
397 #content img.center {
398   display: block;
399   margin:1em auto 1em auto;
400         clear: both;
401 }
402
403 #content p.center {
404         text-align:center;
405 }
406
407 #content .note,.warning,.fixme {
408   min-height: 20px;
409   padding: 19px;
410   margin-bottom: 20px;
411   border-style: solid;
412   border-width: 1px 1px 1px 8px;
413   -webkit-border-radius: 4px;
414      -moz-border-radius: 4px;
415           border-radius: 4px;
416   -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
417      -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
418           box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
419 }
420
421 #content code {
422   font-size: 14px;
423   color: #555;
424 }
425
426 #content .note {
427   border-color: #e3e3e3;
428   background-color: #f5f5f5;
429 }
430
431 #content .warning {
432   border-color: #995555;
433   background-color: #ffeeee;
434 }
435
436 #content .fixme {
437   border-color: #999944;
438   background-color: #f0f0e0;
439   font-weight:bold;
440 }
441
442 .fixme:before {
443   content:'FIXME: ';
444   font-style: italic;
445   font-size:200%;
446 }
447
448
449 /* Keyboard modifiers */
450
451 .mod1:before {        content: "Ctrl ";}
452 .mod2:before {        content: "Alt ";}
453 .mod3:before {        content: "Shift ";}
454 .mod4:before {        content: "Win ";}
455 .mod12:before {       content: "Ctrl Alt ";}
456 .mod13:before {       content: "Ctrl Shift ";}
457 .mod14:before {       content: "Ctrl Win ";}
458 .mod23:before {       content: "Alt Shift ";}
459 .kp:before {          content: "Keypad ";}
460 /* Variants *without* space after them (yes, these are needed!) */
461 .mod1n:before {       content: "Ctrl";}
462 .mod2n:before {       content: "Alt";}
463 .mod3n:before {       content: "Shift";}
464 .mod4n:before {       content: "Win";}
465 .mod12n:before {      content: "Ctrl Alt";}
466 .mod13n:before {      content: "Ctrl Shift";}
467 .mod14n:before {      content: "Ctrl Win";}
468 .mod23n:before {      content: "Alt Shift";}
469 /* Automagic translation for Mac based display */
470 .mac .mod1:before {   content: "Cmd ";}
471 .mac .mod2:before {   content: "Ctrl ";}
472 .mac .mod3:before {   content: "Shift ";}
473 .mac .mod4:before {   content: "Opt ";}
474 .mac .mod12:before {  content: "Cmd Ctrl ";}
475 .mac .mod13:before {  content: "Cmd Shift ";}
476 .mac .mod14:before {  content: "Cmd Opt ";}
477 .mac .mod23:before {  content: "Ctrl Shift ";}
478 /* No space variants (Mac based) */
479 .mac .mod1n:before {  content: "Cmd";}
480 .mac .mod2n:before {  content: "Ctrl";}
481 .mac .mod3n:before {  content: "Shift";}
482 .mac .mod4n:before {  content: "Opt";}
483 .mac .mod12n:before { content: "Cmd Ctrl";}
484 .mac .mod13n:before { content: "Cmd Shift";}
485 .mac .mod14n:before { content: "Cmd Opt";}
486 .mac .mod23n:before { content: "Ctrl Shift";}
487
488 #gs_tti0 {
489   padding-top: 2px;
490   padding-bottom: 0;
491 }
492
493 @media (max-width: 800px) {
494   #tree {
495     position: relative;
496     height: 250px;
497     width: 100%;
498     margin-top: 20px;
499   }
500   #content {
501     padding-left: 20px;
502     margin-top: 0px;
503   }
504 }
505
506 /* for the TOC */
507 #chapter { padding-top: 1em; padding-left: 1em; }
508 #subchapter { padding-left: 4em; }
509 #section { padding-left: 6em; }
510 #subsection { padding-left: 8em; }
511
512 /* for images sliced in divs, as in http://manual.ardour.org/ardours-interface/about/ */
513 .container { position:relative; border: none;}
514 .hoverimg { position: absolute; border: none;  }
515 .hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }