TwP-webby 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/History.txt +8 -0
  2. data/Manifest.txt +35 -29
  3. data/{README.txt → README.rdoc} +9 -9
  4. data/Rakefile +9 -2
  5. data/examples/webby/content/communicate/index.txt +2 -2
  6. data/examples/webby/content/index.txt +1 -1
  7. data/examples/website/content/css/blueprint/ie.css +26 -0
  8. data/examples/website/content/css/blueprint/plugins/buttons/{Readme → readme.txt} +3 -2
  9. data/examples/website/content/css/blueprint/plugins/buttons/{buttons.css → screen.css} +1 -1
  10. data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  11. data/examples/website/content/css/blueprint/plugins/fancy-type/{fancy-type.css → screen.css} +71 -74
  12. data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  13. data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  14. data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  15. data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  16. data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  17. data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  18. data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  19. data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  20. data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  21. data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  22. data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  23. data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
  24. data/examples/website/content/css/blueprint/print.css +30 -68
  25. data/examples/website/content/css/blueprint/screen.css +251 -22
  26. data/examples/website/content/css/blueprint/src/forms.css +49 -0
  27. data/examples/website/content/css/blueprint/src/grid.css +212 -0
  28. data/examples/website/content/css/blueprint/src/ie.css +59 -0
  29. data/examples/website/content/css/blueprint/src/print.css +85 -0
  30. data/examples/website/content/css/blueprint/{lib → src}/reset.css +14 -15
  31. data/examples/website/content/css/blueprint/src/typography.css +105 -0
  32. data/examples/website/layouts/default.txt +5 -2
  33. data/lib/webby/apps/main.rb +4 -1
  34. data/lib/webby/auto_builder.rb +3 -3
  35. data/lib/webby/builder.rb +5 -13
  36. data/lib/webby/filters/maruku.rb +16 -0
  37. data/lib/webby/filters/outline.rb +1 -1
  38. data/lib/webby/link_validator.rb +59 -51
  39. data/lib/webby/tasks/create.rake +4 -1
  40. data/lib/webby/tasks/validate.rake +1 -1
  41. data/lib/webby.rb +14 -3
  42. data/spec/data/html/anchor.html +11 -0
  43. data/spec/data/html/external.html +10 -0
  44. data/spec/data/html/invalid-relative.html +10 -0
  45. data/spec/data/html/relative-anchor.html +10 -0
  46. data/spec/data/html/relative-invalid-anchor.html +10 -0
  47. data/spec/data/html/relative.html +10 -0
  48. data/spec/spec_helper.rb +7 -0
  49. data/spec/webby/filters/maruku_spec.rb +31 -0
  50. data/spec/webby/filters/textile_spec.rb +15 -4
  51. data/spec/webby/link_validator_spec.rb +154 -0
  52. data/tasks/mswin32.rake +38 -0
  53. data/tasks/website.rake +0 -1
  54. metadata +52 -24
  55. data/examples/website/content/css/blueprint/License.txt +0 -21
  56. data/examples/website/content/css/blueprint/Readme.txt +0 -100
  57. data/examples/website/content/css/blueprint/compressed/print.css +0 -76
  58. data/examples/website/content/css/blueprint/compressed/screen.css +0 -696
  59. data/examples/website/content/css/blueprint/lib/forms.css +0 -45
  60. data/examples/website/content/css/blueprint/lib/grid.css +0 -193
  61. data/examples/website/content/css/blueprint/lib/ie.css +0 -30
  62. data/examples/website/content/css/blueprint/lib/typography.css +0 -116
  63. data/examples/website/content/css/blueprint/plugins/css-classes/Readme +0 -14
  64. data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +0 -24
  65. data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +0 -22
  66. data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +0 -5
  67. data/tasks/ann.rake +0 -81
  68. data/tasks/bones.rake +0 -21
  69. data/tasks/gem.rake +0 -187
  70. data/tasks/git.rake +0 -41
  71. data/tasks/manifest.rake +0 -48
  72. data/tasks/notes.rake +0 -28
  73. data/tasks/post_load.rake +0 -39
  74. data/tasks/rdoc.rake +0 -51
  75. data/tasks/rubyforge.rake +0 -55
  76. data/tasks/setup.rb +0 -268
  77. data/tasks/spec.rake +0 -55
  78. /data/examples/website/content/css/blueprint/{lib → src}/grid.png +0 -0
@@ -1,696 +0,0 @@
1
- html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
2
- border:0;
3
- font-weight:inherit;
4
- font-style:inherit;
5
- font-size:100%;
6
- font-family:inherit;
7
- vertical-align:baseline;
8
- margin:0;
9
- padding:0;
10
- }
11
-
12
- body {
13
- line-height:1.5;
14
- background:#fff;
15
- font-size:75%;
16
- color:#222;
17
- font-family:"Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
18
- margin:1.5em 0;
19
- }
20
-
21
- table {
22
- border-collapse:separate;
23
- border-spacing:0;
24
- margin-bottom:1.4em;
25
- }
26
-
27
- caption,th,td {
28
- text-align:left;
29
- font-weight:400;
30
- }
31
-
32
- blockquote:before,blockquote:after,q:before,q:after {
33
- content:"";
34
- }
35
-
36
- blockquote,q {
37
- quotes:;
38
- }
39
-
40
- a img {
41
- border:none;
42
- }
43
-
44
- h1,h2,h3,h4,h5,h6 {
45
- color:#111;
46
- font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
47
- font-weight:400;
48
- }
49
-
50
- h1 {
51
- font-size:3em;
52
- line-height:1;
53
- margin-bottom:.5em;
54
- }
55
-
56
- h2 {
57
- font-size:2em;
58
- margin-bottom:.75em;
59
- }
60
-
61
- h3 {
62
- font-size:1.5em;
63
- line-height:1;
64
- margin-bottom:1em;
65
- }
66
-
67
- h4 {
68
- font-size:1.2em;
69
- line-height:1.25;
70
- margin-bottom:1.25em;
71
- }
72
-
73
- h5 {
74
- font-size:1em;
75
- font-weight:700;
76
- margin-bottom:1.5em;
77
- }
78
-
79
- h6 {
80
- font-size:1em;
81
- font-weight:700;
82
- }
83
-
84
- p.last {
85
- margin-bottom:0;
86
- }
87
-
88
- p img {
89
- float:left;
90
- margin:1.5em 1.5em 1.5em 0;
91
- padding:0;
92
- }
93
-
94
- p img.top {
95
- margin-top:0;
96
- }
97
-
98
- ul,ol {
99
- margin:0 1.5em 1.5em;
100
- }
101
-
102
- ul {
103
- list-style-type:circle;
104
- }
105
-
106
- ol {
107
- list-style-type:decimal;
108
- }
109
-
110
- dd {
111
- margin-left:1.5em;
112
- }
113
-
114
- abbr,acronym {
115
- border-bottom:1px dotted #666;
116
- }
117
-
118
- address {
119
- margin-top:1.5em;
120
- font-style:italic;
121
- }
122
-
123
- a:focus,a:hover {
124
- color:#000;
125
- }
126
-
127
- a {
128
- color:#009;
129
- text-decoration:underline;
130
- }
131
-
132
- blockquote {
133
- color:#666;
134
- font-style:italic;
135
- margin:1.5em;
136
- }
137
-
138
- em,dfn {
139
- font-style:italic;
140
- background:#ffc;
141
- }
142
-
143
- pre,code {
144
- white-space:pre;
145
- margin:1.5em 0;
146
- }
147
-
148
- pre,code,tt {
149
- font:1em 'andale mono', monotype.com, 'lucida console', monospace;
150
- line-height:1.5;
151
- }
152
-
153
- tt {
154
- display:block;
155
- line-height:1.5;
156
- margin:1.5em 0;
157
- }
158
-
159
- th {
160
- border-bottom:2px solid #ccc;
161
- font-weight:700;
162
- }
163
-
164
- td {
165
- border-bottom:1px solid #ddd;
166
- }
167
-
168
- th,td {
169
- padding:4px 10px 4px 0;
170
- }
171
-
172
- tfoot {
173
- font-style:italic;
174
- }
175
-
176
- caption {
177
- background:#ffc;
178
- }
179
-
180
- table .last {
181
- padding-right:0;
182
- }
183
-
184
- .small {
185
- font-size:.8em;
186
- margin-bottom:1.875em;
187
- line-height:1.875em;
188
- }
189
-
190
- .large {
191
- font-size:1.2em;
192
- line-height:2.5em;
193
- margin-bottom:1.25em;
194
- }
195
-
196
- .hide {
197
- display:none;
198
- }
199
-
200
- .highlight {
201
- background:#ff0;
202
- }
203
-
204
- .added {
205
- color:#060;
206
- }
207
-
208
- .removed {
209
- color:#900;
210
- }
211
-
212
- .top {
213
- margin-top:0;
214
- padding-top:0;
215
- }
216
-
217
- .bottom {
218
- margin-bottom:0;
219
- padding-bottom:0;
220
- }
221
-
222
- .container {
223
- width:950px;
224
- margin:0 auto;
225
- }
226
-
227
- .column {
228
- float:left;
229
- margin-right:10px;
230
- }
231
-
232
- .last {
233
- margin-right:0;
234
- }
235
-
236
- .span-1 {
237
- width:30px;
238
- }
239
-
240
- .span-2 {
241
- width:70px;
242
- }
243
-
244
- .span-3 {
245
- width:110px;
246
- }
247
-
248
- .span-4 {
249
- width:150px;
250
- }
251
-
252
- .span-5 {
253
- width:190px;
254
- }
255
-
256
- .span-6 {
257
- width:230px;
258
- }
259
-
260
- .span-7 {
261
- width:270px;
262
- }
263
-
264
- .span-8 {
265
- width:310px;
266
- }
267
-
268
- .span-9 {
269
- width:350px;
270
- }
271
-
272
- .span-10 {
273
- width:390px;
274
- }
275
-
276
- .span-11 {
277
- width:430px;
278
- }
279
-
280
- .span-12 {
281
- width:470px;
282
- }
283
-
284
- .span-13 {
285
- width:510px;
286
- }
287
-
288
- .span-14 {
289
- width:550px;
290
- }
291
-
292
- .span-15 {
293
- width:590px;
294
- }
295
-
296
- .span-16 {
297
- width:630px;
298
- }
299
-
300
- .span-17 {
301
- width:670px;
302
- }
303
-
304
- .span-18 {
305
- width:710px;
306
- }
307
-
308
- .span-19 {
309
- width:750px;
310
- }
311
-
312
- .span-20 {
313
- width:790px;
314
- }
315
-
316
- .span-21 {
317
- width:830px;
318
- }
319
-
320
- .span-22 {
321
- width:870px;
322
- }
323
-
324
- .span-23 {
325
- width:910px;
326
- }
327
-
328
- .span-24 {
329
- width:950px;
330
- margin:0;
331
- }
332
-
333
- .append-1 {
334
- padding-right:40px;
335
- }
336
-
337
- .append-2 {
338
- padding-right:80px;
339
- }
340
-
341
- .append-3 {
342
- padding-right:120px;
343
- }
344
-
345
- .append-4 {
346
- padding-right:160px;
347
- }
348
-
349
- .append-5 {
350
- padding-right:200px;
351
- }
352
-
353
- .append-6 {
354
- padding-right:240px;
355
- }
356
-
357
- .append-7 {
358
- padding-right:280px;
359
- }
360
-
361
- .append-8 {
362
- padding-right:320px;
363
- }
364
-
365
- .append-9 {
366
- padding-right:360px;
367
- }
368
-
369
- .append-10 {
370
- padding-right:400px;
371
- }
372
-
373
- .append-11 {
374
- padding-right:440px;
375
- }
376
-
377
- .append-12 {
378
- padding-right:480px;
379
- }
380
-
381
- .append-13 {
382
- padding-right:520px;
383
- }
384
-
385
- .append-14 {
386
- padding-right:560px;
387
- }
388
-
389
- .append-15 {
390
- padding-right:600px;
391
- }
392
-
393
- .append-16 {
394
- padding-right:640px;
395
- }
396
-
397
- .append-17 {
398
- padding-right:680px;
399
- }
400
-
401
- .append-18 {
402
- padding-right:720px;
403
- }
404
-
405
- .append-19 {
406
- padding-right:760px;
407
- }
408
-
409
- .append-20 {
410
- padding-right:800px;
411
- }
412
-
413
- .append-21 {
414
- padding-right:840px;
415
- }
416
-
417
- .append-22 {
418
- padding-right:880px;
419
- }
420
-
421
- .append-23 {
422
- padding-right:920px;
423
- }
424
-
425
- .prepend-1 {
426
- padding-left:40px;
427
- }
428
-
429
- .prepend-2 {
430
- padding-left:80px;
431
- }
432
-
433
- .prepend-3 {
434
- padding-left:120px;
435
- }
436
-
437
- .prepend-4 {
438
- padding-left:160px;
439
- }
440
-
441
- .prepend-5 {
442
- padding-left:200px;
443
- }
444
-
445
- .prepend-6 {
446
- padding-left:240px;
447
- }
448
-
449
- .prepend-7 {
450
- padding-left:280px;
451
- }
452
-
453
- .prepend-8 {
454
- padding-left:320px;
455
- }
456
-
457
- .prepend-9 {
458
- padding-left:360px;
459
- }
460
-
461
- .prepend-10 {
462
- padding-left:400px;
463
- }
464
-
465
- .prepend-11 {
466
- padding-left:440px;
467
- }
468
-
469
- .prepend-12 {
470
- padding-left:480px;
471
- }
472
-
473
- .prepend-13 {
474
- padding-left:520px;
475
- }
476
-
477
- .prepend-14 {
478
- padding-left:560px;
479
- }
480
-
481
- .prepend-15 {
482
- padding-left:600px;
483
- }
484
-
485
- .prepend-16 {
486
- padding-left:640px;
487
- }
488
-
489
- .prepend-17 {
490
- padding-left:680px;
491
- }
492
-
493
- .prepend-18 {
494
- padding-left:720px;
495
- }
496
-
497
- .prepend-19 {
498
- padding-left:760px;
499
- }
500
-
501
- .prepend-20 {
502
- padding-left:800px;
503
- }
504
-
505
- .prepend-21 {
506
- padding-left:840px;
507
- }
508
-
509
- .prepend-22 {
510
- padding-left:880px;
511
- }
512
-
513
- .prepend-23 {
514
- padding-left:920px;
515
- }
516
-
517
- .border {
518
- padding-right:4px;
519
- margin-right:5px;
520
- border-right:1px solid #eee;
521
- }
522
-
523
- .colborder {
524
- padding-right:24px;
525
- margin-right:25px;
526
- border-right:1px solid #eee;
527
- }
528
-
529
- .pull-1 {
530
- margin-left:-40px;
531
- }
532
-
533
- .pull-2 {
534
- margin-left:-80px;
535
- }
536
-
537
- .pull-3 {
538
- margin-left:-120px;
539
- }
540
-
541
- .pull-4 {
542
- margin-left:-160px;
543
- }
544
-
545
- .push-0 {
546
- margin:0 0 0 18px;
547
- }
548
-
549
- .push-1 {
550
- margin:0 -40px 0 18px;
551
- }
552
-
553
- .push-2 {
554
- margin:0 -80px 0 18px;
555
- }
556
-
557
- .push-3 {
558
- margin:0 -120px 0 18px;
559
- }
560
-
561
- .push-4 {
562
- margin:0 -160px 0 18px;
563
- }
564
-
565
- .push-0,.push-1,.push-2,.push-3,.push-4 {
566
- float:right;
567
- }
568
-
569
- .box {
570
- margin-bottom:1.5em;
571
- background:#eee;
572
- padding:1.5em;
573
- }
574
-
575
- hr {
576
- background:#ddd;
577
- color:#ddd;
578
- clear:both;
579
- float:none;
580
- width:100%;
581
- height:.1em;
582
- border:none;
583
- margin:0 0 1.4em;
584
- }
585
-
586
- hr.space {
587
- background:#fff;
588
- color:#fff;
589
- }
590
-
591
- .clear {
592
- display:block;
593
- }
594
-
595
- .clear:after,.container:after {
596
- content:".";
597
- display:block;
598
- height:0;
599
- clear:both;
600
- visibility:hidden;
601
- }
602
-
603
- * html .clear {
604
- height:1%;
605
- }
606
-
607
- fieldset {
608
- border:1px solid #ccc;
609
- margin:0 0 1.5em;
610
- padding:1.4em;
611
- }
612
-
613
- legend {
614
- font-weight:700;
615
- font-size:1.2em;
616
- }
617
-
618
- input.text,input.title {
619
- width:300px;
620
- border:1px solid #bbb;
621
- background:#f6f6f6;
622
- margin:.5em .5em .5em 0;
623
- padding:5px;
624
- }
625
-
626
- input.title {
627
- font-size:1.5em;
628
- }
629
-
630
- textarea {
631
- width:400px;
632
- height:250px;
633
- border:1px solid #bbb;
634
- background:#eee;
635
- margin:.5em .5em .5em 0;
636
- padding:5px;
637
- }
638
-
639
- select {
640
- border:1px solid #ccc;
641
- background:#f6f6f6;
642
- width:200px;
643
- }
644
-
645
- .error,.notice,.success {
646
- margin-bottom:1em;
647
- border:2px solid #ddd;
648
- padding:.8em;
649
- }
650
-
651
- .error {
652
- background:#FBE3E4;
653
- color:#D12F19;
654
- border-color:#FBC2C4;
655
- }
656
-
657
- .notice {
658
- background:#FFF6BF;
659
- color:#817134;
660
- border-color:#FFD324;
661
- }
662
-
663
- .success {
664
- background:#E6EFC2;
665
- color:#529214;
666
- border-color:#C6D880;
667
- }
668
-
669
- .error a {
670
- color:#D12F19;
671
- }
672
-
673
- .notice a {
674
- color:#817134;
675
- }
676
-
677
- .success a {
678
- color:#529214;
679
- }
680
-
681
- p,img,dl {
682
- margin:0 0 1.5em;
683
- }
684
-
685
- dl dt,strong,dfn,label {
686
- font-weight:700;
687
- }
688
-
689
- del,.quiet {
690
- color:#666;
691
- }
692
-
693
- input.text:focus,input.title:focus,textarea:focus,select:focus {
694
- background:#fff;
695
- border:1px solid #999;
696
- }
@@ -1,45 +0,0 @@
1
- /* --------------------------------------------------------------
2
-
3
- forms.css
4
- * Sets up some default styling for forms
5
- * Gives you classes to enhance your forms
6
-
7
- Usage:
8
- * For text fields, use class .title or .text
9
-
10
- -------------------------------------------------------------- */
11
-
12
- label { font-weight: bold; }
13
-
14
-
15
- /* Fieldsets */
16
- fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
17
- legend { font-weight: bold; font-size:1.2em; }
18
-
19
- /* Text fields */
20
- input.text, input.title { width: 300px; margin:0.5em 0.5em 0.5em 0; }
21
- input.text, input.title { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
22
- input.text:focus,
23
- input.title:focus { border:1px solid #999; background:#fff; }
24
- input.title { font-size:1.5em; }
25
-
26
- /* Textareas */
27
- textarea { width: 400px; height: 250px; margin:0.5em 0.5em 0.5em 0; }
28
- textarea { border:1px solid #bbb; background:#eee; padding:5px; }
29
- textarea:focus { border:1px solid #999; background:#fff; }
30
-
31
- /* Select fields */
32
- select { border:1px solid #ccc; background:#f6f6f6; width:200px; }
33
- select:focus { border:1px solid #999; background:#fff; }
34
-
35
-
36
- /* Success, error & notice boxes for messages and errors. */
37
- .error,
38
- .notice,
39
- .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
40
- .error { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
41
- .notice { background: #FFF6BF; color: #817134; border-color: #FFD324; }
42
- .success { background: #E6EFC2; color: #529214; border-color: #C6D880; }
43
- .error a { color: #D12F19; }
44
- .notice a { color: #817134; }
45
- .success a { color: #529214; }