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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3271 - (show annotations) (download) (as text)
Fri Jun 2 18:56:03 2017 UTC (6 years, 10 months ago) by schoenebeck
File MIME type: text/css
File size: 27601 byte(s)
- Site Template: Adjust navbar x pos if content menu hidden.

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

  ViewVC Help
Powered by ViewVC