gh-pages
css 687 lines 10.9 KB
Raw
1 /*
2 -----------------------------------------------
3 Grey Box Method - Layout CSS
4 ----------------------------------------------- */
5
6 html, body {
7 border-top: 5px solid #000;
8 color: #333;
9 padding: 0 0 40px;
10 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
11 }
12
13 #about_me img { border: 5px solid #333; margin: 3px; }
14
15 .info { background: #fff; padding: 10px;}
16
17 .article { border-bottom: 5px solid rgb(20,120,200); padding-bottom: 10px; margin-bottom: 15px;}
18
19 .non_home_box {
20 display: none;
21 }
22
23 #reflist h3 {
24 font-size: 1.1em;
25 background: #fff;
26 }
27 #reflist h3 a {
28 color: rgb(20,120,200);
29 }
30 #reflist h4 { font-size: 0.9em; }
31 #reflist .block { margin: 0; padding: 0; }
32
33 code { background: #ffe; padding: 2px 5px; }
34
35 p.nutshell {
36 background: #ddd;
37 padding: 5px;
38 }
39
40 .box pre {
41 margin-top: 10px;
42 padding: 8px;
43 background: #ffe;
44 color: #555;
45 }
46
47 .box code.code {
48 white-space:pre;
49 font-family: Consolas, 'Liberation Mono', Courier, monospace;
50 padding: 8px;
51 background: #ffe;
52 display: block;
53 margin: 10px;
54 color: #555;
55 }
56 pre b { color: #111; }
57 .red { color: #d33; }
58 .green { color: #383; }
59 .umber { color: #8A3324; }
60 .lblue { color: #55a; }
61 .blue { color: #447; }
62 .yellow { color: #993; }
63 .hl { background: #eea; }
64
65 .box h4 {
66 font-family: Consolas, 'Liberation Mono', Courier, monospace;
67 margin-top: 20px;
68 color: #833;
69 }
70 .box h4 small {
71 color: #888;
72 font-size: 0.8em;
73 margin-left: 10px;
74 font-weight: normal;
75 }
76
77 .note {
78 float: right;
79 border: 10px;
80 padding: 8px;
81 background: #dfd;
82 border: 1px solid #8a8;
83 width: 120px;
84 }
85 .note h3 {
86 font-size: 1.1em;
87 color: #353;
88 }
89
90 ul#menu {
91 background: rgb(20,120,200);
92 padding: .5em;
93 display: inline;
94 color: #fff;
95 }
96 ul#menu li {
97 border: 0;
98 margin: 0;
99 padding: 0;
100 padding-right: 10px;
101 padding-left: 10px;
102 display:inline;
103 font-size: 1.1em;
104 }
105
106 ul#menu li a { color: #fff; }
107
108 .scribble-preview {
109 background: #ff9;
110 padding: 8px;
111 border: 1px solid #ee6;
112 }
113
114 img#me { border: 8px solid #333; }
115
116 /* anchors
117 ----------------------------------------------- */
118 a {
119 color: #000;
120 font-weight:bold;
121 text-decoration: none;
122 }
123 a:hover {
124 color:#333;
125 }
126 a.page-button {
127 background: #e4eafa none 0 0 repeat-x;
128 border: solid 1px #c9172e;
129 color: #c9172e;
130 cursor: pointer;
131 display: inline-block;
132 font-weight: bold;
133 font-size: 12px;
134 line-height: 100%;
135 margin: 1px;
136 padding: 0.8em 1em;
137 position: relative;
138 text-decoration: none;
139 text-shadow: #fff 0 1px 0;
140 vertical-align: middle;
141 white-space: nowrap;
142 float:right;
143 background-image: -moz-linear-gradient(-90deg,
144 #eeeeee 1%,
145 #fdf6f7 5%,
146 #fae9eb 70%,
147 #f7dcdf 100%);
148 background-image: -webkit-gradient(linear,left top,left bottom,
149 color-stop(0.01, #eee),
150 color-stop(0.05, #fdf6f7),
151 color-stop(0.70, #fae9eb),
152 color-stop(1, #f7dcdf));
153 }
154 a.next-page {
155 border-right: none;
156 margin-right: 26px;
157 padding-right: 0;
158 }
159 a.next-page:after, a.prev-page:after {
160 border: solid 1px #c9172e;
161 content: '';
162 display: block;
163 position: absolute;
164 top: .37em;
165 width: 1.7em;
166 height: 1.7em;
167 text-shadow: none;
168 z-index: -1;
169 }
170 a.next-page:after {
171 right: -.97em;
172 -moz-transform: rotate(-45deg);
173 background-image: -moz-linear-gradient(-135deg,
174 #eeeeee 1%,
175 #fdf6f7 5%,
176 #fae9eb 70%,
177 #f7dcdf 100%);
178 -webkit-transform:rotate(-45deg);
179 background-image: -webkit-gradient(linear,100% 0%, 0% 100%,
180 color-stop(0.01, #eee),
181 color-stop(0.05, #fdf6f7),
182 color-stop(0.70, #fae9eb),
183 color-stop(1, #f7dcdf));
184 }
185
186 /* headings
187 ----------------------------------------------- */
188 h1, h2, h3, h4, h5, h6 {line-height:1.2em; margin-bottom:.3em;}
189 h2 {margin-top:1em; }
190 h5 {font-size:1.2em;}
191 h6 {font-size:1em; text-transform:uppercase;}
192 h3 { color: rgb(20,120,200); }
193
194 h1 a {
195 font-weight:normal;
196 }
197
198
199 /* branding
200 ----------------------------------------------- */
201 #branding {
202 font-weight:normal;
203 font-size:4em;
204 text-align:left;
205 padding:8px;
206 margin-bottom:0;
207 color: #333;
208 }
209
210
211 /* page heading
212 ----------------------------------------------- */
213 #page-heading {
214 padding: 5px;
215 background: #000;
216 color: #eee;
217 font-size:2em;
218 letter-spacing: 8px;
219 }
220
221
222 /* boxes
223 ----------------------------------------------- */
224 .box {
225 background:#eee;
226 margin-bottom:20px;
227 padding:10px 10px 1px 10px;
228 font-size: 1.1em;
229 }
230 .box h2 {
231 font-size:1em;
232 font-weight:normal;
233 text-transform:uppercase;
234 color:#fff;
235 background:#333;
236 margin:-10px -10px 0 -10px;
237 padding:6px 12px;
238 }
239 .box h2 .desc {
240 margin-left: 20px;
241 text-transform:none;
242 color: #aaa;
243 }
244 .box h2 a,
245 .box h2 a.visible {
246 background-color:#111;
247 color:#fff;
248 display:inline;
249 padding:6px 12px;
250 margin:-6px -12px;
251 border:none;
252 text-transform:none;
253 }
254 .box h2 .docs {
255 color: #999;
256 display:inline;
257 float: right;
258 background-color:#333;
259 }
260 .box h2 .docs a {
261 background-color:#333;
262 padding:0;
263 margin:0;
264 }
265
266 .grid_4 .box h2 a {
267 background-position: 97% 50%;
268 }
269 .grid_5 .box h2 a {
270 background-position: 98% 50%;
271 }
272 .grid_12 .box h2 a {
273 background-position: 99% 50%;
274 }
275
276
277 .box h2 a:hover {
278 background-color:#111;
279 }
280 .block {
281 padding-top:10px;
282 }
283 div.menu {
284 padding:0;
285 }
286 div.menu h2 {
287 margin:0;
288 }
289 div.menu .block {
290 padding-top:0;
291 }
292
293
294 /* paragraphs, quotes and lists
295 ----------------------------------------------- */
296 p {
297 margin-bottom:1em;
298 }
299 blockquote {
300 font-family: Consolas, 'Liberation Mono', Courier, monospace;
301 padding-left:1em;
302 border-left:4px solid #ccc;
303 }
304 blockquote cite {
305 font-size:.9em;
306 }
307 ul, ol {
308 padding-top:0;
309 }
310
311
312 /* menus
313 ----------------------------------------------- */
314 ul.menu {
315 list-style:none;
316 border-top:1px solid #bbb;
317 }
318 ul.menu li {
319 margin:0;
320 }
321 ul.menu li a {
322 display:block;
323 padding:4px 10px;
324 border-bottom:1px solid #ccc;
325 }
326 ul.menu li a:hover {
327 background:#eee;
328 }
329 ul.menu li a:active {
330 background:#ccc;
331 }
332
333
334 /* submenus
335 ----------------------------------------------- */
336 ul.menu ul {
337 list-style:none;
338 margin:0;
339 }
340 ul.menu ul li a {
341 padding-left:30px;
342 }
343
344
345 /* section menus
346 ----------------------------------------------- */
347 ul.section {
348 border-top:0;
349 margin-bottom:0;
350 }
351 ul.section li {
352 text-transform:uppercase;
353 }
354 ul.section li a {
355 background:#bbb;
356 }
357 ul.section li a:hover {
358 background:#aaa;
359 }
360 ul.section li a:active {
361 color:#fff;
362 background:#666;
363 }
364 ul.section li li a {
365 background:#ddd;
366 border-bottom:1px solid #eee;
367 }
368 ul.section li li a:hover {
369 background:#ccc;
370 }
371 ul.section li li a:active {
372 color:#000;
373 background:#fff;
374 }
375 ul.section ul li {
376 text-transform:none;
377 }
378 ul.section ul.current li a {
379 background:#eee;
380 border-bottom:1px solid #fff;
381 }
382 ul.section ul.current li a:hover {
383 background:#ddd;
384 }
385 ul.section ul.current li a:active {
386 background:#fff;
387 }
388 ul.section li a.current {
389 color:#fff;
390 background:#666;
391 }
392 ul.section li a.current:hover {
393 background:#555;
394 }
395 ul.section li a.current:active {
396 background:#444;
397 }
398 ul.section li a.active {
399 background:#fff;
400 cursor:default;
401 }
402 ul.section li.current > a.active,
403 ul.section li.current > a.active:hover {
404 color:#fff;
405 background:#666;
406 cursor:default;
407 }
408
409
410 /* table
411 ----------------------------------------------- */
412 table {
413 width:100%;
414 border:1px solid #bbb;
415 margin-bottom:10px;
416 }
417 col.colC {
418 width:8em;
419 }
420 th, td {
421 padding:.2em 1em;
422 text-align:left;
423 }
424 thead th {
425 border-bottom:2px solid #888;
426 background:#bbb;
427 padding:.4em 1em .2em;
428 }
429 thead th.table-head {
430 font-size:1em;
431 font-weight:normal;
432 text-transform:uppercase;
433 color:#fff;
434 background:#555;
435 border:1px solid #555;
436 }
437 tbody th,
438 tbody td {
439 border-top:1px solid #bbb;
440 border-bottom:1px solid #bbb;
441 background:#eee;
442 }
443 tbody tr.odd th,
444 tbody tr.odd td {
445 background:#fff;
446 }
447 tfoot th,
448 tfoot td {
449 border-top:2px solid #666;
450 background:#eee;
451 }
452 tfoot tr.total th,
453 tfoot tr.total td {
454 border-top:6px double #666;
455 }
456 tfoot tr.total th {
457 text-transform:uppercase;
458 }
459 th.currency,
460 td.currency {
461 text-align:right;
462 }
463
464
465 /* forms
466 ----------------------------------------------- */
467 form {
468 overflow:hidden;
469 }
470 fieldset {
471 border:1px solid #bbb;
472 padding:10px;
473 position:relative;
474 background:#e9e9e9;
475 margin-bottom:10px;
476 }
477 legend {
478 font-size:1.1em;
479 padding:.4em .8em;
480 background:#fff;
481 border:1px solid #bbb;
482 }
483 fieldset.login p {
484 margin-bottom:1em;
485 margin-top:0pt;
486 }
487 fieldset p label {
488 width:98%;
489 }
490 fieldset p input {
491 width:98%;
492 }
493 fieldset p select {
494 width:99%;
495 }
496 fieldset.login p label {
497 float:left;
498 line-height:2em;
499 margin-right:3%;
500 text-align:right;
501 width:32%;
502 }
503 fieldset.login p input {
504 width:60%;
505 }
506 fieldset.login input.button {
507 margin-left:35%;
508 }
509 form p.notice {
510 font-weight:bold;
511 }
512 input.search.text {
513 width:66%;
514 }
515 input.search.button {
516 width:28%;
517 margin-left:2%;
518 }
519
520
521 /* articles
522 ----------------------------------------------- */
523 .articles {
524 padding:0;
525 }
526 .articles h2 {
527 margin:0;
528 }
529 #articles {
530 padding-top:0;
531 }
532 .article {
533 border-top:1px solid #666;
534 padding-top:.5em;
535 }
536 .box .article {
537 border-top:3px solid #fff;
538 padding:13px 10px 0 10px;
539 background: #fff;
540 }
541 .article h2 {
542 font-size:2em;
543 font-weight:normal;
544 text-transform:none;
545 color:#333;
546 background:transparent;
547 padding:0;
548 margin:0;
549 border:none;
550 }
551 .article h3 {
552 margin-bottom:.2em;
553 font-size:1.6em;
554 }
555 .box .first {
556 border-top:none;
557 }
558 .article h4 {
559 font-size:1.2em;
560 text-transform:uppercase;
561 margin-bottom:.5em;
562 }
563 .article a.image {
564 float:left;
565 margin:3px 10px 3px 0;
566 padding:4px;
567 border:1px solid #bbb;
568 background:#fff;
569 }
570 .article a.image:hover {
571 border:1px solid #666;
572 }
573 .article a.image img {
574 float:left;
575 }
576 .article p.meta {
577 color:#666;
578 border-top:1px dotted #999;
579 border-bottom:1px dotted #999;
580 padding:.3em 0;
581 margin-bottom:.8em;
582 }
583
584
585 /* site information
586 ----------------------------------------------- */
587 #site_info .box {
588 color:#ccc;
589 background:#666;
590 margin-bottom:10px;
591 }
592 #site_info a {
593 color:#fff;
594 }
595 #site_info a:hover {
596 color:#000;
597 }
598
599
600 /* AJAX sliding shelf
601 ----------------------------------------------- */
602 #loading {float:right; margin-right:14px; margin-top:-2px;}
603 .block {padding-bottom:1px;}
604
605
606 /* Accordian
607 ----------------------------------------------- */
608 .toggler {
609 color: #222;
610 margin: 0;
611 padding: 2px 5px;
612 background: #eee;
613 border-bottom: 1px solid #ddd;
614 border-right: 1px solid #ddd;
615 border-top: 1px solid #f5f5f5;
616 border-left: 1px solid #f5f5f5;
617 font-size:1.1em;
618 font-weight: normal;
619 }
620 .element h4 {
621 margin: 0;
622 padding:4px;
623 line-height:1.2em;
624 }
625 .element p {
626 margin: 0;
627 padding: 4px;
628 }
629 .float-right {
630 padding:10px 20px;
631 float:right;
632 }
633
634 #accordian-block {
635 padding-bottom:10px;
636 }
637
638
639 /* Mootools Kwicks
640 ----------------------------------------------- */
641 #kwick-box {
642 padding:0;
643 overflow:hidden;
644 }
645 #kwick-box h2 {
646 margin:0;
647 }
648 #kwick {
649 position: relative;
650 }
651 #kwick .kwicks {
652 display: block;
653 background: #999;
654 height: 120px;
655 list-style:none;
656 margin:0;
657 overflow:hidden;
658 }
659 #kwick li {
660 float: left;
661 margin:0;
662 padding:0;
663 }
664 #kwick .kwick {
665 display: block;
666 cursor: pointer;
667 overflow: hidden;
668 height: 100px;
669 width: 215px;
670 padding: 10px;
671 background: #fff;
672 }
673 #kwick .kwick span {
674 color:#fff;
675 }
676 #kwick .one {
677 background: #666;
678 }
679 #kwick .two {
680 background: #777;
681 }
682 #kwick .three {
683 background: #888;
684 }
685 #kwick .four {
686 background: #999;
687 }