inversion 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.rdoc +23 -0
  3. data/Manifest.txt +1 -38
  4. data/Rakefile +9 -2
  5. data/lib/inversion.rb +2 -2
  6. data/lib/inversion/template.rb +1 -1
  7. data/lib/inversion/template/begintag.rb +1 -1
  8. data/lib/inversion/template/elsiftag.rb +1 -1
  9. metadata +33 -69
  10. metadata.gz.sig +1 -2
  11. data/History.md +0 -4
  12. data/manual/layouts/default.erb +0 -87
  13. data/manual/lib/api-filter.rb +0 -96
  14. data/manual/lib/editorial-filter.rb +0 -59
  15. data/manual/lib/examples-filter.rb +0 -238
  16. data/manual/lib/links-filter.rb +0 -111
  17. data/manual/resources/css/manual.css +0 -764
  18. data/manual/resources/fonts/GraublauWeb.otf +0 -0
  19. data/manual/resources/fonts/GraublauWebBold.otf +0 -0
  20. data/manual/resources/fonts/Inconsolata.otf +0 -0
  21. data/manual/resources/images/arrow_225_small.png +0 -0
  22. data/manual/resources/images/arrow_315_small.png +0 -0
  23. data/manual/resources/images/arrow_skip.png +0 -0
  24. data/manual/resources/images/cc-by.png +0 -0
  25. data/manual/resources/images/dialog-error.png +0 -0
  26. data/manual/resources/images/dialog-information.png +0 -0
  27. data/manual/resources/images/dialog-warning.png +0 -0
  28. data/manual/resources/images/emblem-important.png +0 -0
  29. data/manual/resources/images/help.png +0 -0
  30. data/manual/resources/images/information.png +0 -0
  31. data/manual/resources/images/magnifier.png +0 -0
  32. data/manual/resources/images/magnifier_left.png +0 -0
  33. data/manual/resources/images/page_white_code.png +0 -0
  34. data/manual/resources/images/page_white_copy.png +0 -0
  35. data/manual/resources/images/printer.png +0 -0
  36. data/manual/resources/images/question.png +0 -0
  37. data/manual/resources/images/scripts_code.png +0 -0
  38. data/manual/resources/images/wrap.png +0 -0
  39. data/manual/resources/images/wrapping.png +0 -0
  40. data/manual/resources/js/jquery-1.4.4.min.js +0 -167
  41. data/manual/resources/js/manual.js +0 -30
  42. data/manual/resources/js/sh.js +0 -580
  43. data/manual/resources/swf/clipboard.swf +0 -0
  44. data/manual/src/examples.page +0 -154
  45. data/manual/src/gettingstarted.page +0 -64
  46. data/manual/src/index.page +0 -97
  47. data/manual/src/tags.page +0 -501
  48. data/manual/src/templates.page +0 -74
@@ -1,764 +0,0 @@
1
- /*
2
- * inversion Manual Stylesheet
3
- *
4
- * Authors:
5
- * Michael Granger <ged@FaerieMUD.org>
6
- *
7
- * Two column fluid layout adapted from Matthew James Taylor's
8
- * "Perfect 'Left Menu' 2 Column Liquid Layout":
9
- * http://matthewjamestaylor.com/blog/perfect-2-column-left-menu.htm
10
- */
11
-
12
- @import url(reset.css);
13
-
14
- @font-face {
15
- font-family: GraublauWeb;
16
- src: url(../fonts/GraublauWeb.otf) format(truetype);
17
- }
18
-
19
- @font-face {
20
- font-family: GraublauWeb;
21
- font-weight: bold;
22
- src: url(../fonts/GraublauWebBold.otf) format(truetype);
23
- }
24
-
25
- @font-face {
26
- font-family: Inconsolata;
27
- src: url(../fonts/Inconsolata.otf) format(truetype);
28
- }
29
-
30
-
31
- /* @group Elements */
32
- html {
33
- background-color: #a5a5a5;
34
- }
35
-
36
- body {
37
- margin: 0;
38
- padding: 0;
39
- min-width: 800px;
40
- font-family: GraublauWeb, sans-serif;
41
- }
42
-
43
- nav ul.index-section {
44
- list-style: none;
45
- padding: 0;
46
- line-height: 1.5em;
47
- margin: 0;
48
- }
49
-
50
- a {
51
- color: #4c87cb;
52
- text-decoration: inherit;
53
- border-bottom: 1px dotted;
54
- border-color: rgba(76,135,203,0.5);
55
- }
56
-
57
- a:hover {
58
- border-color: #4c87cb;
59
- background-color: rgba(253,255,132,0.5);
60
- }
61
-
62
- h1, h2, h3, h4, h5, h6 {
63
- margin-bottom: 0.2em;
64
- }
65
-
66
- h1 {
67
- font-size: 3em;
68
- font-weight: bold;
69
- }
70
-
71
- h2 {
72
- margin-top: 1em;
73
- font-size: 2em;
74
- font-weight: bold;
75
- }
76
-
77
- h3 {
78
- margin-top: 1em;
79
- font-size: 1.5em;
80
- font-weight: bold;
81
- }
82
- h4 {
83
- margin-top: 1em;
84
- font-size: 1.25em;
85
- }
86
-
87
-
88
- p {
89
- margin: 0;
90
- }
91
- p + p,
92
- p + ul,
93
- p + ol {
94
- margin-top: 1em;
95
- }
96
-
97
- li {
98
- list-style: disc;
99
- margin: 0.5em 1.2em
100
- }
101
-
102
- pre {
103
- margin: 1em 0;
104
- }
105
- code, pre {
106
- background-color: rgba(179,179,179,0.4);
107
- font-family: Inconsolata, monospace;
108
- }
109
-
110
-
111
- dl {
112
- margin: 0.5em 0;
113
- padding: 0;
114
- }
115
- dt {
116
- padding: 0 0.75em;
117
- border-top-left-radius: 0.5em;
118
- border-top-right-radius: 0.5em;
119
- background: -webkit-gradient(radial,
120
- 20% 0, 0,
121
- 20% 0, 800,
122
- color-stop(0.0,#bbb),
123
- color-stop(1.0,#cecece));
124
- background: -moz-radial-gradient(
125
- 20% top,
126
- farthest-side,
127
- #bbb,
128
- #cecece);
129
- }
130
- dd {
131
- padding: 0 0.75em;
132
- border-bottom-left-radius: 0.5em;
133
- border-bottom-right-radius: 0.5em;
134
- margin-left: 0;
135
- background: -webkit-gradient(radial,
136
- 20% 0, 0,
137
- 20% 0, 800,
138
- color-stop(0.0,#ddd),
139
- color-stop(1.0,#efefef));
140
- background: -moz-radial-gradient(
141
- 20% top,
142
- farthest-side,
143
- #ddd,
144
- #efefef);
145
- }
146
- dd + dt {
147
- margin-top: 0.5em;
148
- }
149
- /* @end */
150
-
151
-
152
- /* @group IDed elements */
153
- #page {
154
-
155
- }
156
-
157
- #page > header {
158
- position: relative;
159
- background-color: #81a7d2;
160
- background: -webkit-gradient(radial,
161
- 20% 0, 0,
162
- 20% 0, 800,
163
- color-stop(0.0,#81a7d2),
164
- color-stop(1.0,#6187b2));
165
- background: -moz-radial-gradient(
166
- 20% top,
167
- farthest-side,
168
- #81a7d2,
169
- #6187b2);
170
- color: #fff;
171
- padding: 0.2em 1em;
172
- }
173
-
174
- #page > header hgroup h1,
175
- #page > header hgroup h2 {
176
- margin: 4px 0;
177
- text-shadow: 2px 2px 5px rgba(25,25,25, 0.5);
178
- }
179
-
180
- #page > header h1 {
181
- font-size: 90px;
182
- text-shadow: 1px 1px 2px rgba( 25,25,25, 0.5 );
183
- z-index: 50;
184
- }
185
-
186
- #page > header h2.tagline {
187
- font-weight: normal;
188
- letter-spacing: 0.35em;
189
- color: #eee;
190
- font-size: 1.2em;
191
- margin-top: -1em;
192
- margin-left: 1em;
193
- }
194
-
195
- header a {
196
- color: inherit;
197
- text-decoration: inherit;
198
- }
199
-
200
- aside#sidebar {
201
- margin: 0;
202
- vertical-align: top;
203
- }
204
- aside#sidebar h3 {
205
- margin: 0;
206
- }
207
- aside#sidebar nav {
208
- }
209
-
210
- #auto-toc {
211
- float: right;
212
- margin: 1em;
213
- margin-left: 2em;
214
- padding: 1em;
215
- background: #ddd;
216
- border: 1px solid rgba(25,25,25,0.3);
217
- border-radius: 4px;
218
- -webkit-box-shadow: 0 0 3px #333;
219
- }
220
- #auto-toc h2 {
221
- font-size: 1.2em;
222
- font-weight: normal;
223
- color: #999;
224
- }
225
- #auto-toc ul {
226
- margin: 0;
227
- padding: 0;
228
- }
229
- #auto-toc ul li {
230
- margin: 0;
231
- list-style: none;
232
- }
233
-
234
- section#content {
235
- padding: 0;
236
- }
237
- section#content > h2 {
238
- margin-top: 0;
239
- }
240
- section#content h4 {
241
- }
242
-
243
- #page > footer {
244
- color: #444;
245
- clear: both;
246
- padding: 2em;
247
- background: #a5a5a5;
248
- background-image: -moz-linear-gradient(
249
- top,
250
- #000000 0%,
251
- #ccc 8%,
252
- #adadad 51%,
253
- #a5a5a5 100%
254
- );
255
- background-image: -webkit-gradient(
256
- linear,
257
- left top,
258
- left bottom,
259
- color-stop(0%,#888),
260
- color-stop(5%,#ccc),
261
- color-stop(51%,#adadad),
262
- color-stop(100%,#a5a5a5)
263
- );
264
- border-top: 2px solid rgba( 25,25,25, 0.2 );
265
- font-size: 0.8em;
266
- }
267
- /* @end */
268
-
269
-
270
-
271
- /* @group Generic Classes */
272
-
273
- p.diagram {
274
- text-align: center;
275
- margin-bottom: 0;
276
- clear: both;
277
- }
278
-
279
- p.caption {
280
- text-align: center;
281
- margin: 0 auto 1.5em;
282
- font-size: 0.9em;
283
- width: 50%;
284
- font-weight: bold;
285
- }
286
-
287
- /* @end Generic Classes */
288
-
289
- /* @group 2-Column Fluid Layout */
290
-
291
- /* column container */
292
-
293
- .colmask {
294
- position: relative;
295
- clear: both;
296
- float: left;
297
- width: 100%;
298
- overflow: hidden;
299
- }
300
-
301
- /* common column settings */
302
-
303
- .colright,
304
- .colmid,
305
- .colleft {
306
- float: left;
307
- width: 100%;
308
- position: relative;
309
- padding: 1.5em 0;
310
- }
311
-
312
- .col1,
313
- .col2,
314
- .col3 {
315
- float: left;
316
- position: relative;
317
- padding: 0 0 1em 0;
318
- overflow: hidden;
319
- }
320
-
321
- /* 2 Column (left menu) settings */
322
-
323
- .leftmenu {
324
- background: #fff;
325
- }
326
-
327
- .leftmenu .colleft {
328
- right: 75%;
329
- background: #ddd;
330
- }
331
-
332
- .leftmenu .col1 {
333
- width: 71%;
334
- left: 102%;
335
- }
336
-
337
- .leftmenu .col2 {
338
- width: 21%;
339
- left: 6%;
340
- }
341
-
342
- /* @end */
343
-
344
- /* @group Examples */
345
-
346
- div.caption {
347
- font-size: 0.8em;
348
- text-align: center;
349
- padding: 0.25em 0;
350
- overflow: hidden;
351
- }
352
-
353
- div.example {
354
- margin: 0.5em;
355
- padding: 0;
356
- font: 0.9em Inconsolata, Menlo, "Bitstream Vera Sans Mono", monospace;
357
- overflow: hidden;
358
- line-height: 1.1em;
359
- }
360
-
361
- div.example pre {
362
- line-height: 1.2em;
363
- margin: 0;
364
- padding: 0;
365
- overflow: hidden;
366
- }
367
-
368
- div.example pre:hover {
369
- overflow: auto;
370
- }
371
-
372
- pre.deveiate .line-numbers {
373
- background-color: #474860;
374
- color: #f3f3f3;
375
- font-size: 0.8em;
376
- padding: 0.3em 0;
377
- letter-spacing: -0.1em;
378
- }
379
-
380
- pre.console-output {
381
-
382
- }
383
-
384
- /* @end Examples */
385
-
386
- /* @group Callouts */
387
-
388
- div.callout {
389
- margin: 2em 0;
390
- padding: 1em;
391
- padding-left: 45px;
392
- border: 2px solid #787890;
393
- background: #cfcff8 url(../images/dialog-information.png) no-repeat 5px 1em;
394
- }
395
-
396
- div.callout p {
397
- margin: 0;
398
- }
399
-
400
- div.callout p + p {
401
- margin-top: 1em;
402
- }
403
-
404
- div.callout.caution-callout {
405
- background-image: url(../images/dialog-warning.png);
406
- background-color: #fdffcc;
407
- border-color: #d5d96d;
408
- }
409
-
410
- /* @end Callouts */
411
-
412
- /* @group Syntax Highlighter */
413
-
414
- /**
415
- * SyntaxHighlighter
416
- * http://alexgorbatchev.com/SyntaxHighlighter
417
- *
418
- * SyntaxHighlighter is donationware. If you are using it, please donate.
419
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
420
- *
421
- * @version
422
- * 3.0.83 (July 02 2010)
423
- *
424
- * @copyright
425
- * Copyright (C) 2004-2010 Alex Gorbatchev.
426
- *
427
- * @license
428
- * Dual licensed under the MIT and GPL licenses.
429
- */
430
-
431
- /* Modified by Michael Granger */
432
-
433
- .syntaxhighlighter a,
434
- .syntaxhighlighter div,
435
- .syntaxhighlighter code,
436
- .syntaxhighlighter table,
437
- .syntaxhighlighter table td,
438
- .syntaxhighlighter table tr,
439
- .syntaxhighlighter table tbody,
440
- .syntaxhighlighter table thead,
441
- .syntaxhighlighter table caption,
442
- .syntaxhighlighter textarea {
443
- -moz-border-radius: 0 0 0 0;
444
- -webkit-border-radius: 0 0 0 0;
445
- background: none;
446
- border: 0;
447
- bottom: auto;
448
- float: none;
449
- height: auto;
450
- left: auto;
451
- line-height: 1.1em;
452
- margin: 0;
453
- outline: 0;
454
- overflow: visible;
455
- padding: 0;
456
- position: static;
457
- right: auto;
458
- text-align: left;
459
- top: auto;
460
- vertical-align: baseline;
461
- width: auto;
462
- box-sizing: content-box;
463
- font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
464
- font-weight: normal;
465
- font-style: normal;
466
- font-size: 1em;
467
- min-height: inherit;
468
- min-height: auto;
469
- }
470
-
471
- .syntaxhighlighter {
472
- width: 100%;
473
- margin: 1em 0 0 0;
474
- position: relative;
475
- overflow: auto;
476
- font-size: 1em;
477
- }
478
- .syntaxhighlighter.source {
479
- overflow: hidden;
480
- }
481
- .syntaxhighlighter .bold {
482
- font-weight: bold;
483
- }
484
- .syntaxhighlighter .italic {
485
- font-style: italic;
486
- }
487
- .syntaxhighlighter .line {
488
- white-space: pre;
489
- }
490
- .syntaxhighlighter table {
491
- width: 100%;
492
- }
493
- .syntaxhighlighter table caption {
494
- text-align: left;
495
- padding: .5em 0 0.5em 1em;
496
- }
497
- .syntaxhighlighter table td.code {
498
- width: 100%;
499
- }
500
- .syntaxhighlighter table td.code .container {
501
- position: relative;
502
- }
503
- .syntaxhighlighter table td.code .container textarea {
504
- box-sizing: border-box;
505
- position: absolute;
506
- left: 0;
507
- top: 0;
508
- width: 100%;
509
- height: 100%;
510
- border: none;
511
- background: white;
512
- padding-left: 1em;
513
- overflow: hidden;
514
- white-space: pre;
515
- }
516
- .syntaxhighlighter table td.gutter .line {
517
- text-align: right;
518
- padding: 0 0.5em 0 1em;
519
- }
520
- .syntaxhighlighter table td.code .line {
521
- padding: 0 1em;
522
- }
523
- .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
524
- padding-left: 0em;
525
- }
526
- .syntaxhighlighter.show {
527
- display: block;
528
- }
529
- .syntaxhighlighter.collapsed table {
530
- display: none;
531
- }
532
- .syntaxhighlighter.collapsed .toolbar {
533
- padding: 0.1em 0.8em 0em 0.8em;
534
- font-size: 1em;
535
- position: static;
536
- width: auto;
537
- height: auto;
538
- }
539
- .syntaxhighlighter.collapsed .toolbar span {
540
- display: inline;
541
- margin-right: 1em;
542
- }
543
- .syntaxhighlighter.collapsed .toolbar span a {
544
- padding: 0;
545
- display: none;
546
- }
547
- .syntaxhighlighter.collapsed .toolbar span a.expandSource {
548
- display: inline;
549
- }
550
- .syntaxhighlighter .toolbar {
551
- position: absolute;
552
- right: 1px;
553
- top: 1px;
554
- width: 11px;
555
- height: 11px;
556
- font-size: 10px;
557
- z-index: 10;
558
- }
559
- .syntaxhighlighter .toolbar span.title {
560
- display: inline;
561
- }
562
- .syntaxhighlighter .toolbar a {
563
- display: block;
564
- text-align: center;
565
- text-decoration: none;
566
- padding-top: 1px;
567
- }
568
- .syntaxhighlighter .toolbar a.expandSource {
569
- display: none;
570
- }
571
- .syntaxhighlighter.ie {
572
- font-size: .9em;
573
- padding: 1px 0 1px 0;
574
- }
575
- .syntaxhighlighter.ie .toolbar {
576
- line-height: 8px;
577
- }
578
- .syntaxhighlighter.ie .toolbar a {
579
- padding-top: 0px;
580
- }
581
- .syntaxhighlighter.printing .line.alt1 .content,
582
- .syntaxhighlighter.printing .line.alt2 .content,
583
- .syntaxhighlighter.printing .line.highlighted .number,
584
- .syntaxhighlighter.printing .line.highlighted.alt1 .content,
585
- .syntaxhighlighter.printing .line.highlighted.alt2 .content {
586
- background: none;
587
- }
588
- .syntaxhighlighter.printing .line .number {
589
- color: #bbbbbb;
590
- }
591
- .syntaxhighlighter.printing .line .content {
592
- color: black;
593
- }
594
- .syntaxhighlighter.printing .toolbar {
595
- display: none;
596
- }
597
- .syntaxhighlighter.printing a {
598
- text-decoration: none;
599
- }
600
- .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
601
- color: black;
602
- }
603
- .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
604
- color: #008200;
605
- }
606
- .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
607
- color: blue;
608
- }
609
- .syntaxhighlighter.printing .keyword {
610
- color: #006699;
611
- font-weight: bold;
612
- }
613
- .syntaxhighlighter.printing .preprocessor {
614
- color: gray;
615
- }
616
- .syntaxhighlighter.printing .variable {
617
- color: #aa7700;
618
- }
619
- .syntaxhighlighter.printing .value {
620
- color: #009900;
621
- }
622
- .syntaxhighlighter.printing .functions {
623
- color: #ff1493;
624
- }
625
- .syntaxhighlighter.printing .constants {
626
- color: #0066cc;
627
- }
628
- .syntaxhighlighter.printing .script {
629
- font-weight: bold;
630
- }
631
- .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
632
- color: gray;
633
- }
634
- .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
635
- color: #ff1493;
636
- }
637
- .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
638
- color: red;
639
- }
640
- .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
641
- color: black;
642
- }
643
-
644
- .syntaxhighlighter {
645
- background-color: #333;
646
- }
647
- .syntaxhighlighter .line.alt1 {
648
- background-color: #333;
649
- }
650
- .syntaxhighlighter .line.alt2 {
651
- background-color: #323232;
652
- }
653
- .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
654
- background-color: #2a3133;
655
- }
656
- .syntaxhighlighter .line.highlighted.number {
657
- color: white;
658
- }
659
- .syntaxhighlighter table caption {
660
- color: #d3d3d3;
661
- }
662
- .syntaxhighlighter .gutter {
663
- color: #d3d3d3;
664
- }
665
- .syntaxhighlighter .gutter .line {
666
- border-right: 3px solid #990000;
667
- }
668
- .syntaxhighlighter .gutter .line.highlighted {
669
- background-color: #990000;
670
- color: black;
671
- }
672
- .syntaxhighlighter.printing .line .content {
673
- border: none;
674
- }
675
- .syntaxhighlighter.collapsed {
676
- overflow: visible;
677
- }
678
- .syntaxhighlighter.collapsed .toolbar {
679
- color: #ebdb8d;
680
- background: black;
681
- border: 1px solid #990000;
682
- }
683
- .syntaxhighlighter.collapsed .toolbar a {
684
- color: #ebdb8d;
685
- }
686
- .syntaxhighlighter.collapsed .toolbar a:hover {
687
- color: #ff7d27;
688
- }
689
- .syntaxhighlighter .toolbar {
690
- color: white;
691
- background: #990000;
692
- border: none;
693
- }
694
- .syntaxhighlighter .toolbar a {
695
- color: white;
696
- }
697
- .syntaxhighlighter .toolbar a:hover {
698
- color: #9ccff4;
699
- }
700
- /************************************
701
- * Actual syntax highlighter colors.
702
- ************************************/
703
-
704
- .syntaxhighlighter .plain,
705
- .syntaxhighlighter .plain a {
706
- color: #D3D3D3;
707
- }
708
-
709
- .syntaxhighlighter .comments,
710
- .syntaxhighlighter .comments a {
711
- color: #a11;
712
- }
713
-
714
- .syntaxhighlighter .string,
715
- .syntaxhighlighter .string a {
716
- color: rgba(227,207,87, 0.9);
717
- }
718
-
719
- .syntaxhighlighter .keyword {
720
- color: rgb(0,203,205);
721
- }
722
-
723
- .syntaxhighlighter .preprocessor {
724
- color: #AEC4DE;
725
- }
726
-
727
- .syntaxhighlighter .variable {
728
- color: #FFAA3E;
729
- }
730
-
731
- .syntaxhighlighter .value {
732
- color: #090;
733
- }
734
-
735
- .syntaxhighlighter .functions {
736
- color: #81CEF9;
737
- }
738
-
739
- .syntaxhighlighter .constants {
740
- color: #FF9E7B;
741
- }
742
-
743
- .syntaxhighlighter .script {
744
- background-color: #990000;
745
- }
746
-
747
- .syntaxhighlighter .color1,
748
- .syntaxhighlighter .color1 a {
749
- color: #EBDB8D;
750
- }
751
-
752
- .syntaxhighlighter .color2,
753
- .syntaxhighlighter .color2 a {
754
- color: rgb(177,247,158);
755
- }
756
-
757
- .syntaxhighlighter .color3,
758
- .syntaxhighlighter .color3 a {
759
- color: #AEC4DE;
760
- }
761
-
762
-
763
- /* @end */
764
-