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

Annotation of /doc/tmpl/css/main.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3267 - (hide annotations) (download) (as text)
Thu Jun 1 16:05:18 2017 UTC (6 years, 10 months ago) by schoenebeck
File MIME type: text/css
File size: 24496 byte(s)
* Site Template: Rendering fixes for iOS and MS IE.

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

  ViewVC Help
Powered by ViewVC