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 (145) hide show
  1. data/History.txt +20 -0
  2. data/{README.txt → README.rdoc} +9 -9
  3. data/Rakefile +19 -6
  4. data/examples/blog/content/css/blueprint/ie.css +26 -0
  5. data/examples/blog/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  6. data/examples/blog/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  7. data/examples/blog/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  8. data/examples/{website/content/css/blueprint/plugins/buttons/Readme → blog/content/css/blueprint/plugins/buttons/readme.txt} +3 -2
  9. data/examples/{website/content/css/blueprint/plugins/buttons/buttons.css → blog/content/css/blueprint/plugins/buttons/screen.css} +1 -1
  10. data/examples/blog/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  11. data/examples/{website/content/css/blueprint/plugins/fancy-type/fancy-type.css → blog/content/css/blueprint/plugins/fancy-type/screen.css} +71 -74
  12. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  13. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  14. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  15. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  16. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  17. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  18. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  19. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  20. data/examples/blog/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  21. data/examples/blog/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  22. data/examples/blog/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  23. data/examples/blog/content/css/blueprint/plugins/rtl/screen.css +109 -0
  24. data/examples/blog/content/css/blueprint/print.css +30 -0
  25. data/examples/blog/content/css/blueprint/screen.css +251 -0
  26. data/examples/blog/content/css/blueprint/src/forms.css +49 -0
  27. data/examples/blog/content/css/blueprint/src/grid.css +212 -0
  28. data/examples/{website/content/css/blueprint/lib → blog/content/css/blueprint/src}/grid.png +0 -0
  29. data/examples/blog/content/css/blueprint/src/ie.css +59 -0
  30. data/examples/blog/content/css/blueprint/src/print.css +85 -0
  31. data/examples/{website/content/css/blueprint/lib → blog/content/css/blueprint/src}/reset.css +14 -15
  32. data/examples/blog/content/css/blueprint/src/typography.css +105 -0
  33. data/examples/blog/content/css/coderay.css +111 -0
  34. data/examples/blog/content/css/site.css +67 -0
  35. data/examples/blog/layouts/default.txt +61 -0
  36. data/examples/blog/tasks/blog.rake +5 -1
  37. data/examples/presentation/Sitefile +2 -2
  38. data/examples/tumblog/tasks/tumblog.rake +5 -1
  39. data/examples/webby/Sitefile +2 -2
  40. data/examples/webby/content/communicate/index.txt +2 -2
  41. data/examples/webby/content/index.txt +1 -1
  42. data/examples/webby/content/release-notes/rel-0-9-3/index.txt +0 -2
  43. data/examples/webby/content/release-notes/rel-0-9-4/index.txt +33 -0
  44. data/examples/webby/content/sitemap.txt +2 -2
  45. data/examples/webby/content/user-manual/index.txt +3 -3
  46. data/examples/website/content/css/blueprint/ie.css +26 -0
  47. data/examples/website/content/css/blueprint/plugins/buttons/readme.txt +32 -0
  48. data/examples/website/content/css/blueprint/plugins/buttons/screen.css +97 -0
  49. data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  50. data/examples/website/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
  51. data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  52. data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  53. data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  54. data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  55. data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  56. data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  57. data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  58. data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  59. data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  60. data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  61. data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  62. data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
  63. data/examples/website/content/css/blueprint/print.css +30 -68
  64. data/examples/website/content/css/blueprint/screen.css +251 -22
  65. data/examples/website/content/css/blueprint/src/forms.css +49 -0
  66. data/examples/website/content/css/blueprint/src/grid.css +212 -0
  67. data/examples/website/content/css/blueprint/src/grid.png +0 -0
  68. data/examples/website/content/css/blueprint/src/ie.css +59 -0
  69. data/examples/website/content/css/blueprint/src/print.css +85 -0
  70. data/examples/website/content/css/blueprint/src/reset.css +38 -0
  71. data/examples/website/content/css/blueprint/src/typography.css +105 -0
  72. data/examples/website/layouts/default.txt +5 -2
  73. data/lib/webby.rb +36 -102
  74. data/lib/webby/apps/generator.rb +2 -2
  75. data/lib/webby/apps/main.rb +36 -62
  76. data/lib/webby/auto_builder.rb +3 -3
  77. data/lib/webby/builder.rb +5 -13
  78. data/lib/webby/config.rb +172 -0
  79. data/lib/webby/filters.rb +2 -0
  80. data/lib/webby/filters/haml.rb +13 -0
  81. data/lib/webby/filters/maruku.rb +16 -0
  82. data/lib/webby/filters/outline.rb +1 -1
  83. data/lib/webby/filters/sass.rb +14 -0
  84. data/lib/webby/filters/slides.rb +2 -2
  85. data/lib/webby/filters/tidy.rb +5 -0
  86. data/lib/webby/helpers/coderay_helper.rb +27 -3
  87. data/lib/webby/helpers/graphviz_helper.rb +20 -3
  88. data/lib/webby/helpers/tex_img_helper.rb +25 -5
  89. data/lib/webby/helpers/ultraviolet_helper.rb +19 -5
  90. data/lib/webby/link_validator.rb +59 -51
  91. data/lib/webby/renderer.rb +9 -6
  92. data/lib/webby/resources.rb +2 -1
  93. data/lib/webby/resources/page.rb +4 -1
  94. data/lib/webby/tasks/create.rake +1 -1
  95. data/lib/webby/tasks/validate.rake +1 -1
  96. data/spec/data/html/anchor.html +11 -0
  97. data/spec/data/html/external.html +10 -0
  98. data/spec/data/html/invalid-relative.html +10 -0
  99. data/spec/data/html/relative-anchor.html +10 -0
  100. data/spec/data/html/relative-invalid-anchor.html +10 -0
  101. data/spec/data/html/relative.html +10 -0
  102. data/spec/data/site/tasks/tumblog.rake +5 -1
  103. data/spec/spec_helper.rb +8 -1
  104. data/spec/webby/apps/generator_spec.rb +36 -3
  105. data/spec/webby/apps/main_spec.rb +2 -1
  106. data/spec/webby/filters/basepath_spec.rb +2 -2
  107. data/spec/webby/filters/maruku_spec.rb +31 -0
  108. data/spec/webby/filters/textile_spec.rb +15 -4
  109. data/spec/webby/helpers/capture_helper_spec.rb +1 -1
  110. data/spec/webby/link_validator_spec.rb +154 -0
  111. data/spec/webby/resources/db_spec.rb +24 -24
  112. data/spec/webby/resources/layout_spec.rb +1 -1
  113. data/spec/webby/resources/page_spec.rb +8 -2
  114. data/spec/webby/resources/resource_spec.rb +1 -1
  115. data/spec/webby/resources_spec.rb +1 -1
  116. data/tasks/ann.rake +1 -2
  117. data/tasks/bones.rake +0 -1
  118. data/tasks/gem.rake +48 -34
  119. data/tasks/git.rake +0 -1
  120. data/tasks/mswin32.rake +38 -0
  121. data/tasks/notes.rake +0 -1
  122. data/tasks/post_load.rake +4 -9
  123. data/tasks/rdoc.rake +4 -4
  124. data/tasks/setup.rb +50 -26
  125. data/tasks/spec.rake +1 -2
  126. data/tasks/svn.rake +47 -0
  127. data/tasks/test.rake +40 -0
  128. data/tasks/website.rake +0 -1
  129. data/tasks/zentest.rake +36 -0
  130. metadata +104 -33
  131. data/Manifest.txt +0 -228
  132. data/examples/website/content/css/blueprint/License.txt +0 -21
  133. data/examples/website/content/css/blueprint/Readme.txt +0 -100
  134. data/examples/website/content/css/blueprint/compressed/print.css +0 -76
  135. data/examples/website/content/css/blueprint/compressed/screen.css +0 -696
  136. data/examples/website/content/css/blueprint/lib/forms.css +0 -45
  137. data/examples/website/content/css/blueprint/lib/grid.css +0 -193
  138. data/examples/website/content/css/blueprint/lib/ie.css +0 -30
  139. data/examples/website/content/css/blueprint/lib/typography.css +0 -116
  140. data/examples/website/content/css/blueprint/plugins/css-classes/Readme +0 -14
  141. data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +0 -24
  142. data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +0 -22
  143. data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +0 -5
  144. data/lib/webby/stelan/spawner.rb +0 -339
  145. data/tasks/manifest.rake +0 -48
@@ -1,228 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- README.txt
4
- Rakefile
5
- bin/webby
6
- bin/webby-gen
7
- examples/blog/Sitefile
8
- examples/blog/tasks/blog.rake
9
- examples/blog/templates/atom_feed.erb
10
- examples/blog/templates/blog/month.erb
11
- examples/blog/templates/blog/post.erb
12
- examples/blog/templates/blog/year.erb
13
- examples/presentation/Sitefile
14
- examples/presentation/content/css/uv/twilight.css
15
- examples/presentation/content/presentation/_sample_code.txt
16
- examples/presentation/content/presentation/index.txt
17
- examples/presentation/content/presentation/s5/blank.gif
18
- examples/presentation/content/presentation/s5/bodybg.gif
19
- examples/presentation/content/presentation/s5/framing.css
20
- examples/presentation/content/presentation/s5/iepngfix.htc
21
- examples/presentation/content/presentation/s5/opera.css
22
- examples/presentation/content/presentation/s5/outline.css
23
- examples/presentation/content/presentation/s5/pretty.css
24
- examples/presentation/content/presentation/s5/print.css
25
- examples/presentation/content/presentation/s5/s5-core.css
26
- examples/presentation/content/presentation/s5/slides.css
27
- examples/presentation/content/presentation/s5/slides.js
28
- examples/presentation/layouts/presentation.txt
29
- examples/presentation/templates/_code_partial.erb
30
- examples/presentation/templates/presentation.erb
31
- examples/tumblog/Sitefile
32
- examples/tumblog/content/css/tumblog.css
33
- examples/tumblog/content/images/tumblog/permalink.gif
34
- examples/tumblog/content/images/tumblog/rss.gif
35
- examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt
36
- examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
37
- examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt
38
- examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
39
- examples/tumblog/content/tumblog/200807/up-a-tree/index.txt
40
- examples/tumblog/content/tumblog/index.txt
41
- examples/tumblog/content/tumblog/rss.txt
42
- examples/tumblog/layouts/tumblog/default.txt
43
- examples/tumblog/layouts/tumblog/post.txt
44
- examples/tumblog/lib/tumblog_helper.rb
45
- examples/tumblog/tasks/tumblog.rake
46
- examples/tumblog/templates/atom_feed.erb
47
- examples/tumblog/templates/tumblog/conversation.erb
48
- examples/tumblog/templates/tumblog/link.erb
49
- examples/tumblog/templates/tumblog/photo.erb
50
- examples/tumblog/templates/tumblog/post.erb
51
- examples/tumblog/templates/tumblog/quote.erb
52
- examples/webby/Sitefile
53
- examples/webby/content/communicate/index.txt
54
- examples/webby/content/css/background.gif
55
- examples/webby/content/css/blueprint/print.css
56
- examples/webby/content/css/blueprint/screen.css
57
- examples/webby/content/css/coderay.css
58
- examples/webby/content/css/site.css
59
- examples/webby/content/css/uv/twilight.css
60
- examples/webby/content/index.txt
61
- examples/webby/content/learn/index.txt
62
- examples/webby/content/reference/index.txt
63
- examples/webby/content/release-notes/index.txt
64
- examples/webby/content/release-notes/rel-0-9-0/index.txt
65
- examples/webby/content/release-notes/rel-0-9-1/index.txt
66
- examples/webby/content/release-notes/rel-0-9-2/index.txt
67
- examples/webby/content/release-notes/rel-0-9-3/index.txt
68
- examples/webby/content/robots.txt
69
- examples/webby/content/script/jquery.corner.js
70
- examples/webby/content/script/jquery.js
71
- examples/webby/content/sitemap.txt
72
- examples/webby/content/tips_and_tricks/index.txt
73
- examples/webby/content/tutorial/index.txt
74
- examples/webby/content/user-manual/index.txt
75
- examples/webby/layouts/default.txt
76
- examples/webby/templates/page.erb
77
- examples/website/Sitefile
78
- examples/website/content/css/blueprint/License.txt
79
- examples/website/content/css/blueprint/Readme.txt
80
- examples/website/content/css/blueprint/compressed/print.css
81
- examples/website/content/css/blueprint/compressed/screen.css
82
- examples/website/content/css/blueprint/lib/forms.css
83
- examples/website/content/css/blueprint/lib/grid.css
84
- examples/website/content/css/blueprint/lib/grid.png
85
- examples/website/content/css/blueprint/lib/ie.css
86
- examples/website/content/css/blueprint/lib/reset.css
87
- examples/website/content/css/blueprint/lib/typography.css
88
- examples/website/content/css/blueprint/plugins/buttons/Readme
89
- examples/website/content/css/blueprint/plugins/buttons/buttons.css
90
- examples/website/content/css/blueprint/plugins/buttons/icons/cross.png
91
- examples/website/content/css/blueprint/plugins/buttons/icons/key.png
92
- examples/website/content/css/blueprint/plugins/buttons/icons/tick.png
93
- examples/website/content/css/blueprint/plugins/css-classes/Readme
94
- examples/website/content/css/blueprint/plugins/css-classes/css-classes.css
95
- examples/website/content/css/blueprint/plugins/fancy-type/Readme
96
- examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css
97
- examples/website/content/css/blueprint/plugins/fancy-type/fancy-type.css
98
- examples/website/content/css/blueprint/print.css
99
- examples/website/content/css/blueprint/screen.css
100
- examples/website/content/css/coderay.css
101
- examples/website/content/css/site.css
102
- examples/website/content/index.txt
103
- examples/website/layouts/default.txt
104
- examples/website/lib/breadcrumbs.rb
105
- examples/website/templates/_partial.erb
106
- examples/website/templates/page.erb
107
- lib/webby.rb
108
- lib/webby/apps.rb
109
- lib/webby/apps/generator.rb
110
- lib/webby/apps/main.rb
111
- lib/webby/auto_builder.rb
112
- lib/webby/builder.rb
113
- lib/webby/core_ext/enumerable.rb
114
- lib/webby/core_ext/hash.rb
115
- lib/webby/core_ext/kernel.rb
116
- lib/webby/core_ext/string.rb
117
- lib/webby/core_ext/time.rb
118
- lib/webby/filters.rb
119
- lib/webby/filters/basepath.rb
120
- lib/webby/filters/erb.rb
121
- lib/webby/filters/haml.rb
122
- lib/webby/filters/markdown.rb
123
- lib/webby/filters/outline.rb
124
- lib/webby/filters/sass.rb
125
- lib/webby/filters/slides.rb
126
- lib/webby/filters/textile.rb
127
- lib/webby/filters/tidy.rb
128
- lib/webby/filters/wiki_words.rb
129
- lib/webby/helpers.rb
130
- lib/webby/helpers/capture_helper.rb
131
- lib/webby/helpers/coderay_helper.rb
132
- lib/webby/helpers/graphviz_helper.rb
133
- lib/webby/helpers/tag_helper.rb
134
- lib/webby/helpers/tex_img_helper.rb
135
- lib/webby/helpers/ultraviolet_helper.rb
136
- lib/webby/helpers/url_helper.rb
137
- lib/webby/journal.rb
138
- lib/webby/link_validator.rb
139
- lib/webby/renderer.rb
140
- lib/webby/resources.rb
141
- lib/webby/resources/db.rb
142
- lib/webby/resources/layout.rb
143
- lib/webby/resources/meta_file.rb
144
- lib/webby/resources/page.rb
145
- lib/webby/resources/partial.rb
146
- lib/webby/resources/resource.rb
147
- lib/webby/resources/static.rb
148
- lib/webby/stelan/mktemp.rb
149
- lib/webby/stelan/paginator.rb
150
- lib/webby/stelan/spawner.rb
151
- lib/webby/tasks/build.rake
152
- lib/webby/tasks/create.rake
153
- lib/webby/tasks/deploy.rake
154
- lib/webby/tasks/growl.rake
155
- lib/webby/tasks/validate.rake
156
- spec/core_ext/hash_spec.rb
157
- spec/core_ext/string_spec.rb
158
- spec/core_ext/time_spec.rb
159
- spec/data/hooligans/bad_meta_data_1.txt
160
- spec/data/hooligans/bad_meta_data_2.txt
161
- spec/data/outline/basic.out
162
- spec/data/outline/basic.txt
163
- spec/data/outline/no_clobber.out
164
- spec/data/outline/numbering.out
165
- spec/data/outline/numbering_only.out
166
- spec/data/outline/toc_range_1.out
167
- spec/data/outline/toc_range_2.out
168
- spec/data/outline/toc_style.out
169
- spec/data/site/Sitefile
170
- spec/data/site/content/_partial.txt
171
- spec/data/site/content/css/coderay.css
172
- spec/data/site/content/css/site.css
173
- spec/data/site/content/css/tumblog.css
174
- spec/data/site/content/images/tumblog/permalink.gif
175
- spec/data/site/content/images/tumblog/rss.gif
176
- spec/data/site/content/index.txt
177
- spec/data/site/content/photos.txt
178
- spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt
179
- spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt
180
- spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt
181
- spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt
182
- spec/data/site/content/tumblog/200807/up-a-tree/index.txt
183
- spec/data/site/content/tumblog/index.txt
184
- spec/data/site/content/tumblog/rss.txt
185
- spec/data/site/layouts/default.txt
186
- spec/data/site/layouts/tumblog/default.txt
187
- spec/data/site/layouts/tumblog/post.txt
188
- spec/data/site/lib/breadcrumbs.rb
189
- spec/data/site/lib/tumblog_helper.rb
190
- spec/data/site/tasks/tumblog.rake
191
- spec/data/site/templates/_partial.erb
192
- spec/data/site/templates/atom_feed.erb
193
- spec/data/site/templates/page.erb
194
- spec/data/site/templates/presentation.erb
195
- spec/data/site/templates/tumblog/conversation.erb
196
- spec/data/site/templates/tumblog/link.erb
197
- spec/data/site/templates/tumblog/photo.erb
198
- spec/data/site/templates/tumblog/post.erb
199
- spec/data/site/templates/tumblog/quote.erb
200
- spec/spec.opts
201
- spec/spec_helper.rb
202
- spec/webby/apps/generator_spec.rb
203
- spec/webby/apps/main_spec.rb
204
- spec/webby/filters/basepath_spec.rb
205
- spec/webby/filters/outline_spec.rb
206
- spec/webby/filters/textile_spec.rb
207
- spec/webby/helpers/capture_helper_spec.rb
208
- spec/webby/renderer_spec.rb
209
- spec/webby/resources/db_spec.rb
210
- spec/webby/resources/layout_spec.rb
211
- spec/webby/resources/meta_file_spec.rb
212
- spec/webby/resources/page_spec.rb
213
- spec/webby/resources/partial_spec.rb
214
- spec/webby/resources/resource_spec.rb
215
- spec/webby/resources/static_spec.rb
216
- spec/webby/resources_spec.rb
217
- tasks/ann.rake
218
- tasks/bones.rake
219
- tasks/gem.rake
220
- tasks/git.rake
221
- tasks/manifest.rake
222
- tasks/notes.rake
223
- tasks/post_load.rake
224
- tasks/rdoc.rake
225
- tasks/rubyforge.rake
226
- tasks/setup.rb
227
- tasks/spec.rake
228
- tasks/website.rake
@@ -1,21 +0,0 @@
1
- Copyright (c) 2007 Olav Bjorkoy (http://bjorkoy.com)
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sub-license, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice, and every other copyright notice found in this
11
- software, and all the attributions in every file, and this permission notice
12
- shall be included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- THE SOFTWARE.
21
-
@@ -1,100 +0,0 @@
1
- Blueprint CSS framework 0.5 (http://bjorkoy.com/blueprint)
2
- ----------------------------------------------------------------
3
-
4
- Welcome to Blueprint! This is a CSS framework designed to
5
- cut down on your CSS development time. It gives you a solid
6
- foundation to build your own CSS on. Here are some of the
7
- features BP provides out-of-the-box:
8
-
9
- * An easily customizable grid
10
- * Sensible default typography
11
- * A typographic baseline
12
- * Perfected browser CSS reset
13
- * A stylesheet for printing
14
- * Absolutely no bloat
15
-
16
-
17
- Setup instructions
18
- ----------------------------------------------------------------
19
-
20
- Here's how you set up Blueprint on your site.
21
-
22
- 1) Upload BP to your server, and place it in whatever folder
23
- you'd like. A good choice would be your CSS folder.
24
-
25
- 2) Add the following lines to every <head> section of your
26
- site. Make sure the link path is correct (here, BP is in my CSS folder):
27
-
28
- <link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection">
29
- <link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print">
30
-
31
- 3) That's it! Blueprint is now ready to shine.
32
-
33
-
34
- How to use Blueprint
35
- ----------------------------------------------------------------
36
-
37
- Here's a quick primer on how to use BP:
38
- http://code.google.com/p/blueprintcss/wiki/Tutorial
39
-
40
- Each file is also heavily commented, so you'll
41
- learn a lot by reading through them.
42
-
43
-
44
- Files in Blueprint
45
- ----------------------------------------------------------------
46
-
47
- The framework has a few files you should check out. Every file
48
- contains lots of (hopefully) clarifying comments.
49
-
50
- * screen.css
51
- This is the main file of the framework. It imports other CSS
52
- files from the "lib" directory, and should be included on
53
- every page.
54
-
55
- * print.css
56
- This file sets some default print rules, so that printed versions
57
- of your site looks better than they usually would. It should be
58
- included on every page.
59
-
60
- * lib/grid.css
61
- This file sets up the grid (it's true). It has a lot of classes
62
- you apply to divs to set up any sort of column-based grid.
63
-
64
- * lib/typography.css
65
- This file sets some default typography. It also has a few
66
- methods for some really fancy stuff to do with your text.
67
-
68
- * lib/reset.css
69
- This file resets CSS values that browsers tend to set for you.
70
-
71
- * lib/buttons.css
72
- Provides some great CSS-only buttons.
73
-
74
- * lib/compressed.css
75
- A compressed version of the core files. Use this on every live site.
76
- See screen.css for instructions.
77
-
78
-
79
- Credits
80
- ----------------------------------------------------------------
81
-
82
- Many parts of BP are directly inspired by other peoples work.
83
- You may thank them for their brilliance. However, *do not* ask
84
- them for support or any kind of help with BP.
85
-
86
- * Jeff Croft [jeffcroft.com]
87
- * Nathan Borror [playgroundblues.com]
88
- * Christian Metts [mintchaos.com]
89
- * Wilson Miner [wilsonminer.com]
90
- * The Typogrify Project [code.google.com/p/typogrify]
91
- * Eric Meyer [meyerweb.com/eric]
92
- * Angus Turnbull [twinhelix.com]
93
- * Khoi Vinh [subtraction.com]
94
-
95
- Questions, comments, suggestions or bug reports all go to
96
- olav at bjorkoy dot com. Thanks for your interest!
97
-
98
-
99
- == By Olav Bjorkoy
100
- == http://bjorkoy.com
@@ -1,76 +0,0 @@
1
- body {
2
- line-height:1.5;
3
- font-family:"Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
4
- color:#000;
5
- background:none;
6
- font-size:10pt;
7
- }
8
-
9
- .container {
10
- background:none;
11
- }
12
-
13
- h1,h2,h3,h4,h5,h6 {
14
- font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;
15
- }
16
-
17
- code {
18
- font:.9em "Courier New", Monaco, Courier, monospace;
19
- }
20
-
21
- img {
22
- float:left;
23
- margin:1.5em 1.5em 1.5em 0;
24
- }
25
-
26
- a img {
27
- border:none;
28
- }
29
-
30
- p img.top {
31
- margin-top:0;
32
- }
33
-
34
- hr {
35
- background:#ccc;
36
- color:#ccc;
37
- width:100%;
38
- height:2px;
39
- border:none;
40
- margin:2em 0;
41
- padding:0;
42
- }
43
-
44
- blockquote {
45
- font-style:italic;
46
- font-size:.9em;
47
- margin:1.5em;
48
- padding:1em;
49
- }
50
-
51
- .small {
52
- font-size:.9em;
53
- }
54
-
55
- .large {
56
- font-size:1.1em;
57
- }
58
-
59
- .quiet {
60
- color:#999;
61
- }
62
-
63
- .hide {
64
- display:none;
65
- }
66
-
67
- a:link,a:visited {
68
- background:transparent;
69
- font-weight:700;
70
- text-decoration:underline;
71
- }
72
-
73
- a:link:after,a:visited:after {
74
- content:" (" attr(href) ") ";
75
- font-size:90%;
76
- }
@@ -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
- }