]> Shamusworld >> Repos - ardour-manual/blob - source/css/app.css
HTML infinity is 'infin'
[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 .clear {
17   clear:both;
18 }
19
20 #tree {
21   background-color: #212A30;
22   line-height: 1.8ex;
23   height: 100%;
24   overflow: scroll;
25   position: fixed;
26   top: 0;
27   bottom: 0;
28   left: 0;
29   width: 20em;
30   padding: 1em 1em 2em 1.5em;
31 }
32
33 #tree h1 {
34   font-size: 1.75em;
35   margin-bottom: 1em;
36   font-weight: normal;
37 }
38
39 #tree ul {
40   padding-left: 1em;
41   list-style-type: none;
42 }
43
44 #tree a {
45   display: inline !important;
46   font-size: 0.88em;
47   line-height: 2em;
48   color: #E4E4E4;
49   border-bottom: 1px solid transparent;
50 }
51
52 #tree a:hover {
53   text-decoration: none;
54   border-bottom: 1px solid #aaa;
55 }
56
57 #tree .active > a {
58   display: inline;
59   color: #FF8080;
60 }
61
62 #content {
63   padding: 1em 2em 2ex 21em;
64   margin-left: 0;
65   line-height: 2em;
66 }
67
68 #content h1,
69 #content h2,
70 #content h3,
71 #content h4 {
72   font-weight: normal;
73   padding-bottom: .3ex;
74 }
75
76 #content h1 {
77   font-size: 1.8em;
78   margin: 0 0 2ex 0;
79   padding-bottom: .8ex;
80   border-bottom: 2px solid #ccc;
81 }
82
83 #content h2 {
84   font-size: 1.3em;
85   margin: 2ex 0 1ex 0;
86   border-bottom: 2px solid #ddd;
87 }
88
89 #content h3 {
90   font-size: 1.2em;
91   margin: 1.5ex 0 1ex 0;
92   border-bottom: 1px solid #eee;
93 }
94
95 #content h4 {
96   font-size: 1.1em;
97   margin: 1.5ex 0 .5ex 0;
98   border-bottom: 1px solid #eee;
99 }
100
101 #content table {
102   width:100%;
103   margin: 1em 0;
104   padding: 0;
105   font-weight: normal;
106   text-align: left;
107 }
108
109 #content table tr {
110   border-bottom: 2px solid #eeeeee;
111 }
112
113 #content table tr:nth-child(odd){
114   background-color: white;
115 }
116
117 #content table tr:nth-child(even){
118   background-color: #f5f5f5;
119 }
120
121 #content table tr:hover {
122   background-color: #F2F9FF;
123 }
124
125 #content table td,
126 #content table th {
127   margin: 0;
128   padding: .5em;
129 }
130
131 #content table th {
132   font-weight: bold;
133 }
134
135 #content table th.sub1 {
136   padding-left: 2em;
137 }
138
139 #content table th.sub2 {
140   padding-left: 4em;
141 }
142
143 #content table thead {
144   font-weight:bold;
145 }
146
147 #content table.dl th {
148   /* dl class (definition list) is for 2-columns tables that describe properties:
149   maximmizes the width of the 2nd (description) column */
150   vertical-align: top;
151   min-width: 20%;
152   white-space:nowrap
153 }
154
155 #content table.dl td {
156   vertical-align: top;
157   width: 100%;
158 }
159
160 #content ul,
161 #content ol {
162         overflow: hidden;
163 }
164
165 #content figure {
166   display: table;
167 }
168
169 #content figcaption {
170         display: table-caption;
171         caption-side: bottom;
172         font-style: italic;
173   padding-top: 0.5em;
174   padding-bottom: 1em;
175 }
176
177 #content figcaption.center {
178         text-align: center;
179 }
180
181 #content figcaption.titleover {
182   text-align: center;
183         caption-side: top ;
184 }
185
186 #content figure.right {
187   margin: 0 0 1em 1em;
188   float: right;
189   clear: right;
190 }
191
192 #content figure.left {
193   margin: 0 1em 1em 0;
194   float: left;
195   clear: left;
196 }
197
198 #content figure.center {
199   margin: 1em auto 1em auto;
200   clear: both;
201 }
202
203 kbd {
204   display: inline-block;
205   min-width: 1em;
206   padding: .2em .3em;
207   font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif;
208   text-align: center;
209   text-decoration: none;
210   border-radius: .3em;
211   cursor: default;
212   background: rgb(250, 250, 250);
213   background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255));
214   background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255)));
215   color:  rgb(50, 50, 50);
216   text-shadow: 0 0 2px rgb(255, 255, 255);
217   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);
218   white-space:nowrap;
219   text-transform:capitalize;
220 }
221
222 kbd.def {
223   font-weight:bolder;
224         margin-right:.2em;
225 }
226
227 kbd.input,
228 kbd.cmd,
229 kbd.osc {
230   font-family:mono;
231   border-width:0;
232   text-transform:none;
233 }
234
235 kbd.input {
236   background:none;
237   border-radius: 0;
238 }
239
240 kbd.cmd {
241   display:block;
242   width:100%;
243   margin-bottom:1ex;
244   text-transform:none;
245   background: rgb(220, 220, 220);
246   text-shadow: none;
247   box-shadow: none;
248   text-align:left;
249 }
250
251 kbd.cmd.lin:before {
252   content: 'user@linux:~ ';
253   color:#999999;
254 }
255
256 kbd.cmd.mac:before {
257   content: 'MacBook:~/Desktop User\$ ';
258   color:#999999;
259 }
260
261 kbd.cmd.win:before {
262   content: 'C:\\Users\\myAccount> ';
263   color:#999999;
264 }
265
266 kbd.optoff,
267 kbd.option {
268   border:none;
269   background:none;
270 }
271
272 kbd.optoff:before {
273   content:url('/images/checkbox-unchecked.png');
274   margin: 0 1em 0 0;
275   vertical-align:middle;
276 }
277
278 kbd.option:before {
279   content:url('/images/checkbox-checked.png');
280   margin: 0 1em 0 0;
281   vertical-align:middle;
282 }
283
284 kbd.menu {
285   border:none;
286   background:none;
287   font-weight:bold;
288   font-stretch:extra-condensed;
289   white-space:normal;
290 }
291
292 kbd.osc {
293   border:none;
294   background: rgb(208, 208, 243);
295   font-stretch:extra-condensed;
296   white-space: nowrap;
297   text-align:left;
298 }
299
300 kbd.fader,
301 kbd.knob,
302 kbd.button {
303   background: rgb(174, 174, 217);
304   background: -moz-linear-gradient(top, rgb(174, 174, 217), rgb(221, 221, 255));
305   background: -webkit-gradient(linear, left top, left bottom, from(rgb(174, 174, 217)), to(rgb(221, 221, 255)));
306   color:#000044;
307 }
308
309 kbd.fader {
310   border-width: 1px 1px 9px 9px;
311 }
312
313 kbd.knob {
314   border-radius:12px;
315   border-width: 1px 1px 9px 9px;
316 }
317
318 kbd.button {
319   border-radius:8px;
320   border-width: 1px 1px 3px 3px;
321 }
322
323 kbd.mouse {
324   border-radius:10px;
325 }
326
327 samp {
328   font-family:mono;
329   font-style:italic;
330   color:#333333;
331   background-color:transparent;
332   margin-left: 1em;
333   margin-right: 1em;
334 }
335
336 samp:before {
337   content:"\BB";
338 }
339
340 samp:after {
341   content:"\AB";
342 }
343
344 #content dfn {
345   font-weight: bold;
346   font-style: normal;
347 }
348
349 #content img.mini {
350   width: 200px;
351 }
352
353 #content img.mini:hover {
354   width: 100%;
355   /*transition: width .5s ease; doesn't work on right-floated figures */
356 }
357
358 #content p.center {
359         text-align:center;
360 }
361
362 #content .note,
363 #content .warning,
364 #content .fixme {
365   min-height: 1.5ex;
366   padding: 1em;
367   margin-bottom: 1em;
368   border-style: solid;
369   border-width: 1px 1px 1px 8px;
370 }
371
372 #content code {
373   font-size: .9em;
374   color: #555;
375 }
376
377 #content .note {
378   border-color: #e3e3e3;
379   background-color: #f5f5f5;
380 }
381
382 #content .warning {
383   border-color: #995555;
384   background-color: #ffeeee;
385 }
386
387 #content .fixme {
388   border-color: #999944;
389   background-color: #f0f0e0;
390   font-weight:bold;
391 }
392
393 .fixme:before {
394   content:'FIXME: ';
395   font-style: italic;
396   font-size:2em;
397 }
398
399 /* Keyboard modifiers */
400 .mod1:before {        content: "Ctrl ";}
401 .mod2:before {        content: "Alt ";}
402 .mod3:before {        content: "Shift ";}
403 .mod4:before {        content: "Win ";}
404 .mod12:before {       content: "Ctrl Alt ";}
405 .mod13:before {       content: "Ctrl Shift ";}
406 .mod14:before {       content: "Ctrl Win ";}
407 .mod23:before {       content: "Alt Shift ";}
408 .kp:before {          content: "Keypad ";}
409 /* Variants *without* space after them (yes, these are needed!) */
410 .mod1n:before {       content: "Ctrl";}
411 .mod2n:before {       content: "Alt";}
412 .mod3n:before {       content: "Shift";}
413 .mod4n:before {       content: "Win";}
414 .mod12n:before {      content: "Ctrl Alt";}
415 .mod13n:before {      content: "Ctrl Shift";}
416 .mod14n:before {      content: "Ctrl Win";}
417 .mod23n:before {      content: "Alt Shift";}
418 /* Automagic translation for Mac based display */
419 .mac .mod1:before {   content: "Cmd ";}
420 .mac .mod2:before {   content: "Ctrl ";}
421 .mac .mod3:before {   content: "Shift ";}
422 .mac .mod4:before {   content: "Opt ";}
423 .mac .mod12:before {  content: "Cmd Ctrl ";}
424 .mac .mod13:before {  content: "Cmd Shift ";}
425 .mac .mod14:before {  content: "Cmd Opt ";}
426 .mac .mod23:before {  content: "Ctrl Shift ";}
427 /* No space variants (Mac based) */
428 .mac .mod1n:before {  content: "Cmd";}
429 .mac .mod2n:before {  content: "Ctrl";}
430 .mac .mod3n:before {  content: "Shift";}
431 .mac .mod4n:before {  content: "Opt";}
432 .mac .mod12n:before { content: "Cmd Ctrl";}
433 .mac .mod13n:before { content: "Cmd Shift";}
434 .mac .mod14n:before { content: "Cmd Opt";}
435 .mac .mod23n:before { content: "Ctrl Shift";}
436
437 @media (max-width: 800px) {
438   #tree {
439     position: relative;
440     height: 250px;
441     width: 100%;
442     margin-top: 20px;
443   }
444   #content {
445     padding-left: 20px;
446     margin-top: 0px;
447   }
448 }
449
450 /* for the TOC */
451 #content p.chapter,
452 #content p.subchapter,
453 #content p.section,
454 #content p.subsection {
455   line-height:1em;
456 }
457 #content p.chapter { padding-top: 1em; padding-left: 1em; padding-bottom:1em; }
458 #content p.subchapter { padding-left: 4em; }
459 #content p.section { padding-left: 6em; }
460 #content p.subsection { padding-left: 8em; }
461
462 /* for images sliced in divs, as in http://manual.ardour.org/ardours-interface/about/ */
463 .container { position: relative; border: none; }
464 .hoverimg { position: absolute; border: none; }
465 .hoverimg:hover{ z-index:100; box-shadow: 0 0 .2em .2em lightgreen; }