survivalkit 1.0.beta.8 → 1.0.beta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. data/CHANGELOG.markdown +3 -0
  2. data/README.markdown +2 -2
  3. data/lib/survivalkit.rb +3 -2
  4. data/stylesheets/survivalkit/fonts/_font-awesome.scss +355 -0
  5. data/stylesheets/survivalkit/fonts/_league-gothic.scss +46 -0
  6. data/stylesheets/survivalkit/fonts/_ostrich-sans.scss +69 -0
  7. data/stylesheets/survivalkit/mixins/_ui.scss +22 -12
  8. data/stylesheets/survivalkit/survival-kit/_survival-kit.sass +157 -0
  9. data/templates/clean/manifest.rb +94 -0
  10. data/templates/drupal/script.js +2 -17
  11. data/templates/project/libs/jquery-1.8.2.min.js +2 -0
  12. data/templates/project/libs/modernizr-2.6.2.min.js +815 -0
  13. data/templates/project/manifest.rb +46 -27
  14. data/templates/project/script.js +2 -17
  15. data/templates/project/sources/FitText/README.md +52 -0
  16. data/templates/project/sources/FitText/example.html +60 -0
  17. data/templates/project/sources/FitText/jquery.fittext.js +43 -0
  18. data/templates/shared/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  19. data/templates/shared/fonts/font-awesome/fontawesome-webfont.svg +255 -0
  20. data/templates/shared/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  21. data/templates/shared/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  22. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.eot +0 -0
  23. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.svg +224 -0
  24. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.ttf +0 -0
  25. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.woff +0 -0
  26. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.eot +0 -0
  27. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.svg +224 -0
  28. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.ttf +0 -0
  29. data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.woff +0 -0
  30. data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.eot +0 -0
  31. data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.svg +224 -0
  32. data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.ttf +0 -0
  33. data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.woff +0 -0
  34. data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.eot +0 -0
  35. data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.svg +223 -0
  36. data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.ttf +0 -0
  37. data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.woff +0 -0
  38. data/templates/shared/fonts/ostrich/ostrich-black-webfont.eot +0 -0
  39. data/templates/shared/fonts/ostrich/ostrich-black-webfont.svg +141 -0
  40. data/templates/shared/fonts/ostrich/ostrich-black-webfont.ttf +0 -0
  41. data/templates/shared/fonts/ostrich/ostrich-black-webfont.woff +0 -0
  42. data/templates/shared/fonts/ostrich/ostrich-bold-webfont.eot +0 -0
  43. data/templates/shared/fonts/ostrich/ostrich-bold-webfont.svg +141 -0
  44. data/templates/shared/fonts/ostrich/ostrich-bold-webfont.ttf +0 -0
  45. data/templates/shared/fonts/ostrich/ostrich-bold-webfont.woff +0 -0
  46. data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.eot +0 -0
  47. data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.svg +141 -0
  48. data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.ttf +0 -0
  49. data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.woff +0 -0
  50. data/templates/shared/fonts/ostrich/ostrich-light-webfont.eot +0 -0
  51. data/templates/shared/fonts/ostrich/ostrich-light-webfont.svg +140 -0
  52. data/templates/shared/fonts/ostrich/ostrich-light-webfont.ttf +0 -0
  53. data/templates/shared/fonts/ostrich/ostrich-light-webfont.woff +0 -0
  54. data/templates/shared/fonts/ostrich/ostrich-regular-webfont.eot +0 -0
  55. data/templates/shared/fonts/ostrich/ostrich-regular-webfont.svg +141 -0
  56. data/templates/shared/fonts/ostrich/ostrich-regular-webfont.ttf +0 -0
  57. data/templates/shared/fonts/ostrich/ostrich-regular-webfont.woff +0 -0
  58. data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.eot +0 -0
  59. data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.svg +141 -0
  60. data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.ttf +0 -0
  61. data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.woff +0 -0
  62. data/templates/shared/partials/01-variables/_colors.scss +1 -1
  63. data/templates/shared/partials/01-variables/_fonts.scss +10 -0
  64. data/templates/shared/partials/06-ui-patterns/_drupal-patterns.scss +4 -5
  65. data/templates/shared/partials/07-styletile/_tile-design.scss +2 -2
  66. data/templates/shared/style.scss +2 -1
  67. metadata +73 -187
  68. data/stylesheets/survivalkit/survival_kit/_survival-kit.scss +0 -145
  69. data/templates/drupal/libs/320-up/helper.js +0 -146
  70. data/templates/drupal/libs/320-up/imgSizer.js +0 -61
  71. data/templates/drupal/libs/dd_belatedpng.js +0 -13
  72. data/templates/drupal/libs/formalize/README.txt +0 -11
  73. data/templates/drupal/libs/formalize/dojo.formalize.js +0 -174
  74. data/templates/drupal/libs/formalize/extjs.formalize.js +0 -168
  75. data/templates/drupal/libs/formalize/jquery.formalize.js +0 -158
  76. data/templates/drupal/libs/formalize/mootools.formalize.js +0 -163
  77. data/templates/drupal/libs/formalize/prototype.formalize.js +0 -171
  78. data/templates/drupal/libs/formalize/yui.formalize.js +0 -168
  79. data/templates/drupal/libs/jquery-1.6.js +0 -8865
  80. data/templates/drupal/libs/jquery-1.6.min.js +0 -16
  81. data/templates/drupal/libs/modernizr-2.0.min.js +0 -4
  82. data/templates/drupal/libs/mootools-core-1.3.1-full-compat-yc.js +0 -485
  83. data/templates/drupal/libs/plugins.js +0 -58
  84. data/templates/drupal/libs/respond.min.js +0 -7
  85. data/templates/drupal/libs/selectivizr-min.js +0 -5
  86. data/templates/drupal/libs/selectivizr.js +0 -5
  87. data/templates/project/files/apple-touch-icon-114x114-precomposed.png +0 -0
  88. data/templates/project/files/apple-touch-icon-72x72-precomposed.png +0 -0
  89. data/templates/project/files/apple-touch-icon.png +0 -0
  90. data/templates/project/files/crossdomain.xml +0 -25
  91. data/templates/project/files/favicon.ico +0 -0
  92. data/templates/project/files/favicon.png +0 -0
  93. data/templates/project/files/google.yml +0 -22
  94. data/templates/project/files/htaccess.htaccess +0 -478
  95. data/templates/project/files/html/404.html +0 -22
  96. data/templates/project/files/html/formalize_jquery_demo.html +0 -288
  97. data/templates/project/files/html/formalize_jquery_disabled.html +0 -288
  98. data/templates/project/files/html/formalize_jquery_errors.html +0 -288
  99. data/templates/project/files/html/index.html +0 -100
  100. data/templates/project/files/html/survivalkit/elements-common.html +0 -588
  101. data/templates/project/files/html/survivalkit/elements-html5.html +0 -2988
  102. data/templates/project/files/html/survivalkit/elements-typography.html +0 -240
  103. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal-css.html +0 -1883
  104. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +0 -1882
  105. data/templates/project/files/html/survivalkit/elements-ui-patterns.html +0 -267
  106. data/templates/project/files/html/survivalkit/index.html +0 -132
  107. data/templates/project/files/html/survivalkit/styletile/index.html +0 -1
  108. data/templates/project/files/html/survivalkit/styletile/styletile.html +0 -215
  109. data/templates/project/files/humans.txt +0 -43
  110. data/templates/project/files/robots.txt +0 -5
  111. data/templates/project/libs/320-up/helper.js +0 -146
  112. data/templates/project/libs/320-up/imgSizer.js +0 -61
  113. data/templates/project/libs/jquery-1.6.js +0 -8865
  114. data/templates/project/libs/jquery-1.6.min.js +0 -16
  115. data/templates/project/libs/modernizr-2.0.min.js +0 -4
  116. data/templates/project/libs/plugins.js +0 -58
  117. data/templates/project/libs/selectivizr.js +0 -5
  118. data/templates/project/templates/_flashes.html.haml +0 -4
  119. data/templates/project/templates/_footer.html.haml +0 -2
  120. data/templates/project/templates/_head.html.haml +0 -26
  121. data/templates/project/templates/_header.html.haml +0 -1
  122. data/templates/project/templates/_javascripts.html.haml +0 -27
  123. data/templates/project/templates/_stylesheets.html.haml +0 -5
  124. data/templates/project/templates/application.html.haml +0 -28
  125. data/templates/project/templates/old/_layout.haml +0 -1
  126. data/templates/project/templates/old/home.html.haml +0 -14
  127. data/templates/project/templates/old/layouts/default.haml +0 -62
  128. data/templates/project/templates/old/layouts/survivalkit/default.haml +0 -64
  129. data/templates/project/templates/old/layouts/survivalkit/styletile.haml +0 -64
  130. data/templates/project/templates/old/survivalkit/_layout.haml +0 -1
  131. data/templates/project/templates/old/survivalkit/elements-common.haml +0 -33
  132. data/templates/project/templates/old/survivalkit/elements-html5.haml +0 -71
  133. data/templates/project/templates/old/survivalkit/elements-typography.haml +0 -100
  134. data/templates/project/templates/old/survivalkit/elements-ui-patterns-drupal.haml +0 -38
  135. data/templates/project/templates/old/survivalkit/elements-ui-patterns.haml +0 -23
  136. data/templates/project/templates/old/survivalkit/index.haml +0 -2
  137. data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +0 -8
  138. data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +0 -8
  139. data/templates/project/templates/old/survivalkit/partials/common/characters.haml +0 -11
  140. data/templates/project/templates/old/survivalkit/partials/common/cite.haml +0 -12
  141. data/templates/project/templates/old/survivalkit/partials/common/code.haml +0 -8
  142. data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +0 -8
  143. data/templates/project/templates/old/survivalkit/partials/common/em.haml +0 -10
  144. data/templates/project/templates/old/survivalkit/partials/common/forms.haml +0 -27
  145. data/templates/project/templates/old/survivalkit/partials/common/headers.haml +0 -23
  146. data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +0 -9
  147. data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +0 -10
  148. data/templates/project/templates/old/survivalkit/partials/common/links.haml +0 -10
  149. data/templates/project/templates/old/survivalkit/partials/common/lists.haml +0 -55
  150. data/templates/project/templates/old/survivalkit/partials/common/others.haml +0 -35
  151. data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +0 -15
  152. data/templates/project/templates/old/survivalkit/partials/common/pre.haml +0 -27
  153. data/templates/project/templates/old/survivalkit/partials/common/q.haml +0 -8
  154. data/templates/project/templates/old/survivalkit/partials/common/samp.haml +0 -8
  155. data/templates/project/templates/old/survivalkit/partials/common/strong.haml +0 -8
  156. data/templates/project/templates/old/survivalkit/partials/common/tables.haml +0 -43
  157. data/templates/project/templates/old/survivalkit/partials/common/var.haml +0 -8
  158. data/templates/project/templates/old/survivalkit/partials/header-styletile.haml +0 -9
  159. data/templates/project/templates/old/survivalkit/partials/header.haml +0 -6
  160. data/templates/project/templates/old/survivalkit/partials/html5/a.haml +0 -36
  161. data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +0 -26
  162. data/templates/project/templates/old/survivalkit/partials/html5/address.haml +0 -27
  163. data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +0 -31
  164. data/templates/project/templates/old/survivalkit/partials/html5/article.haml +0 -22
  165. data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +0 -20
  166. data/templates/project/templates/old/survivalkit/partials/html5/b.haml +0 -21
  167. data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +0 -30
  168. data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +0 -32
  169. data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +0 -46
  170. data/templates/project/templates/old/survivalkit/partials/html5/code.haml +0 -70
  171. data/templates/project/templates/old/survivalkit/partials/html5/details.haml +0 -42
  172. data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +0 -52
  173. data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +0 -69
  174. data/templates/project/templates/old/survivalkit/partials/html5/em.haml +0 -15
  175. data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +0 -49
  176. data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +0 -48
  177. data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +0 -37
  178. data/templates/project/templates/old/survivalkit/partials/html5/header.haml +0 -44
  179. data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +0 -20
  180. data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +0 -52
  181. data/templates/project/templates/old/survivalkit/partials/html5/i.haml +0 -28
  182. data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +0 -19
  183. data/templates/project/templates/old/survivalkit/partials/html5/label.haml +0 -18
  184. data/templates/project/templates/old/survivalkit/partials/html5/li.haml +0 -91
  185. data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +0 -30
  186. data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +0 -39
  187. data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +0 -68
  188. data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +0 -23
  189. data/templates/project/templates/old/survivalkit/partials/html5/p.haml +0 -41
  190. data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +0 -48
  191. data/templates/project/templates/old/survivalkit/partials/html5/q.haml +0 -34
  192. data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +0 -55
  193. data/templates/project/templates/old/survivalkit/partials/html5/s.haml +0 -17
  194. data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +0 -27
  195. data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +0 -52
  196. data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +0 -152
  197. data/templates/project/templates/old/survivalkit/partials/html5/section.haml +0 -21
  198. data/templates/project/templates/old/survivalkit/partials/html5/small.haml +0 -33
  199. data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +0 -25
  200. data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +0 -58
  201. data/templates/project/templates/old/survivalkit/partials/html5/table.haml +0 -196
  202. data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +0 -305
  203. data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +0 -67
  204. data/templates/project/templates/old/survivalkit/partials/html5/time.haml +0 -31
  205. data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +0 -21
  206. data/templates/project/templates/old/survivalkit/partials/menu.haml +0 -14
  207. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +0 -7
  208. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +0 -7
  209. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +0 -69
  210. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +0 -7
  211. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +0 -54
  212. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +0 -23
  213. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +0 -24
  214. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +0 -16
  215. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +0 -6
  216. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +0 -10
  217. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +0 -21
  218. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +0 -28
  219. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +0 -17
  220. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +0 -5
  221. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +0 -14
  222. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +0 -6
  223. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +0 -14
  224. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +0 -10
  225. data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +0 -7
  226. data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +0 -7
  227. data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +0 -69
  228. data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +0 -7
  229. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +0 -54
  230. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +0 -23
  231. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +0 -24
  232. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +0 -16
  233. data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +0 -6
  234. data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +0 -10
  235. data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +0 -21
  236. data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +0 -28
  237. data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +0 -17
  238. data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +0 -5
  239. data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +0 -14
  240. data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +0 -6
  241. data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +0 -14
  242. data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +0 -10
  243. data/templates/project/templates/old/survivalkit/styletile/_layout.haml +0 -1
  244. data/templates/project/templates/old/survivalkit/styletile/index.redirect +0 -1
  245. data/templates/project/templates/old/survivalkit/styletile/styletile.haml +0 -60
  246. data/templates/project/templates/old/view_helpers.rb +0 -25
  247. data/templates/shared/survivalkit/drupal7.scss +0 -3224
  248. data/templates/shared/survivalkit/survivalkit.scss +0 -32
@@ -1,35 +0,0 @@
1
- %div#others.element
2
- %h2.element-title Other Elements
3
- .markup
4
- %h3 Subscript and superscript samples
5
- %p
6
- H
7
- %sub> 2
8
- O,
9
- %br
10
- E = mc
11
- %sup> 2
12
- ,
13
- %br
14
- The 14
15
- %sup th
16
- of September
17
- %h3 Insertion and deletion samples
18
- %p
19
- %ins{:datetime => "2009-07-12T08:15:30+02:00", :title => "Added new information according to suggestions"} This information was just added.
20
- %br
21
- %del Whilte this information is no longer valid.
22
- %h3 Presentational elements
23
- %p
24
- %b Bold text
25
- %br
26
- %i Italic text
27
- %br
28
- %tt Typewriter text
29
- %br
30
- %big Big
31
- %br
32
- %small Small
33
- %br
34
- Horizontal rule:
35
- %hr
@@ -1,15 +0,0 @@
1
- %div#paragraphs.element
2
- %h2.element-title Paragraphs
3
- .markup
4
- %p
5
- I leave a
6
- %em white and turbid
7
- wake; pale waters, paler cheeks, where'er I sail. The envious billows sidelong swell to whelm my track; let them; but first I pass.
8
- %p
9
- Yonder, by ever-brimming goblet's rim,
10
- %strong the warm waves
11
- blush like wine. The gold brow plumbs the blue. The diver sun—slow dived from noon—goes down; my soul mounts up! she wearies with her endless hill. Is, then, the crown too heavy that I wear? this Iron Crown of Lombardy. Yet is it bright with many a gem; I the wearer, see not its far flashings; but darkly feel that I wear that, that
12
- = succeed "." do
13
- %a{:href => ""} dazzlingly confounds
14
- 'Tis iron—that I know—not gold. 'Tis split, too—that I feel; the jagged edge galls me so, my brain seems to beat against the solid metal; aye, steel skull, mine; the sort that needs no helmet in the most brain-battering fight!
15
- %p Dry heat upon my brow? Oh! time was, when as the sunrise nobly spurred me, so the sunset soothed. No more. This lovely light, it lights not me; all loveliness is anguish to me, since I can ne'er enjoy. Gifted with the high perception, I lack the low, enjoying power; damned, most subtly and most malignantly! damned in the midst of Paradise! Good night—good night! (WAVING HIS HAND, HE MOVES FROM THE WINDOW.)
@@ -1,27 +0,0 @@
1
- %div#pre.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/grouping-content.html#the-pre-element"} pre
4
- .markup
5
- %p
6
- This is the
7
- %code Panel
8
- constructor:
9
- %pre
10
- %code
11
- :preserve
12
- function Panel(element, canClose, closeHandler) {
13
- this.element = element;
14
- this.canClose = canClose;
15
- this.closeHandler = function () { if (closeHandler) closeHandler() };
16
- } .markup
17
- %pre
18
- :preserve
19
- ,, ,, ,,
20
- .M"""bgd db `7MM `7MMF' `YMM' db mm
21
- ,MI "Y MM MM .M' MM
22
- `MMb. `7MM `7MM `7Mb,od8 `7M' `MF'`7MM `7M' `MF',6"Yb. MM MM .d" `7MM mmMMmm
23
- `YMMNq. MM MM MM' "' VA ,V MM VA ,V 8) MM MM MMMMM. MM MM
24
- . `MM MM MM MM VA ,V MM VA ,V ,pm9MM MM MM VMA MM MM
25
- Mb dM MM MM MM VVV MM VVV 8M MM MM MM `MM. MM MM
26
- P"Ybmmd" `Mbod"YML..JMML. W .JMML. W `Moo9^Yo..JMML. .JMML. MMb..JMML. `Mbmo
27
-
@@ -1,8 +0,0 @@
1
- %div#q.element
2
- %h2.element-title q
3
- .markup
4
- %p
5
- Inline quotation.
6
- %br
7
- Sample:
8
- %q This is sample quotation
@@ -1,8 +0,0 @@
1
- %div#samp.element
2
- %h2.element-title samp
3
- .markup
4
- %p
5
- Defines computer output data, for example we can use it to markup error messages.
6
- %br
7
- Sample:
8
- %samp Error: no such file or directory
@@ -1,8 +0,0 @@
1
- %div#strong.element
2
- %h2.element-title strong
3
- .markup
4
- %p
5
- This element stands for "stronger emphasis" and is used for marking more important text.
6
- %br
7
- Sample:
8
- %strong This is text with stronger emphasis
@@ -1,43 +0,0 @@
1
- %div#tables.element
2
- %h2.element-title Tables
3
- .markup
4
- %table
5
- %caption
6
- Table title goes here
7
- %thead
8
- %tr
9
- %th Mauris
10
- %th Tempor
11
- %th Praesent lacus nulla
12
- %th Quis
13
- %tbody
14
- %tr.odd
15
- %td Mauris
16
- %td 23.000
17
- %td Suspendisse viverra
18
- %td Yes
19
- %tr.even
20
- %td Trupis
21
- %td 1.000
22
- %td Placerat tortor aesent semper
23
- %td No
24
- %tr.odd
25
- %td Sagittis
26
- %td 122.000
27
- %td Neque vel condimentum
28
- %td No
29
- %tr.even
30
- %td Libero
31
- %td 500
32
- %td Hendrerit, lectus elit pretium
33
- %td Yes
34
- %tr.odd
35
- %td Tristique
36
- %td 100.000
37
- %td Ligula nec consequat
38
- %td Yes
39
- %tr.even
40
- %td Id Neque
41
- %td 600.000
42
- %td Etiam sodales orci nec
43
- %td No
@@ -1,8 +0,0 @@
1
- %div#var.element
2
- %h2.element-title var
3
- .markup
4
- %p
5
- Means variables used in computer programs or scripts.
6
- %br
7
- Sample:
8
- %var counter
@@ -1,9 +0,0 @@
1
- %header
2
- .client-id
3
- %h1.client-name= @clientname
4
- %aside
5
- = @clientname
6
- Style Tiles
7
- %br/
8
- Version
9
- = @version
@@ -1,6 +0,0 @@
1
- %header
2
- %hgroup
3
- %h1
4
- %a{:href => "/survivalkit/"} The Coding Designer's Survival Kit
5
- %h2= @title
6
- = @headertext
@@ -1,36 +0,0 @@
1
- %div#a.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-a-element"} a
4
- .markup
5
- %nav
6
- %ul
7
- %li
8
- %a{:href => "/"} Home
9
- %li
10
- %a{:href => "/news"} News
11
- %li
12
- %a Examples
13
- %li
14
- %a{:href => "/legal"} Legal
15
- %p
16
- The
17
- %code
18
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-a-element"} a
19
- element may be wrapped around entire
20
- paragraphs, lists, tables, and so forth, even entire sections, so
21
- long as there is no interactive content within (e.g. buttons or
22
- other links). This example shows how this can be used to make an
23
- entire advertising block into a link:
24
- .markup
25
- %aside.advertising
26
- %h1 Advertising
27
- %a{:href => "http://ad.example.com/?adid=1929&pubid=1422"}
28
- %section
29
- %h1 Mellblomatic 9000!
30
- %p Turn all your widgets into mellbloms!
31
- %p Only $9.99 plus shipping and handling.
32
- %a{:href => "http://ad.example.com/?adid=375&pubid=1422"}
33
- %section
34
- %h1 The Mellblom Browser
35
- %p Web browsing at the speed of light.
36
- %p No other browser goes faster!
@@ -1,26 +0,0 @@
1
- %div#abbr.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-abbr-element"} abbr
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-abbr-element"} abbr
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- an
11
- abbreviation or acronym, optionally with its expansion. The
12
- %dfn#attr-abbr-title{:title => "attr-abbr-title"}
13
- %code title
14
- attribute may be
15
- used to provide an expansion of the abbreviation. The attribute, if
16
- specified, must contain an expansion of the abbreviation, and
17
- nothing else.
18
- .markup
19
- %p
20
- The
21
- %dfn#whatwg
22
- %abbr{:title => "Web Hypertext Application Technology Working Group"} WHATWG
23
- is a loose unofficial collaboration of Web browser manufacturers and
24
- interested parties who wish to develop new technologies designed to
25
- allow authors to write and deploy Applications over the World Wide
26
- Web.
@@ -1,27 +0,0 @@
1
- %div#address.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/sections.html#the-address-element"} Address
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/sections.html#the-address-element"} address
8
- element
9
- %a{:href => "http://developers.whatwg.org/sections.html#represents"} represents
10
- the contact information for its nearest
11
- %code
12
- %a{:href => "http://developers.whatwg.org/sections.html#the-article-element"} article
13
- or
14
- %code
15
- %a{:href => "http://developers.whatwg.org/sections.html#the-body-element-0"} body
16
- element ancestor. If that is
17
- = succeed "," do
18
- %a{:href => "dom.html#the-body-element"} the body element
19
- then the contact information applies to the document as a whole.
20
- .markup
21
- %address
22
- %a{:href => ""}> Dave Raggett
23
- ,
24
- = succeed "," do
25
- %a{:href => ""} Arnaud Le Hors
26
- contact persons for the
27
- %a{:href => ""} W3C HTML Activity
@@ -1,31 +0,0 @@
1
- %div#all-headings.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"} The h1, h2, h3, h4, h5, and h6 elements
4
- %p
5
- These elements
6
- %a{:href => "http://developers.whatwg.org/sections.html#represents", :title => "represents"} represent
7
- headings for their sections.
8
- %p
9
- The semantics and meaning of these elements are defined in the section on
10
- = succeed "." do
11
- %a{:href => "http://developers.whatwg.org/sections.html#headings-and-sections"} headings and sections
12
- %p These two snippets are equivalent in the outline:
13
- .markup
14
- %h1 Let's call it a draw(ing surface)
15
- %h2 Diving in
16
- %h2 Simple shapes
17
- %h2 Canvas coordinates
18
- %h3 Canvas coordinates diagram
19
- %h2 Paths
20
- .markup
21
- %h1 Let's call it a draw(ing surface)
22
- %section
23
- %h1 Diving in
24
- %section
25
- %h1 Simple shapes
26
- %section
27
- %h1 Canvas coordinates
28
- %section
29
- %h1 Canvas coordinates diagram
30
- %section
31
- %h1 Paths
@@ -1,22 +0,0 @@
1
- %div#article.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/sections.html#the-article-element"} Article
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/sections.html#the-article-element"} article
8
- element
9
- %a{:href => "http://developers.whatwg.org/sections.html#represents"} represents
10
- a self-contained composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
11
- .markup
12
- %article
13
- %header
14
- %h1 The Very First Rule of Life
15
- %p
16
- %time{:datetime => "2009-10-09T14:28-08:00", :pubdate => ""}
17
- %p
18
- If there's a microphone anywhere near you, assume it's hot and
19
- sending whatever you're saying to the world. Seriously.
20
- %p …
21
- %footer
22
- %a{:href => "?comments=1"} Show comments...
@@ -1,20 +0,0 @@
1
- %div#aside.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/sections.html#the-aside-element"} Aside
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/sections.html#the-aside-element"} aside
8
- element
9
- %a{:href => "http://developers.whatwg.org/sections.html#represents"} represents
10
- a section of a page that consists of content that is tangentially related to the content around the
11
- %code
12
- %a{:href => "http://developers.whatwg.org/sections.html#the-aside-element"} aside
13
- element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.
14
- .markup
15
- %aside
16
- %h1 Switzerland
17
- %p
18
- Switzerland, a land-locked country in the middle of geographic
19
- Europe, has not joined the geopolitical European Union, though it is
20
- a signatory to a number of European treaties.
@@ -1,21 +0,0 @@
1
- %div#b.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-b-element"} b
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-b-element"} b
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- a span of text
11
- to be stylistically offset from the normal prose without conveying
12
- any extra importance, such as key words in a document abstract,
13
- product names in a review, or other spans of text whose typical
14
- typographic presentation is boldened.
15
- .markup
16
- %p
17
- The
18
- %b frobonitor
19
- and
20
- %b barbinator
21
- components are fried.
@@ -1,30 +0,0 @@
1
- %div#bdi.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-bdi-element"} bdi
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-bdi-element"} bdi
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- a span of
11
- text that is to be isolated from its surroundings for the purposes
12
- of bidirectional text formatting.
13
- %a{:href => "references.html#refsBIDI"} [BIDI]
14
- .markup
15
- %ul
16
- %li
17
- User
18
- = succeed ":" do
19
- %bdi jcranmer
20
- 12 posts.
21
- %li
22
- User
23
- = succeed ":" do
24
- %bdi hober
25
- 5 posts.
26
- %li
27
- User
28
- = succeed ":" do
29
- %bdi إيان
30
- 3 posts.
@@ -1,32 +0,0 @@
1
- %div#blockquote.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/grouping-content.html#the-blockquote-element"} blockquote
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/grouping-content.html#the-blockquote-element"} blockquote
8
- element
9
- %a{:href => "http://developers.whatwg.org/grouping-content.html#represents"} represents
10
- a section that is quoted from another source.
11
- .markup
12
- %p
13
- His next piece was the aptly named
14
- = succeed ":" do
15
- %cite Sonnet 130
16
- %blockquote{:cite => "http://quotes.example.org/s/sonnet130.html"}
17
- %p
18
- My mistress' eyes are nothing like the sun,
19
- %br
20
- Coral is far more red, than her lips red...
21
- .markup
22
- %p He began his list of "lessons" with the following:
23
- %blockquote
24
- One should never assume that his side of
25
- the issue will be recognized, let alone that it will
26
- be conceded to have merits.
27
- %p He continued with a number of similar points, ending with:
28
- %blockquote
29
- Finally, one should be prepared for the threat
30
- of breakdown in negotiations at any given moment and not
31
- be cowed by the possiblity.
32
- %p We shall now discuss these points
@@ -1,46 +0,0 @@
1
- %div#cite.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-cite-element"} cite
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-cite-element"} cite
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- the title
11
- of a work (e.g.
12
- a book,
13
- a paper,
14
- an essay,
15
- a poem,
16
- a score,
17
- a song,
18
- a script,
19
- a film,
20
- a TV show,
21
- a game,
22
- a sculpture,
23
- a painting,
24
- a theatre production,
25
- a play,
26
- an opera,
27
- a musical,
28
- an exhibition,
29
- a legal case report,
30
- etc). This can be a work that is being quoted or
31
- referenced in detail (i.e. a citation), or it can just be a work
32
- that is mentioned in passing.
33
- .markup
34
- %p
35
- My favorite book is
36
- %cite The Reality Dysfunction
37
- by
38
- Peter F. Hamilton. My favorite comic is
39
- %cite
40
- Pearls Before
41
- Swine
42
- by Stephan Pastis. My favorite track is
43
- %cite
44
- Jive
45
- Samba
46
- by the Cannonball Adderley Sextet.
@@ -1,70 +0,0 @@
1
- %div#code.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-code-element"} code
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-code-element"} code
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- a fragment
11
- of computer code. This could be an XML element name, a filename, a
12
- computer program, or any other string that a computer would
13
- recognize.
14
- .markup
15
- %p
16
- When you call the
17
- %code activate()
18
- method on the
19
- %code robotSnowman
20
- object, the eyes glow.
21
- .markup
22
- %pre
23
- %code.language-pascal
24
- :preserve
25
- var i: Integer;
26
- begin
27
- i := 1;
28
- end. %div#var.element
29
- %h2.element-title
30
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-var-element"} var
31
- %p
32
- The
33
- %code
34
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-var-element"} var
35
- element
36
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
37
- a
38
- variable. This could be an actual variable in a mathematical
39
- expression or programming context, or it could just be a term used
40
- as a placeholder in prose.
41
- .markup
42
- %p
43
- If there are
44
- %var n
45
- pipes leading to the ice
46
- cream factory then I expect at
47
- %em least
48
- %var n
49
- flavors of ice cream to be available for purchase!
50
- .markup
51
- %figure
52
- %math
53
- %mi a
54
- %mo =
55
- %msqrt
56
- %msup
57
- %mi b
58
- %mn 2
59
- %mi +
60
- %msup
61
- %mi c
62
- %mn 2
63
- %figcaption
64
- Using Pythagoras' theorem to solve for the hypotenuse
65
- %var a
66
- of
67
- a triangle with sides
68
- %var b
69
- and
70
- %var c
@@ -1,42 +0,0 @@
1
- %div#details.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/interactive-elements.html#the-details-element"} details
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/interactive-elements.html#the-details-element"} details
8
- element
9
- %a{:href => "http://developers.whatwg.org/interactive-elements.html#represents"} represents
10
- a
11
- disclosure widget from which the user can obtain additional
12
- information or controls.
13
- .markup
14
- %section.progress.window
15
- %h1 Copying "Really Achieving Your Childhood Dreams"
16
- %details
17
- %summary
18
- Copying...
19
- %progress{:max => "375505392", :value => "97543282"}
20
- 25%
21
- %dl
22
- %dt Transfer rate:
23
- %dd 452KB/s
24
- %dt Local filename:
25
- %dd /home/rpausch/raycd.m4v
26
- %dt Remote filename:
27
- %dd /var/www/lectures/raycd.m4v
28
- %dt Duration:
29
- %dd 01:16:27
30
- %dt Color profile:
31
- %dd SD (6-1-6)
32
- %dt Dimensions:
33
- %dd 320×240
34
- .markup
35
- %details
36
- %summary
37
- %label{:for => "fn"} Name & Extension:
38
- %p
39
- %input#fn{:name => "fn", :type => "text", :value => "Pillar Magazine.pdf"}
40
- %p
41
- %label
42
- %input{:checked => "", :name => "ext", :type => "checkbox"} Hide extension
@@ -1,52 +0,0 @@
1
- %div#dfn.element
2
- %h2.element-title
3
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-dfn-element"} dfn
4
- %p
5
- The
6
- %code
7
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-dfn-element"} dfn
8
- element
9
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#represents"} represents
10
- the defining
11
- instance of a term. The
12
- = succeed "," do
13
- %a{:href => "content-models.html#paragraph", :title => "paragraph"} paragraph
14
- = succeed "," do
15
- %a{:href => "grouping-content.html#the-dl-element", :title => "dl"} description list group
16
- or
17
- %a{:href => "content-models.html#sectioning-content", :title => "sectioning content"} section
18
- that is the nearest
19
- ancestor of the
20
- %code
21
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-dfn-element"} dfn
22
- element must also contain the
23
- definition(s) for the
24
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#defining-term", :title => "defining term"} term
25
- given
26
- by the
27
- %code
28
- %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-dfn-element"} dfn
29
- element.
30
- .markup
31
- %p
32
- The
33
- %dfn
34
- %abbr{:title => "Garage Door Opener"} GDO
35
- is a device that allows off-world teams to open the iris.
36
- / ... later in the document:
37
- %p
38
- Teal'c activated his
39
- %abbr{:title => "Garage Door Opener"} GDO
40
- and so Hammond ordered the iris to be opened.
41
- .markup
42
- %p
43
- The
44
- %dfn#gdo
45
- %abbr{:title => "Garage Door Opener"} GDO
46
- is a device that allows off-world teams to open the iris.
47
- / ... later in the document:
48
- %p
49
- Teal'c activated his
50
- %a{:href => "#gdo"}
51
- %abbr{:title => "Garage Door Opener"} GDO
52
- and so Hammond ordered the iris to be opened.