/[svn]/doc/tmpl/css/main.css
ViewVC logotype

Contents of /doc/tmpl/css/main.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3272 - (show annotations) (download) (as text)
Sat Jun 3 15:38:32 2017 UTC (6 years, 10 months ago) by schoenebeck
File MIME type: text/css
File size: 29354 byte(s)
* Site Template: Several fixes for touch devices.
* Site Template: Fixed unintended animation on doc load.
* Site Template: Save and restore user selection of TOC state.

1 /*
2 CrudeDoc CSS Style
3 Copyright (c) 2015 - 2017 Christian Schoenebeck. All rights reserved.
4 http://www.crudebyte.com
5 */
6
7 @import 'fontsbase.css';
8 @import 'jquery-ui.css';
9
10 html {
11 font-family:CRDSans;
12 font-weight:200;
13 font-size:17px;
14 line-height:1.2;
15 background-color:#c1b5b5;
16 }
17
18 body {
19 padding:0;
20 margin:0;
21 background-color:#cbc3c2; /* fallback (non CSS3 browsers) */
22 background: -webkit-linear-gradient(left, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Safari 5.1 to 6.0 */
23 background: -o-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Opera 11.1 to 12.0 */
24 background: -moz-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Firefox 3.6 to 15 */
25 background: linear-gradient(to left, #cbc3c2, #bfb2b0); /* Standard syntax */
26 counter-reset:oli;
27 counter-reset:codeline;
28 -webkit-text-size-adjust:100%;
29 }
30
31 .no-effect {
32 -webkit-transition: none !important;
33 -moz-transition: none !important;
34 -ms-transition: none !important;
35 -o-transition: none !important;
36 transition: none !important;
37 }
38
39
40
41 /* top most header strip */
42
43 .lslogo {
44 position:fixed; top:2px; left:6px;
45 border:none;
46 }
47
48 header a {
49 color:#eaeaea;
50 text-decoration:none;
51 outline:none;
52 border:0;
53 }
54
55 header {
56 position:fixed; top:0px;
57 z-index:4;
58 display:table;
59 background-color:#898989;
60 color:#eaeaea;
61 width:100%;
62 padding: 6px 0px 6px 0px;
63 font-size:18px;
64 font-weight:200;
65 vertical-align:middle;
66 }
67
68 header > div {
69 display:table-cell;
70 text-align:left;
71 padding-left:39px;
72 vertical-align:middle;
73 }
74
75 header > menu {
76 display:table-cell;
77 font-family:CRDHigh;
78 font-weight:300;
79 font-size:17px;
80 text-align:right;
81 vertical-align:middle;
82 padding:0; margin:0;
83 }
84
85 header > menu a {
86 padding-right:20px;
87 text-shadow:none;
88 -webkit-transition: text-shadow 0.9s, color 0.9s; /* Safari */
89 -ms-transition: text-shadow 0.9s, color 0.9s;
90 -moz-transition: text-shadow 0.9s, color 0.9s;
91 -o-transition: text-shadow 0.9s, color 0.9s;
92 transition: text-shadow 0.9s linear, color 0.9s linear;
93 }
94
95 .no-touch header > menu a:hover,
96 .touch header > menu a:focus,
97 .touch header > menu a:active
98 {
99 color:#ffffff;
100 text-shadow: 0px 0px 13px #ff9999;
101 -webkit-transition: text-shadow 0.31s, color 0.31s; /* Safari */
102 -ms-transition: text-shadow 0.31s, color 0.31s;
103 -moz-transition: text-shadow 0.31s, color 0.31s;
104 -o-transition: text-shadow 0.31s, color 0.31s;
105 transition: text-shadow 0.31s linear, color 0.31s linear;
106 }
107
108 header > menu a:last-child {
109 padding-right:26px;
110 }
111
112
113
114 /* upper horizontal document tree navigation strip */
115
116 nav {
117 position:fixed; top:33px;
118 z-index:3;
119 width:100%;
120 font-size:18px;
121 border-bottom-style:solid;
122 border-bottom-width:1px;
123 border-bottom-color:#898989;
124 padding: 3px 0px 3px 172px;
125 background-color:#eaeaea; /* fallback (pre CSS3 browsers) */
126 background: -webkit-linear-gradient(rgba(251,251,251,1.0), rgba(186,186,186,1.0)); /* For Safari 5.1 to 6.0 */
127 background: -o-linear-gradient(rgba(251,251,251,1.0), rgba(186,186,186,1.0)); /* For Opera 11.1 to 12.0 */
128 background: -moz-linear-gradient(rgba(251,251,251,1.0), rgba(186,186,186,1.0)); /* For Firefox 3.6 to 15 */
129 background: linear-gradient(rgba(251,251,251,1.0), rgba(186,186,186,1.0)); /* Standard syntax */
130 box-shadow: 0px 10px 8px rgba(15,15,15,0.25);
131
132 -webkit-transition: -webkit-transform 0.16s ease, padding-left 0.2s ease;
133 -o-transition: -o-transform 0.16s ease, padding-left 0.2s ease;
134 -ms-transition: -ms-transform 0.16s ease, padding-left 0.2s ease;
135 -moz-transition: -moz-transform 0.16s ease, padding-left 0.2s ease;
136 transition: transform 0.16s ease, padding-left 0.2s ease;
137 }
138
139 .no-effect nav {
140 -webkit-transition: none !important;
141 -moz-transition: none !important;
142 -ms-transition: none !important;
143 -o-transition: none !important;
144 transition: none !important;
145 }
146
147 .no-toc nav {
148 padding-left:56px;
149
150 -webkit-transition: -webkit-transform 0.16s ease, padding-left 0.2s ease;
151 -o-transition: -o-transform 0.16s ease, padding-left 0.2s ease;
152 -ms-transition: -ms-transform 0.16s ease, padding-left 0.2s ease;
153 -moz-transition: -moz-transform 0.16s ease, padding-left 0.2s ease;
154 transition: transform 0.16s ease, padding-left 0.2s ease;
155 }
156
157 .no-effect
158 .no-toc nav {
159 -webkit-transition: none !important;
160 -moz-transition: none !important;
161 -ms-transition: none !important;
162 -o-transition: none !important;
163 transition: none !important;
164 }
165
166 nav > div.foldbtn {
167 display:block;
168 position:fixed;
169 top:33;
170 left:10;
171 color:#998952;
172 font-weight:200;
173 font-size:28px;
174 }
175
176 nav > ul {
177 list-style:none;
178 padding:0;
179 margin:0;
180 }
181
182 nav > ul > li {
183 color:#5d5d5d;
184 font-weight:200;
185 text-decoration:none;
186 float:left;
187 padding:4px 4px 4px 3px;
188 }
189
190 .no-touch nav > ul > li:hover,
191 .touch nav > ul > li.active
192 {
193 color:white;
194 background-color:rgba(80,80,80,0.5);
195 border-left-style:solid;
196 border-left-width:2px;
197 border-left-color:#a4a4a4;
198 border-right-style:solid;
199 border-right-width:2px;
200 border-right-color:#898989;
201 -webkit-border-top-right-radius: 8px;
202 -moz-border-radius-topright: 8px;
203 border-top-right-radius: 8px;
204 padding:4px 2px 4px 1px;
205 }
206
207 nav > ul > li:last-child {
208 color:black;
209 font-weight:500;
210 }
211
212 .no-touch nav > ul > li:last-child:hover,
213 .touch nav > ul > li:last-child.active
214 {
215 color:white;
216 }
217
218 nav > ul > li::before {
219 content: "���";
220 color:#b4b4b4;
221 padding-left:2px;
222 padding-right:5px;
223 }
224
225 .iOS
226 nav > ul > li::before {
227 font-family:"Hiragino Mincho ProN";
228 }
229
230 nav > ul > li:first-child::before {
231 content: "";
232 }
233
234 nav a {
235 text-decoration:none;
236 color:inherit;
237 outline:none;
238 border:0;
239 }
240
241 nav > ul > li ul { /* base rule for drop down menu */
242 overflow:auto;
243 position:absolute; top:32px;
244 min-width:230px;
245 list-style-type:none;
246 margin:0px 0px 0px -3px;
247 padding:1px 1px 1px 1px;
248 background-color:rgba(80,80,80,0.77);
249 border-bottom-style:solid;
250 border-bottom-width:4px;
251 border-bottom-color:#898989;
252 border-right-style:solid;
253 border-right-width:2px;
254 border-right-color:#898989;
255 border-left-style:solid;
256 border-left-width:2px;
257 border-left-color:#a4a4a4;
258 color:white;
259 -webkit-border-bottom-left-radius: 5px;
260 -moz-border-radius-bottomleft: 5px;
261 border-bottom-left-radius: 5px;
262 -webkit-border-bottom-right-radius: 5px;
263 -moz-border-radius-bottomright: 5px;
264 border-bottom-right-radius: 5px;
265 -webkit-border-top-right-radius: 5px;
266 -moz-border-radius-topright: 5px;
267 border-top-right-radius: 5px;
268 }
269
270 .hasTransform
271 nav > ul > li ul { /* rule extension for drop down menu */
272 display:block;
273 opacity:0;
274
275 -webkit-transform: scaleY(0);
276 -o-transform: scaleY(0);
277 -ms-transform: scaleY(0);
278 -moz-transform: scaleY(0);
279 transform: scaleY(0);
280
281 -webkit-transform-origin: top;
282 -o-transform-origin: top;
283 -ms-transform-origin: top;
284 -moz-transform-origin: top;
285 transform-origin: top;
286
287 -webkit-transition: -webkit-transform 0.16s ease, opacity 0.2s ease;
288 -o-transition: -o-transform 0.16s ease, opacity 0.2s ease;
289 -ms-transition: -ms-transform 0.16s ease, opacity 0.2s ease;
290 -moz-transition: -moz-transform 0.16s ease, opacity 0.2s ease;
291 transition: transform 0.16s ease, opacity 0.2s ease;
292 }
293
294
295 .no-touch .hasTransform nav > ul > li:hover ul,
296 .touch .hasTransform nav > ul > li.active ul
297 { /* rule extension for drop down menu */
298 display:block;
299 opacity:1;
300
301 -webkit-transform: scaleY(1);
302 -o-transform: scaleY(1);
303 -ms-transform: scaleY(1);
304 -moz-transform: scaleY(1);
305 transform: scaleY(1);
306
307 -webkit-transition: -webkit-transform 0.1s ease;
308 -o-transition: -o-transform 0.1s ease;
309 -ms-transition: -ms-transform 0.1s ease;
310 -moz-transition: -moz-transform 0.1s ease;
311 transition: transform 0.1s ease;
312 }
313
314 body:not(.hasTransform)
315 nav > ul > li ul { /* fallback rule extension for older browsers */
316 display:none;
317 }
318
319 body:not(.hasTransform)
320 nav > ul > li:hover ul { /* fallback rule extension for older browsers */
321 display:block;
322 }
323
324 nav > ul > li li {
325 padding:3px 14px 3px 14px;
326 -webkit-transition: background-color 0.45s; /* Safari */
327 -moz-transition: background-color 0.45s;
328 -ms-transition: background-color 0.45s;
329 -o-transition: background-color 0.45s;
330 transition: background-color 0.45s linear;
331 }
332
333 nav > ul > li li:hover {
334 background-color:rgba(255,0,0,0.32);
335 -webkit-transition: background-color 0.21s; /* Safari */
336 -moz-transition: background-color 0.21s;
337 -ms-transition: background-color 0.21s;
338 -o-transition: background-color 0.21s;
339 transition: background-color 0.21s linear;
340 }
341
342
343
344 /* article's table of contents (on left side) */
345
346 aside {
347 position:fixed; top:66px;
348 z-index:2;
349 width:180px;
350 max-height: -webkit-calc(100% - 67px);
351 max-height: -moz-calc(100% - 67px);
352 max-height: -o-calc(100% - 67px);
353 max-height: calc(100% - 67px);
354 overflow:auto;
355 overflow-x:hidden;
356 font-family:CRDHigh;
357 color:#5d5d5d;
358 padding:0 0 0 0;
359 margin:0 0 0 0;
360 border-right-style:solid;
361 border-right-width:1px;
362 border-right-color:#ababab;
363
364 -webkit-border-bottom-right-radius: 11px;
365 -moz-border-radius-bottomright: 11px;
366 border-bottom-right-radius: 11px;
367
368 -webkit-border-bottom-left-radius: 11px;
369 -moz-border-radius-bottomleft: 11px;
370 border-bottom-left-radius: 11px;
371
372 -webkit-transition: -webkit-transform 0.16s ease, width 0.2s ease;
373 -o-transition: -o-transform 0.16s ease, width 0.2s ease;
374 -ms-transition: -ms-transform 0.16s ease, width 0.2s ease;
375 -moz-transition: -moz-transform 0.16s ease, width 0.2s ease;
376 transition: transform 0.16s ease, width 0.2s ease;
377 }
378
379 .no-effect aside {
380 -webkit-transition: none !important;
381 -moz-transition: none !important;
382 -ms-transition: none !important;
383 -o-transition: none !important;
384 transition: none !important;
385 }
386
387 .no-toc aside {
388 overflow:hidden;
389 width:0;
390
391 -webkit-transition: -webkit-transform 0.16s ease, width 0.2s ease;
392 -o-transition: -o-transform 0.16s ease, width 0.2s ease;
393 -ms-transition: -ms-transform 0.16s ease, width 0.2s ease;
394 -moz-transition: -moz-transform 0.16s ease, width 0.2s ease;
395 transition: transform 0.16s ease, width 0.2s ease;
396 }
397
398 .no-effect
399 .no-toc aside {
400 -webkit-transition: none !important;
401 -moz-transition: none !important;
402 -ms-transition: none !important;
403 -o-transition: none !important;
404 transition: none !important;
405 }
406
407 aside > div.toc {
408 z-index:2;
409 width:inherit;
410 padding:0px 0px 0px 0px;
411 margin:0px 0px 0px 0px;
412
413 background-color:#cbc3c2; /* fallback (non CSS3 browsers) */
414 background: -webkit-linear-gradient(left, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Safari 5.1 to 6.0 */
415 background: -o-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Opera 11.1 to 12.0 */
416 background: -moz-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Firefox 3.6 to 15 */
417 background: linear-gradient(to left, #cbc3c2, #bfb2b0); /* Standard syntax */
418
419 -webkit-border-bottom-left-radius: 11px;
420 -moz-border-radius-bottomleft: 11px;
421 border-bottom-left-radius: 11px;
422
423 -webkit-border-bottom-right-radius: 11px;
424 -moz-border-radius-bottomright: 11px;
425 border-bottom-right-radius: 11px;
426 }
427
428 aside a {
429 text-decoration:inherit;
430 color:inherit;
431 outline:none;
432 border:0;
433 }
434
435 aside > div.toc ul {
436 list-style-type:none;
437 list-style-position:inside;
438 padding:0px 0px 0px 0px;
439 margin:0px 0px 0px 0px;
440 }
441
442 aside > div.toc > ul {
443 background-color:#d0d0d0; /* fallback (pre CSS3 browsers) */
444 background: -webkit-linear-gradient(rgba(255,255,255,0.43), rgba(136,136,136,1.49)); /* For Safari 5.1 to 6.0 */
445 background: -o-linear-gradient(rgba(255,255,255,0.43), rgba(136,136,136,0.49)); /* For Opera 11.1 to 12.0 */
446 background: -moz-linear-gradient(rgba(255,255,255,0.43), rgba(136,136,136,0.49)); /* For Firefox 3.6 to 15 */
447 background: linear-gradient(rgba(255,255,255,0.43), rgba(136,136,136,0.49)); /* Standard syntax */
448 }
449
450 aside > div.toc > ul > li {
451 font-size:20px;
452 font-weight:400;
453 margin:0px 0px 0px 0px;
454 padding:5px 20px 5px 24px;
455 border-bottom-style:solid;
456 border-bottom-width:1px;
457 border-bottom-color:#898989;
458 text-align:right;
459 -webkit-transition: background-color 0.45s; /* Safari */
460 -moz-transition: background-color 0.45s;
461 -ms-transition: background-color 0.45s;
462 -o-transition: background-color 0.45s;
463 transition: background-color 0.45s linear;
464 }
465
466 aside .current {
467 color:#caad2c;
468 text-shadow: 0px 0px 8px #fbf1f1;
469 }
470
471 aside > div.toc > ul > li > ul {
472 color:#5d5d5d;
473 }
474
475 aside > div.toc > ul > li > ul > li {
476 font-size:15px;
477 font-weight:200;
478 text-align:right;
479 padding:0;
480 margin: 4px 0px 4px 0px;
481 }
482
483 aside > div.toc > ul > li > ul > li.current {
484 color:#caad2c;
485 text-shadow: 0px 0px 8px #fbf1f1;
486 }
487
488
489 .no-touch aside > div.toc > ul > li:hover,
490 .touch aside > div.toc > ul > li:focus,
491 .touch aside > div.toc > ul > li:active
492 {
493 background-color:rgba(255,0,0,0.22);
494 -webkit-transition: background-color 0.25s; /* Safari */
495 -moz-transition: background-color 0.25s;
496 -ms-transition: background-color 0.25s;
497 -o-transition: background-color 0.25s;
498 transition: background-color 0.25s linear;
499 }
500
501 .no-touch aside > div.toc > ul > li > ul > li:hover,
502 .touch aside > div.toc > ul > li > ul > li:focus,
503 .touch aside > div.toc > ul > li > ul > li:active
504 {
505 list-style-type:disc;
506 }
507
508 aside > div.toc > div.buttons {
509 display:table;
510 width:100%;
511 overflow:hidden;
512 margin:3px 0px 0px 0px;
513 position:relative; bottom:2px;
514 z-index:8;
515 color:#5d5d5d;
516
517 -webkit-border-bottom-right-radius: 11px;
518 -moz-border-radius-bottomright: 11px;
519 border-bottom-right-radius: 11px;
520
521 -webkit-border-bottom-left-radius: 11px;
522 -moz-border-radius-bottomleft: 11px;
523 border-bottom-left-radius: 11px;
524 }
525
526 aside > div.toc > div.buttons > * {
527 display:table-cell;
528 width:50%;
529 font-family:CRDHigh;
530 font-weight:400;
531 color:#5d5d5d;
532 padding:4px 4px 4px 4px;
533 border-bottom-style:solid;
534 border-bottom-width:1px;
535 border-bottom-color:#898989;
536 }
537
538 aside > div.toc > div.buttons > .disabled {
539 color:#959595;
540 }
541
542 aside > div.toc > div.buttons > * {
543 background-color:#d4d4d8; /* fallback */
544 background-color:rgba(242,242,248,0.45);
545 -webkit-transition: background-color 0.5s; /* Safari */
546 -moz-transition: background-color 0.5s;
547 -ms-transition: background-color 0.5s;
548 -o-transition: background-color 0.5s;
549 transition: background-color 0.5s linear;
550 }
551
552 aside > div.toc > div.buttons > *:first-child {
553 text-align:left;
554
555 border-left-style:solid;
556 border-left-width:1px;
557 border-left-color:#898989;
558
559 -webkit-border-bottom-left-radius: 11px;
560 -moz-border-radius-bottomleft: 11px;
561 border-bottom-left-radius: 11px;
562 }
563
564 aside > div.toc > div.buttons > *:last-child {
565 text-align:right;
566
567 border-left-style:solid;
568 border-left-width:1px;
569 border-left-color:#898989;
570
571 /* FIXME: would create an undesired 1px gap on the right */
572 /*border-right-style:solid;
573 border-right-width:1px;
574 border-right-color:#898989;*/
575
576 -webkit-border-bottom-right-radius: 11px;
577 -moz-border-radius-bottomright: 11px;
578 border-bottom-right-radius: 11px;
579 }
580
581 .no-touch aside > div.toc > div.buttons > *:not(.disabled):hover,
582 .touch aside > div.toc > div.buttons > *:not(.disabled):focus,
583 .touch aside > div.toc > div.buttons > *:not(.disabled):active
584 {
585 background-color:rgba(255,0,0,0.21);
586 -webkit-transition: background-color 0.25s; /* Safari */
587 -moz-transition: background-color 0.25s;
588 -ms-transition: background-color 0.25s;
589 -o-transition: background-color 0.25s;
590 transition: background-color 0.25s linear;
591 }
592
593 aside > div.toc > div.buttons .arrow {
594 vertical-align:top;
595 font-size:15px;
596 }
597
598 .iOS
599 aside > div.toc > div.buttons .arrow {
600 font-family:"Hiragino Mincho ProN";
601 }
602
603
604
605 /* Article */
606
607 article {
608 display:block;
609 width: -webkit-calc(100% - 181);
610 width: -moz-calc(100% - 181);
611 width: -o-calc(100% - 181);
612 width: calc(100% - 181);
613 background-color:white;
614 margin-top: 67px;
615 padding: 16px 70px 95px 70px;
616 margin-left:181px;
617 font-size:18px;
618 font-weight:200;
619 border-left-style:solid;
620 border-left-width:1px;
621 border-left-color:#898989;
622
623 -webkit-transition: -webkit-transform 0.16s ease, margin-left 0.2s ease;
624 -o-transition: -o-transform 0.16s ease, margin-left 0.2s ease;
625 -ms-transition: -ms-transform 0.16s ease, margin-left 0.2s ease;
626 -moz-transition: -moz-transform 0.16s ease, margin-left 0.2s ease;
627 transition: transform 0.16s ease, margin-left 0.2s ease;
628 }
629
630 .no-effect article {
631 -webkit-transition: none !important;
632 -moz-transition: none !important;
633 -ms-transition: none !important;
634 -o-transition: none !important;
635 transition: none !important;
636 }
637
638 .no-toc article {
639 margin-left:0px;
640
641 -webkit-transition: -webkit-transform 0.16s ease, margin-left 0.2s ease;
642 -o-transition: -o-transform 0.16s ease, margin-left 0.2s ease;
643 -ms-transition: -ms-transform 0.16s ease, margin-left 0.2s ease;
644 -moz-transition: -moz-transform 0.16s ease, margin-left 0.2s ease;
645 transition: transform 0.16s ease, margin-left 0.2s ease;
646 }
647
648 .no-effect
649 .no-toc article {
650 -webkit-transition: none !important;
651 -moz-transition: none !important;
652 -ms-transition: none !important;
653 -o-transition: none !important;
654 transition: none !important;
655 }
656
657 article h1 {
658 clear:both;
659 border-bottom-style:solid;
660 border-bottom-width:1px;
661 border-bottom-color:#898989;
662 text-align:center;
663 font-family:CRDHigh;
664 font-size:32px;
665 font-weight:700;
666 color:#a19f9f;
667 padding-top:45px;
668 padding-bottom:28px;
669 margin-top:0;
670 margin-bottom:40px;
671 }
672
673 article h2 {
674 clear:both;
675 border-bottom-style:solid;
676 border-bottom-width:1px;
677 border-bottom-color:#898989;
678 font-family:CRDHigh;
679 font-size:26px;
680 font-weight:400;
681 padding-top:35px;
682 padding-bottom:16px;
683 margin-top:0;
684 margin-bottom:28px;
685 }
686
687 article h3 {
688 clear:both;
689 padding-top:20px;
690 padding-bottom:0px;
691 margin-top:0;
692 margin-bottom:0;
693 font-family:CRDHigh;
694 color:#9a6938;
695 font-size:24px;
696 font-weight:300;
697 }
698
699 article p {
700 clear:both;
701 }
702
703 /* automatically center the 1st paragraph (block) directly after a h1 type header (since that header type is centered as well) */
704 article h1 + p {
705 display:table; /*HACK: "block" would stretch the entire page width */
706 margin-left:auto;
707 margin-right:auto;
708 }
709
710 article a {
711 font-weight:400;
712 color:#1ba1dd;
713 text-decoration:none;
714 outline:none;
715 border:none;
716 }
717
718 article a img {
719 border:none;
720 text-decoration:none;
721 }
722
723 article li img {
724 float:left;
725 }
726
727 .no-touch article a:hover,
728 .touch article a:focus,
729 .touch article a:active
730 {
731 text-decoration:underline;
732 }
733
734 article ul {
735 font-weight:inherit;
736 padding:0 0 0 60px;
737 margin:0 0 21px 0;
738 }
739
740 article ul li {
741 list-style-type:disc;
742 padding:4px 0 0 14px;
743 margin:12px 0 0 0;
744 }
745
746
747 article ol {
748 counter-reset:oli;
749 font-weight:inherit;
750 padding:0 0 0 29px;
751 margin:0 0 21px 0;
752 }
753
754 article ol li:before {
755 content:counters(oli,".") ".";
756 counter-increment:oli;
757 font-weight:600;
758 margin:0 20px 0 0;
759 }
760
761 article ol li {
762 list-style-type:none;
763 padding:4px 0 0 14px;
764 margin:12px 0 0 0;
765 }
766
767
768
769 article code, article .code {
770 font-family:CRDCour;
771 color:#404040;
772 white-space:pre;
773 }
774
775 article code {
776 display:inline-block;
777 font-size:15px;
778 margin:0 3px 0px 3px;
779 padding:2px 6px 0px 6px;
780 background-color:#fcf9f9;
781 }
782
783 article > code {
784 display:block;
785 font-size:15px;
786 margin:0 37px 0 37px;
787 padding:2px 6px 0px 6px;
788 background-color:#fcf9f9;
789 }
790
791 article ul.code {
792 list-style:outside none none;
793 counter-reset:codeline;
794 font-size:14px;
795 font-weight:normal;
796 line-height:1.1;
797 margin:0 0 0 0;
798 padding:8px 0px 8px 0px;
799 }
800
801 article .code li {
802 display:block;
803 list-style-type:none;
804 white-space:pre-wrap;
805 border-left:32px solid #f9f3f3;
806 text-indent:-30px;
807 background-color:#fcf9f9;
808 margin:0 0 0 0;
809 padding:0 0 0 0;
810 }
811
812 article .code li:first-child {
813 padding-top:6px;
814 }
815
816 article .code li:last-child {
817 padding-bottom:3px;
818 }
819
820 article .code li:before {
821 display:inline-block;
822 white-space:pre;
823 content:counter(codeline,decimal) ". ";
824 counter-increment:codeline;
825 min-width:38px;
826 text-align:right;
827 color:#c9c9c9;
828 }
829
830 article .code .k, article code .k { /*keyword*/
831 font-weight:bold;
832 color:black;
833 }
834
835 article .code .n, article code .n { /*number*/
836 color:#c4950c;
837 }
838
839 article .code .i, article code .i { /*identifier (function name)*/
840 /*color:#0c4fc4;*/
841 color:#1ba1dd;
842 }
843
844 article .code .a, article code .a { /*array variable*/
845 color:#790cc4;
846 /*color:black;*/
847 }
848
849 article .code .c, article code .c { /*characters*/
850 color:#c40c0c;
851 }
852
853 article .code .s, article code .s { /*string variable*/
854 /*color:#9a693c;*/
855 /*color:black;*/
856 color:#790cc4;
857 }
858
859 article .code .v, article code .v { /*integer variable*/
860 /*color:black;*/
861 color:#790cc4;
862 }
863
864 article .code .h, article code .h { /*event handler*/
865 font-weight:bold;
866 color:#07c0cf;
867 }
868
869 article .code .q, article code .q { /*comment*/
870 color:#9c9c9c;
871 font-style:italic;
872 }
873
874 article .code .p, article code .p { /*preprocessor statements*/
875 /*color:#87b1a8;*/
876 color:#2f8a33;
877 /*font-style:italic;*/
878 font-weight:normal;
879 }
880
881 article .code .m, article code .m { /* metaphor (natural language text used as pseudo code) */
882 background-color:#ddf4fd;
883 font-size:14px;
884 color:black;
885 font-weight:normal;
886 border:solid 1px #73a3ab;
887 -webkit-border-radius: 10px;
888 -moz-border-radius: 10px;
889 border-radius: 10px;
890 margin:0 0 0 0;
891 padding:2px 4px 0px 4px;
892 }
893
894 article table {
895 margin:20px 37px 20px 37px;
896 padding:0 0 0 0;
897 /*background-color:red;*/
898 border:none;
899 border-collapse:collapse;
900 }
901
902 article tr {
903 padding:0 0 0 0;
904 margin:0 0 0 0;
905 }
906
907 article th {
908 background-color:#e0e0ff;
909 padding:0px 8px 0px 8px;
910 margin:0 0 0 0;
911 border:3px solid white;
912 font-size:16px;
913 font-weight:600;
914 }
915
916 article td {
917 background-color:#f9f7f7;
918 padding:4px 8px 4px 8px;
919 margin:0 0 0 0;
920 border:3px solid white;
921 font-size:16px;
922 font-weight:300;
923 line-height:1.2;
924 }
925
926 article table a {
927 font-weight:400;
928 }
929
930 article note:before {
931 white-space:pre-wrap;
932 content:'NOTE: ';
933 font-weight:500;
934 }
935
936 article note.important:before {
937 white-space:pre-wrap;
938 content:'IMPORTANT: ';
939 font-weight:500;
940 }
941
942 article note {
943 display:table; /*HACK: "block" would stretch the entire page width */
944 background-color:#ede8e8;
945 border-top:none;
946 border-right:none;
947 border-bottom:none;
948 border-left:solid 10px #898989;
949 margin: 24px auto 27px 43px;
950 padding: 15px 18px 15px 18px;
951 max-width: -webkit-calc(100% - 145px);
952 max-width: -moz-calc(100% - 145px);
953 max-width: -o-calc(100% - 145px);
954 max-width: calc(100% - 145px);
955 }
956
957 article td > note {
958 display:block; /*HACK: override "table" default value assigned above in the context of a table cell, otherwise padding will be ignored */
959 }
960
961 article note.important {
962 border-left:solid 10px #ff4141;
963 }
964
965 article > img, example > img {
966 display:block;
967 clear:both;
968 max-width:100%;
969 margin-left:auto;
970 margin-right:auto;
971 /*border:solid 1px #8e8e8e;*/
972 padding-top:25px;
973 border:none;
974 }
975
976 article p img {
977 display:inline-block;
978 float:left;
979 margin:4px 20px 19px 0px;
980 padding:0 0 0 0;
981 /*border:solid 1px #8e8e8e;*/
982 border:none;
983 max-width:99%;
984 }
985
986 article div.imgcptn {
987 display:block;
988 width:100%;
989 text-align:center;
990 font-weight:200;
991 color:#999999;
992 font-size:16px;
993 font-style:italic;
994 margin: 8px 0 16px 0;
995 }
996
997 article example:before {
998 display:block;
999 position:relative; top:-5px; left:-32px;
1000 content:'Example';
1001 font-weight:500;
1002 color:white;
1003 border:none;
1004 margin:0;
1005 padding:0;
1006 width:100px;
1007 background-color:#dedede;
1008 /* -moz-transform: rotate(30deg);
1009 -ms-transform: rotate(30deg);
1010 -o-transform: rotate(30deg);
1011 -webkit-transform: rotate(30deg);
1012 transform: rotate(90deg);
1013 transform-origin: 0% 50%;*/
1014 text-align:center;
1015 }
1016
1017 article example {
1018 display:inline-block;
1019
1020 width: -webkit-calc(100% - 80px);
1021 width: -moz-calc(100% - 80px);
1022 width: -o-calc(100% - 80px);
1023 width: calc(100% - 80px);
1024
1025 border-top:solid 1px #e5e5e5;
1026 border-right:solid 18px #dedede;
1027 border-bottom:solid 1px #e5e5e5;
1028 border-left:solid 18px #dedede;
1029 margin:0px, 20px, 0px, 20px;
1030 padding:5px 15px 8px 24px;
1031 }
1032
1033 article dir {
1034 display:block;
1035 list-style-type:none;
1036 background-image:url('../pix/folder.png');
1037 background-repeat:no-repeat;
1038 background-position:2px top;
1039 padding:0px;
1040 margin:0px;
1041 font-family:CRDCour;
1042 font-size:15px;
1043 color:#000000;
1044 }
1045
1046 article > dir, example > dir {
1047 padding-left:66px;
1048 background-position:36px top;
1049 }
1050
1051 article dir > * {
1052 padding-top:2px;
1053 padding-bottom:2px;
1054 padding-left:31px;
1055 }
1056
1057 article dir file {
1058 display:block;
1059 list-style-type:none;
1060 background-image:url('../pix/file.png');
1061 background-repeat:no-repeat;
1062 background-position:2px top;
1063 font-family:CRDCour;
1064 font-size:15px;
1065 color:#6f6f6f;
1066 }
1067
1068
1069
1070 /* article footer */
1071
1072 article > ul.docpager {
1073 display:table;
1074 margin:0 0 0 0;
1075 padding:50px 0 0 0;
1076 width:100%;
1077 }
1078
1079 article > ul.docpager > li {
1080 display:table-cell;
1081 width:33%;
1082 margin:0 0 0 0;
1083 padding:0 0 0 0;
1084 }
1085
1086 article > ul.docpager > li:nth-child(1) {
1087 text-align:left;
1088 padding-right:10px;
1089 }
1090
1091 article > ul.docpager > li:nth-child(1) > a:before {
1092 content: "��� ";
1093 }
1094
1095 .iOS
1096 article > ul.docpager > li:nth-child(1) > a:before {
1097 font-family:"Hiragino Mincho ProN";
1098 }
1099
1100 article > ul.docpager > li:nth-child(2) {
1101 text-align:center;
1102 padding-left:10px;
1103 padding-right:10px;
1104 }
1105
1106 article > ul.docpager > li:nth-child(2) > a:before {
1107 content: "��� ";
1108 }
1109
1110 .iOS
1111 article > ul.docpager > li:nth-child(2) > a:before {
1112 font-family:"Hiragino Mincho ProN";
1113 }
1114
1115 article > ul.docpager > li:nth-child(3) {
1116 text-align:right;
1117 padding-left:10px;
1118 }
1119
1120 article > ul.docpager > li:nth-child(3) > a:after {
1121 content: " ���";
1122 }
1123
1124 .iOS
1125 article > ul.docpager > li:nth-child(3) > a:after {
1126 font-family:"Hiragino Mincho ProN";
1127 }
1128
1129 article > .endline {
1130 font-family:CRDSans;
1131 font-size:16px;
1132 font-weight:300;
1133 color:#9d9d9d;
1134 border-top:solid 1px #dedede;
1135 border-left:none;
1136 border-right:none;
1137 border-bottom:none;
1138 margin:30px 0 0 0;
1139 padding:10px 0 0 0;
1140 }
1141
1142
1143
1144 /* very bottom footer */
1145
1146 footer {
1147 position:relative;
1148 z-index:1;
1149 display:block;
1150 width:100%;
1151 background-color:#aaaaaa; /* fallback */
1152 background: -webkit-linear-gradient(left, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Safari 5.1 to 6.0 */
1153 background: -o-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Opera 11.1 to 12.0 */
1154 background: -moz-linear-gradient(right, rgba(203,195,194,1.0), rgba(171,154,151,1.0)); /* For Firefox 3.6 to 15 */
1155 background: linear-gradient(to left, #cbc3c2, #bfb2b0); /* Standard syntax */
1156 margin:0px 0px 0px 0px;
1157 padding: 24px 0px 28px 0px;
1158 font-family: CRDHigh;
1159 font-size:15px;
1160 font-weight:200;
1161 color:white;
1162 text-align:center;
1163 border-top-style:solid;
1164 border-top-width:1px;
1165 border-top-color:#898989;
1166 }
1167
1168 footer a {
1169 color:inherit;
1170 text-decoration:none;
1171 outline:none;
1172 border:0;
1173 }
1174
1175 .no-touch footer a:hover,
1176 .touch footer a:focus,
1177 .touch footer a:active
1178 {
1179 text-decoration:underline;
1180 }

  ViewVC Help
Powered by ViewVC