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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3268 - (show annotations) (download) (as text)
Thu Jun 1 18:54:52 2017 UTC (6 years, 10 months ago) by schoenebeck
File MIME type: text/css
File size: 25053 byte(s)
- Site Template: Fixed touch behavior with touch devices.

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

  ViewVC Help
Powered by ViewVC