blowmage-webby 0.9.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. data/History.txt +214 -0
  2. data/Manifest.txt +249 -0
  3. data/README.rdoc +92 -0
  4. data/Rakefile +56 -0
  5. data/bin/webby +41 -0
  6. data/bin/webby-gen +41 -0
  7. data/examples/blog/Sitefile +7 -0
  8. data/examples/blog/tasks/blog.rake +72 -0
  9. data/examples/blog/templates/atom_feed.erb +40 -0
  10. data/examples/blog/templates/blog/month.erb +22 -0
  11. data/examples/blog/templates/blog/post.erb +16 -0
  12. data/examples/blog/templates/blog/year.erb +22 -0
  13. data/examples/presentation/Sitefile +10 -0
  14. data/examples/presentation/content/css/uv/twilight.css +137 -0
  15. data/examples/presentation/content/presentation/_sample_code.txt +10 -0
  16. data/examples/presentation/content/presentation/index.txt +63 -0
  17. data/examples/presentation/content/presentation/s5/blank.gif +0 -0
  18. data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
  19. data/examples/presentation/content/presentation/s5/framing.css +23 -0
  20. data/examples/presentation/content/presentation/s5/iepngfix.htc +42 -0
  21. data/examples/presentation/content/presentation/s5/opera.css +7 -0
  22. data/examples/presentation/content/presentation/s5/outline.css +15 -0
  23. data/examples/presentation/content/presentation/s5/pretty.css +86 -0
  24. data/examples/presentation/content/presentation/s5/print.css +25 -0
  25. data/examples/presentation/content/presentation/s5/s5-core.css +9 -0
  26. data/examples/presentation/content/presentation/s5/slides.css +3 -0
  27. data/examples/presentation/content/presentation/s5/slides.js +553 -0
  28. data/examples/presentation/layouts/presentation.txt +43 -0
  29. data/examples/presentation/templates/_code_partial.erb +13 -0
  30. data/examples/presentation/templates/presentation.erb +40 -0
  31. data/examples/tumblog/Sitefile +9 -0
  32. data/examples/tumblog/content/css/tumblog.css +308 -0
  33. data/examples/tumblog/content/images/tumblog/permalink.gif +0 -0
  34. data/examples/tumblog/content/images/tumblog/rss.gif +0 -0
  35. data/examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
  36. data/examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
  37. data/examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
  38. data/examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
  39. data/examples/tumblog/content/tumblog/200807/up-a-tree/index.txt +13 -0
  40. data/examples/tumblog/content/tumblog/index.txt +37 -0
  41. data/examples/tumblog/content/tumblog/rss.txt +37 -0
  42. data/examples/tumblog/layouts/tumblog/default.txt +44 -0
  43. data/examples/tumblog/layouts/tumblog/post.txt +15 -0
  44. data/examples/tumblog/lib/tumblog_helper.rb +32 -0
  45. data/examples/tumblog/tasks/tumblog.rake +30 -0
  46. data/examples/tumblog/templates/atom_feed.erb +40 -0
  47. data/examples/tumblog/templates/tumblog/conversation.erb +12 -0
  48. data/examples/tumblog/templates/tumblog/link.erb +10 -0
  49. data/examples/tumblog/templates/tumblog/photo.erb +13 -0
  50. data/examples/tumblog/templates/tumblog/post.erb +12 -0
  51. data/examples/tumblog/templates/tumblog/quote.erb +11 -0
  52. data/examples/webby/Sitefile +19 -0
  53. data/examples/webby/content/communicate/index.txt +28 -0
  54. data/examples/webby/content/css/background.gif +0 -0
  55. data/examples/webby/content/css/blueprint/print.css +76 -0
  56. data/examples/webby/content/css/blueprint/screen.css +696 -0
  57. data/examples/webby/content/css/coderay.css +96 -0
  58. data/examples/webby/content/css/site.css +196 -0
  59. data/examples/webby/content/css/uv/twilight.css +137 -0
  60. data/examples/webby/content/index.txt +37 -0
  61. data/examples/webby/content/learn/index.txt +28 -0
  62. data/examples/webby/content/reference/index.txt +204 -0
  63. data/examples/webby/content/release-notes/index.txt +21 -0
  64. data/examples/webby/content/release-notes/rel-0-9-0/index.txt +74 -0
  65. data/examples/webby/content/release-notes/rel-0-9-1/index.txt +93 -0
  66. data/examples/webby/content/release-notes/rel-0-9-2/index.txt +14 -0
  67. data/examples/webby/content/release-notes/rel-0-9-3/index.txt +47 -0
  68. data/examples/webby/content/robots.txt +6 -0
  69. data/examples/webby/content/script/jquery.corner.js +152 -0
  70. data/examples/webby/content/script/jquery.js +31 -0
  71. data/examples/webby/content/sitemap.txt +31 -0
  72. data/examples/webby/content/tips_and_tricks/index.txt +97 -0
  73. data/examples/webby/content/tutorial/index.txt +135 -0
  74. data/examples/webby/content/user-manual/index.txt +419 -0
  75. data/examples/webby/layouts/default.txt +49 -0
  76. data/examples/webby/templates/page.erb +10 -0
  77. data/examples/website/Sitefile +7 -0
  78. data/examples/website/content/css/blueprint/ie.css +26 -0
  79. data/examples/website/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  80. data/examples/website/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  81. data/examples/website/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  82. data/examples/website/content/css/blueprint/plugins/buttons/readme.txt +32 -0
  83. data/examples/website/content/css/blueprint/plugins/buttons/screen.css +97 -0
  84. data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  85. data/examples/website/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
  86. data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  87. data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  88. data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  89. data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  90. data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  91. data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  92. data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  93. data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  94. data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  95. data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  96. data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  97. data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
  98. data/examples/website/content/css/blueprint/print.css +30 -0
  99. data/examples/website/content/css/blueprint/screen.css +251 -0
  100. data/examples/website/content/css/blueprint/src/forms.css +49 -0
  101. data/examples/website/content/css/blueprint/src/grid.css +212 -0
  102. data/examples/website/content/css/blueprint/src/grid.png +0 -0
  103. data/examples/website/content/css/blueprint/src/ie.css +59 -0
  104. data/examples/website/content/css/blueprint/src/print.css +85 -0
  105. data/examples/website/content/css/blueprint/src/reset.css +38 -0
  106. data/examples/website/content/css/blueprint/src/typography.css +105 -0
  107. data/examples/website/content/css/coderay.css +111 -0
  108. data/examples/website/content/css/site.css +67 -0
  109. data/examples/website/content/index.txt +19 -0
  110. data/examples/website/layouts/default.txt +61 -0
  111. data/examples/website/lib/breadcrumbs.rb +28 -0
  112. data/examples/website/templates/_partial.erb +10 -0
  113. data/examples/website/templates/page.erb +18 -0
  114. data/lib/webby.rb +233 -0
  115. data/lib/webby/apps.rb +12 -0
  116. data/lib/webby/apps/generator.rb +276 -0
  117. data/lib/webby/apps/main.rb +258 -0
  118. data/lib/webby/auto_builder.rb +157 -0
  119. data/lib/webby/builder.rb +172 -0
  120. data/lib/webby/core_ext/enumerable.rb +11 -0
  121. data/lib/webby/core_ext/hash.rb +28 -0
  122. data/lib/webby/core_ext/kernel.rb +26 -0
  123. data/lib/webby/core_ext/string.rb +163 -0
  124. data/lib/webby/core_ext/time.rb +9 -0
  125. data/lib/webby/filters.rb +83 -0
  126. data/lib/webby/filters/basepath.rb +97 -0
  127. data/lib/webby/filters/erb.rb +9 -0
  128. data/lib/webby/filters/haml.rb +18 -0
  129. data/lib/webby/filters/markdown.rb +16 -0
  130. data/lib/webby/filters/maruku.rb +16 -0
  131. data/lib/webby/filters/outline.rb +309 -0
  132. data/lib/webby/filters/sass.rb +17 -0
  133. data/lib/webby/filters/slides.rb +56 -0
  134. data/lib/webby/filters/textile.rb +16 -0
  135. data/lib/webby/filters/tidy.rb +76 -0
  136. data/lib/webby/filters/wiki_words.rb +14 -0
  137. data/lib/webby/helpers.rb +30 -0
  138. data/lib/webby/helpers/capture_helper.rb +141 -0
  139. data/lib/webby/helpers/coderay_helper.rb +69 -0
  140. data/lib/webby/helpers/graphviz_helper.rb +136 -0
  141. data/lib/webby/helpers/tag_helper.rb +65 -0
  142. data/lib/webby/helpers/tex_img_helper.rb +133 -0
  143. data/lib/webby/helpers/ultraviolet_helper.rb +63 -0
  144. data/lib/webby/helpers/url_helper.rb +241 -0
  145. data/lib/webby/journal.rb +126 -0
  146. data/lib/webby/link_validator.rb +160 -0
  147. data/lib/webby/renderer.rb +386 -0
  148. data/lib/webby/resources.rb +136 -0
  149. data/lib/webby/resources/db.rb +251 -0
  150. data/lib/webby/resources/layout.rb +54 -0
  151. data/lib/webby/resources/meta_file.rb +211 -0
  152. data/lib/webby/resources/page.rb +82 -0
  153. data/lib/webby/resources/partial.rb +85 -0
  154. data/lib/webby/resources/resource.rb +201 -0
  155. data/lib/webby/resources/static.rb +36 -0
  156. data/lib/webby/stelan/mktemp.rb +135 -0
  157. data/lib/webby/stelan/paginator.rb +165 -0
  158. data/lib/webby/tasks/build.rake +27 -0
  159. data/lib/webby/tasks/create.rake +25 -0
  160. data/lib/webby/tasks/deploy.rake +22 -0
  161. data/lib/webby/tasks/growl.rake +16 -0
  162. data/lib/webby/tasks/validate.rake +19 -0
  163. data/spec/core_ext/hash_spec.rb +47 -0
  164. data/spec/core_ext/string_spec.rb +110 -0
  165. data/spec/core_ext/time_spec.rb +19 -0
  166. data/spec/data/hooligans/bad_meta_data_1.txt +34 -0
  167. data/spec/data/hooligans/bad_meta_data_2.txt +34 -0
  168. data/spec/data/html/anchor.html +11 -0
  169. data/spec/data/html/external.html +10 -0
  170. data/spec/data/html/invalid-relative.html +10 -0
  171. data/spec/data/html/relative-anchor.html +10 -0
  172. data/spec/data/html/relative-invalid-anchor.html +10 -0
  173. data/spec/data/html/relative.html +10 -0
  174. data/spec/data/outline/basic.out +81 -0
  175. data/spec/data/outline/basic.txt +25 -0
  176. data/spec/data/outline/no_clobber.out +86 -0
  177. data/spec/data/outline/numbering.out +81 -0
  178. data/spec/data/outline/numbering_only.out +21 -0
  179. data/spec/data/outline/toc_range_1.out +66 -0
  180. data/spec/data/outline/toc_range_2.out +55 -0
  181. data/spec/data/outline/toc_style.out +81 -0
  182. data/spec/data/site/Sitefile +9 -0
  183. data/spec/data/site/content/_partial.txt +10 -0
  184. data/spec/data/site/content/css/coderay.css +111 -0
  185. data/spec/data/site/content/css/site.css +67 -0
  186. data/spec/data/site/content/css/tumblog.css +308 -0
  187. data/spec/data/site/content/images/tumblog/permalink.gif +0 -0
  188. data/spec/data/site/content/images/tumblog/rss.gif +0 -0
  189. data/spec/data/site/content/index.txt +19 -0
  190. data/spec/data/site/content/photos.txt +21 -0
  191. data/spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
  192. data/spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
  193. data/spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
  194. data/spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
  195. data/spec/data/site/content/tumblog/200807/up-a-tree/index.txt +13 -0
  196. data/spec/data/site/content/tumblog/index.txt +37 -0
  197. data/spec/data/site/content/tumblog/rss.txt +37 -0
  198. data/spec/data/site/layouts/default.txt +58 -0
  199. data/spec/data/site/layouts/tumblog/default.txt +44 -0
  200. data/spec/data/site/layouts/tumblog/post.txt +15 -0
  201. data/spec/data/site/lib/breadcrumbs.rb +28 -0
  202. data/spec/data/site/lib/tumblog_helper.rb +32 -0
  203. data/spec/data/site/tasks/tumblog.rake +30 -0
  204. data/spec/data/site/templates/_partial.erb +10 -0
  205. data/spec/data/site/templates/atom_feed.erb +40 -0
  206. data/spec/data/site/templates/page.erb +18 -0
  207. data/spec/data/site/templates/presentation.erb +40 -0
  208. data/spec/data/site/templates/tumblog/conversation.erb +12 -0
  209. data/spec/data/site/templates/tumblog/link.erb +10 -0
  210. data/spec/data/site/templates/tumblog/photo.erb +13 -0
  211. data/spec/data/site/templates/tumblog/post.erb +12 -0
  212. data/spec/data/site/templates/tumblog/quote.erb +11 -0
  213. data/spec/spec.opts +1 -0
  214. data/spec/spec_helper.rb +58 -0
  215. data/spec/webby/apps/generator_spec.rb +117 -0
  216. data/spec/webby/apps/main_spec.rb +88 -0
  217. data/spec/webby/filters/basepath_spec.rb +167 -0
  218. data/spec/webby/filters/maruku_spec.rb +31 -0
  219. data/spec/webby/filters/outline_spec.rb +92 -0
  220. data/spec/webby/filters/textile_spec.rb +31 -0
  221. data/spec/webby/helpers/capture_helper_spec.rb +56 -0
  222. data/spec/webby/link_validator_spec.rb +154 -0
  223. data/spec/webby/renderer_spec.rb +139 -0
  224. data/spec/webby/resources/db_spec.rb +250 -0
  225. data/spec/webby/resources/layout_spec.rb +83 -0
  226. data/spec/webby/resources/meta_file_spec.rb +171 -0
  227. data/spec/webby/resources/page_spec.rb +129 -0
  228. data/spec/webby/resources/partial_spec.rb +58 -0
  229. data/spec/webby/resources/resource_spec.rb +219 -0
  230. data/spec/webby/resources/static_spec.rb +49 -0
  231. data/spec/webby/resources_spec.rb +69 -0
  232. data/tasks/ann.rake +80 -0
  233. data/tasks/bones.rake +20 -0
  234. data/tasks/gem.rake +192 -0
  235. data/tasks/git.rake +40 -0
  236. data/tasks/manifest.rake +48 -0
  237. data/tasks/mswin32.rake +38 -0
  238. data/tasks/notes.rake +27 -0
  239. data/tasks/post_load.rake +39 -0
  240. data/tasks/rdoc.rake +50 -0
  241. data/tasks/rubyforge.rake +55 -0
  242. data/tasks/setup.rb +279 -0
  243. data/tasks/spec.rake +54 -0
  244. data/tasks/svn.rake +47 -0
  245. data/tasks/test.rake +40 -0
  246. data/tasks/website.rake +37 -0
  247. metadata +386 -0
@@ -0,0 +1,43 @@
1
+ ---
2
+ extension: html
3
+ filter:
4
+ - erb
5
+ ---
6
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
7
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8
+
9
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
10
+ <head>
11
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
12
+ <title><%= h(@page.title) %></title>
13
+ <meta name="author" content="<%= h(@page.author) %>" />
14
+ <meta name="company" content="<%= h(@page.company) %>" />
15
+
16
+ <!-- configuration parameters -->
17
+ <meta name="defaultView" content="slideshow" />
18
+ <meta name="controlVis" content="hidden" />
19
+
20
+ <link rel="stylesheet" href="/presentation/s5/slides.css" type="text/css" media="projection" id="slideProj" />
21
+ <link rel="stylesheet" href="/presentation/s5/outline.css" type="text/css" media="screen" id="outlineStyle" />
22
+ <link rel="stylesheet" href="/css/uv/twilight.css" type="text/css" media="screen, projection" />
23
+
24
+ <!-- S5 JS -->
25
+ <script src="/presentation/s5/slides.js" type="text/javascript"></script>
26
+ </head>
27
+ <body>
28
+
29
+ <div class="layout">
30
+ <div id="controls"><!-- DO NOT EDIT --></div>
31
+ <div id="currentSlide"><!-- DO NOT EDIT --></div>
32
+ <div id="header"></div>
33
+ <div id="footer">
34
+ <h2>Copyright &copy; <%= h(@page.copyright) %></h2>
35
+ </div>
36
+ </div>
37
+
38
+ <div class="presentation">
39
+ <%= @content %>
40
+ </div>
41
+
42
+ </body>
43
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ filter: erb
3
+ ---
4
+ <%% uv :lang => 'ruby', :line_numbers => false, :theme => 'twilight' do -%>
5
+ # This is a sample of Ruby code
6
+ #
7
+ class Object
8
+ def returning( obj, &block )
9
+ block.call obj
10
+ return obj
11
+ end
12
+ end
13
+ <%% end -%>
@@ -0,0 +1,40 @@
1
+ ---
2
+ title: <%= title %>
3
+ created_at: <%= Time.now.to_y %>
4
+ author: You
5
+ company: Company
6
+ copyright: Creative Commons
7
+ filter:
8
+ - erb
9
+ - textile
10
+ - slides
11
+ layout: presentation
12
+ ---
13
+ h1. Presentation Title
14
+
15
+ Clever introductory text that will grab the audience's attention.
16
+
17
+
18
+ h1. Title of the First Slide
19
+
20
+ A little more build up before really getting into the meat of it.
21
+
22
+
23
+ h1. Title of the Second Slide
24
+
25
+ Finally, some code!
26
+
27
+ <%% uv :lang => 'ruby', :line_numbers => false do -%>
28
+ class EnglishMajor
29
+ def supercilious
30
+ 'behaving or looking as though one thinks one is superior to others'
31
+ end
32
+ end
33
+ <%% end -%>
34
+
35
+
36
+ h1. The Final Slide
37
+
38
+ And that about sums it up!
39
+
40
+ Thanks for visiting
@@ -0,0 +1,9 @@
1
+
2
+ task :default => :build
3
+
4
+ desc 'deploy the site to the webserver'
5
+ task :deploy => [:build, 'deploy:rsync']
6
+
7
+ SITE.create_mode = 'directory'
8
+
9
+ # EOF
@@ -0,0 +1,308 @@
1
+ ---
2
+ extension: css
3
+ filter: sass
4
+ layout: nil # no layout
5
+ sass_options:
6
+ :style: :expanded
7
+ ---
8
+ !background = #FFF
9
+ !text = #000
10
+ !border = #CCC
11
+ !header = #6498CC
12
+ !link = #6498CC
13
+ !link_hover = #000
14
+ !blockquote = #666
15
+ !code = #000
16
+ !box_bg = #EEE
17
+ !highlight = #6498CC
18
+ !quiet = #666
19
+ !alt = #666
20
+
21
+ !title = #444
22
+ !description = #777
23
+ !date = #CCC
24
+ !date_brick = #BBD5F1
25
+
26
+ body
27
+ :margin 0px
28
+ :background-color = !background
29
+ :font-family Verdana, Geneva, Arial, sans-serif
30
+
31
+ a
32
+ :color = !link
33
+ :text-decoration none
34
+ &:hover
35
+ :text-decoration underline
36
+
37
+ h1
38
+ :width 600px
39
+ :padding 0px 100px 20px 100px
40
+ :margin 50px auto 40px auto
41
+ :border-bottom = solid 1px !border
42
+ :text-align center
43
+ :font Bold 55px 'Trebuchet MS', Geneva, Arial, sans-serif
44
+ :letter-spacing -2px
45
+ :line-height 50px
46
+ :position relative
47
+
48
+ a
49
+ :color = !title
50
+ :text-decoration none
51
+ &:hover
52
+ :text-decoration none
53
+
54
+ img
55
+ :border-width 0px
56
+ :position absolute
57
+ :right 0px
58
+ :bottom 10px
59
+ :width 43px
60
+ :height 23px
61
+
62
+
63
+ div#content
64
+ :width 420px
65
+ :margin auto
66
+ :position relative
67
+
68
+ div#description
69
+ :position absolute
70
+ :right -170px
71
+ :width 160px
72
+ :text-align right
73
+ :font Normal 17px Verdana, Geneva, Arial, sans-serif
74
+ :line-height 20px
75
+ :color = !description
76
+
77
+ a
78
+ :color = !description
79
+ :text-decoration underline
80
+
81
+ div.post
82
+ :position relative
83
+ :margin-bottom 40px
84
+ :padding-right 20px
85
+
86
+ div.date
87
+ :position absolute
88
+ :left -260px
89
+ :text-align right
90
+ :width 230px
91
+ :white-space nowrap
92
+ :font Normal 34px Verdana, Geneva, Arial, sans-serif
93
+ :letter-spacing -2px
94
+ :color = !date
95
+ :text-transform uppercase
96
+ :line-height 35px
97
+
98
+ div.date_brick
99
+ :float right
100
+ :height 30px
101
+ :width 45px
102
+ :background-color = !highlight
103
+ :color = !date_brick
104
+ :font Bold 12px Verdana, Geneva, Arial, sans-serif
105
+ :text-align center
106
+ :line-height 12px
107
+ :margin-left 10px
108
+ :padding-top 5px
109
+ :letter-spacing 0px
110
+ :overflow hidden
111
+
112
+ img.permalink
113
+ :width 14px
114
+ :height 13px
115
+ :border-width 0px
116
+ :background-color #000
117
+ :display none
118
+ :position absolute
119
+ :right 0px
120
+ :top 0px
121
+ :z-index 10
122
+
123
+ &:hover
124
+ img.permalink
125
+ :display inline
126
+
127
+ h2
128
+ :font Bold 18px 'Trebuchet MS', Geneva, Arial, sans-serif
129
+ :color #6498CC
130
+ :letter-spacing -1px
131
+ :margin 0px 0px 5px 0px
132
+
133
+ a
134
+ :color #6498CC
135
+ :text-decoration none
136
+
137
+ div.caption
138
+ :font-size 14px
139
+ :font-weight bold
140
+ :color #444
141
+ :margin-top 10px
142
+ :padding 0px 20px 0px 20px
143
+
144
+ a
145
+ :color #444
146
+
147
+ // Regular Post
148
+
149
+ div.regular
150
+ :font-size 12px
151
+ :color #444
152
+ :line-height 17px
153
+
154
+ h2
155
+ :font-size 36px
156
+ :line-height 34px
157
+
158
+ blockquote
159
+ :font-style italic
160
+ :border-left solid 2px #444
161
+ :padding-left 10px
162
+
163
+ // Quote Post
164
+
165
+ div.quote
166
+ h2
167
+ :font-size 36px
168
+ :line-height 34px
169
+ a
170
+ :color #6498CC
171
+
172
+ p
173
+ :font Bold 28px Helvetica, sans-serif
174
+ :letter-spacing -1px
175
+ :color #666
176
+
177
+ a
178
+ :color #666
179
+
180
+ big
181
+ :font Bold 60px Georgia, serif
182
+ :line-height 8px
183
+ :vertical-align -20px
184
+
185
+ span.source
186
+ :font Bold 16px Verdana, Geneva, Arial, sans-serif
187
+ :color #444
188
+ :letter-spacing -1px
189
+
190
+ a
191
+ :color #444
192
+
193
+ div.source
194
+ :font-size 16px
195
+ :font-weight Bold
196
+ :color #555
197
+ :margin-top 5px
198
+
199
+ a
200
+ :color #555
201
+
202
+ // Link Post
203
+
204
+ div.link
205
+ h2
206
+ :font-size 36px
207
+ :line-height 34px
208
+
209
+ a.link
210
+ :font Bold 20px Verdana, Geneva, Arial, sans-serif
211
+ :letter-spacing -1px
212
+ :color #C00
213
+
214
+ span.description
215
+ :font-size 13px
216
+ :font-weight normal
217
+ :letter-spacing -1px
218
+ :color #444
219
+
220
+ // Conversation Post
221
+
222
+ div.conversation
223
+ ul
224
+ :list-style-type none
225
+ :margin 0px
226
+ :padding 0px 0px 0px 1px
227
+
228
+ li
229
+ :font-size 12px
230
+ :padding 4px 10px 4px 8px
231
+ :color #444
232
+ :margin-bottom 1px
233
+
234
+ span.label
235
+ :font-weight bold
236
+
237
+ span.user_1
238
+ :color #C00
239
+
240
+ span.user_2
241
+ :color #00C
242
+
243
+ span.user_3
244
+ :color #0A0
245
+
246
+ li.odd
247
+ :background-color #F4F4F4
248
+
249
+ li.even
250
+ :background-color #E8E8E8
251
+
252
+ h2
253
+ :font-size 36px
254
+ :line-height 34px
255
+ :position relative
256
+ :top -4px
257
+ :margin-top 0px
258
+ :padding-top 0px
259
+
260
+ // Photo Post
261
+
262
+ div.photo
263
+ h2
264
+ :font-size 36px
265
+ :line-height 34px
266
+
267
+ p.caption
268
+ :font-size 11px
269
+ :color #444
270
+ :margin-top 5px
271
+ a
272
+ :color #444
273
+
274
+ // Video Post
275
+
276
+ div.video
277
+ :width 400px
278
+ :margin auto
279
+
280
+ h2
281
+ :font-size 36px
282
+ :line-height 40px
283
+ :letter-spacing -1px
284
+ :font-weight Bold
285
+ :font-family 'Trebuchet MS', Geneva, Arial, sans-serif
286
+ :margin 0px 0px 5px 0px
287
+
288
+ // Footer
289
+
290
+ div#footer
291
+ :margin 40px 0px 30px 0px
292
+ :text-align center
293
+ :font-size 15px
294
+ :font-weight bold
295
+ :color #444
296
+
297
+ a
298
+ :text-decoration none
299
+ :color #444
300
+
301
+ &:hover
302
+ :text-decoration underline
303
+
304
+ div#credit
305
+ :font Normal 13px Verdana, Geneva, Arial, sans-serif
306
+ :margin-top 15px
307
+
308
+ // EOF
@@ -0,0 +1,12 @@
1
+ ---
2
+ title: The Noble Chicken
3
+ created_at: 2008-06-26 16:09:15.185670 -06:00
4
+ author: Tim Pease
5
+ filter:
6
+ - textile
7
+ layout: tumblog/post
8
+ tumblog_type: regular
9
+ ---
10
+ The *chicken* (_Gallus gallus_, sometimes _G. gallus domesticus_) is a domesticated fowl likely descended from the wild Indian and southeast Asian Red Junglefowl (_Gallus gallus_) and the related Grey Junglefowl (_G. sonneratii_). Traditionally it has been widely accepted that the chicken was descended solely from the former, as hybrids of both wild types tended toward sterility; but recent genetic work has revealed that the genotype for yellow skin present in the domestic fowl is not present in what is otherwise its closest kin, the Red Junglefowl. It is deemed most likely, then, that the yellow skin trait in domestic birds originated in the Grey Junglefowl.
11
+
12
+ The chicken is one of the most common and widespread domestic animals. With a population of more than 24 billion in 2003, there are more chickens in the world than any other bird. Humans keep chickens primarily as a source of food, with both their meat and their eggs consumed.
@@ -0,0 +1,12 @@
1
+ ---
2
+ title: Historical Perspectives on the Classic Chicken Joke
3
+ created_at: 2008-07-16 16:10:35.789008 -06:00
4
+ author: Tim Pease
5
+ filter:
6
+ - textile
7
+ layout: tumblog/post
8
+ tumblog_type: conversation
9
+ ---
10
+ * %(label)me :% Why did the chicken cross the road?
11
+ * %(label)Buddha :% If you ask this question, you deny your own chicken nature.
12
+ * %(label)Darwin :% Chickens, over great periods of time, have been naturally selected in such a way that they are now genetically predisposed to cross roads.