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,240 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--[if lt IE 7]> <html lang="en" class="no-js ie6"> <![endif]-->
3
- <!--[if IE 7]> <html lang="en" class="no-js ie7"> <![endif]-->
4
- <!--[if IE 8]> <html lang="en" class="no-js ie8"> <![endif]-->
5
- <!--[if gt IE 8]><!-->
6
- <html class='no-js' lang='en'>
7
- <!--<![endif]-->
8
- <head>
9
- <meta charset='utf-8' />
10
- <title>Typography</title>
11
- <meta content='' name='description' />
12
- <meta content='' name='author' />
13
- <!-- Mobile viewport optimized: j.mp/bplateviewport -->
14
- <meta content='True' name='HandheldFriendly' />
15
- <meta content='320' name='MobileOptimized' />
16
- <meta content='width=device-width, target-densitydpi=160, initial-scale=1.0' name='viewport' />
17
- <!-- For iPhone 4 with high-resolution Retina display: -->
18
- <link href='/apple-touch-icon-114x114-precomposed.png' rel='apple-touch-icon-precomposed' sizes='114x114' />
19
- <!-- For first-generation iPad: -->
20
- <link href='/apple-touch-icon-72x72-precomposed.png' rel='apple-touch-icon-precomposed' sizes='72x72' />
21
- <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
22
- <link href='/apple-touch-icon-precomposed.png' rel='apple-touch-icon-precomposed' />
23
- <!-- For Nokia -->
24
- <link href='/apple-touch-icon.png' rel='shortcut icon' />
25
- <!-- For everything else -->
26
- <link href='/favicon.ico' rel='shortcut icon' />
27
- <!-- iOS. Delete if not required -->
28
- <meta content='yes' name='apple-mobile-web-app-capable' />
29
- <meta content='black-translucent' name='apple-mobile-web-app-status-bar-style' />
30
- <link href='splash.png' rel='apple-touch-startup-image' />
31
- <!-- Microsoft. Delete if not required -->
32
- <meta content='on' http-equiv='cleartype' />
33
- <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
34
- <!--[if lt IE 7 ]> <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script><script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script> <![endif]-->
35
- <!-- CSS -->
36
- <link href='/css/style.css?v=1' rel='stylesheet' />
37
- <link href='/css/survivalkit/survivalkit.css?v=1' rel='stylesheet' />
38
- <!-- All JavaScript at the bottom, except for Modernizr and Respond. -->
39
- <!--[if (lt IE 9) & (!IEMobile)]>
40
- <script src="/js/libs/selectivizr-min.js"></script>
41
- <![endif]-->
42
- <script src='/js/libs/modernizr-2.0.min.js'></script>
43
- <script src='/js/libs/respond.min.js'></script>
44
- <!-- Typekit -->
45
- <!--
46
- <script src='http://use.typekit.com/xxxxxxx.js' type='text/javascript'></script>
47
- <script type='text/javascript'>
48
- //<![CDATA[
49
- try{Typekit.load();}catch(e){}
50
- //]]>
51
- </script>
52
- -->
53
- </head>
54
- <body class='survival-kit'>
55
- <div id='page'>
56
- <header>
57
- <hgroup>
58
- <h1>
59
- <a href='/survivalkit/'>The Coding Designer's Survival Kit</a>
60
- </h1>
61
- <h2>Typography</h2>
62
- </hgroup>
63
- <div class="intro">(via <a href='#credit'>Type-a-File</a>)</div>
64
- </header>
65
- <nav class='kit-nav'>
66
- <ul>
67
- <li>
68
- <a href='/survivalkit/elements-common.html'>Common Markup</a>
69
- </li>
70
- <li>
71
- <a href='/survivalkit/elements-html5.html'>Common HTML5</a>
72
- </li>
73
- <li>
74
- <a href='/survivalkit/elements-typography.html'>Typography</a>
75
- </li>
76
- <li>
77
- <a href='/survivalkit/elements-ui-patterns-drupal.html'>Drupal UI Patterns</a>
78
- </li>
79
- <li>
80
- <a href='/survivalkit/elements-ui-patterns.html'>UI Patterns</a>
81
- </li>
82
- <li>
83
- <a href='/survivalkit/styletile/styletile.html'>Style Tile</a>
84
- </li>
85
- </ul>
86
- </nav>
87
- <div id='main' role='main'>
88
- <article>
89
- <h1><span class='kern'>T</span>ype-a-file Gives Your Web
90
- <span class='kern'>T</span>ypography
91
- a Head Start
92
- </h1>
93
- <div class='kicker'>
94
- <p>Below you’ll find some text marked up with the core elements of Type-a-file. View the source code to find out how to use them on your own site. This element, for example is called a “kicker.” It’s paragraph text that introduces the rest of the text. It’s useful for outlining your topic & looks killer. Just create a div with class=“kicker” and throw some paragraphs into it. Blammo!</p>
95
- </div>
96
- <h2>The Typographic Basics</h2>
97
- <img alt='placeholder image' src='http://dummyimage.com/480x248/ccc/fff' />
98
- <div class='caption'>You’ll often want to caption photos. This is a .caption class</div>
99
- <p><span class='drop-cap'>P</span>aragraphs are the core building block of typography online. You want to make sure you’ve got a good line-height and horizontal width—aka measure—for good readability. If you stack your lines too close together, or too far apart, lines become harder to read. Like a staircase where the steps are too shallow or too steep. The standard line-height online is something between 1.5 and 2.0 ems.
100
- <a class='superscript' href='#ems'>1</a>
101
- If your lines stretch too far across the page reading can feel like a tedious marathon. The standard single-column width online is about 70-90 characters.
102
- </p>
103
- <h2>Measure Your Measures</h2>
104
- <p>
105
- Lorem ipsum dolor sit amet, consectetur adip<span class='mark'>*</span>isicing elit, sed do eiusmod
106
- <span class='mark'>*</span>tempor
107
- incididunt ut labore et dolore magna aliqua.
108
- </p>
109
- <aside class='sidenote'>
110
- <h1>This is a “sidenote”</h1>
111
- <p>
112
- It’s different than a sidebar because its content are directly related to the main content at left. When
113
- <abbr>html5</abbr>
114
- is more prevalent, you’ll be able to start using
115
- <code>&lt;aside&gt;</code>
116
- instead of a div with a class of .sidebar.
117
- </p>
118
- <p>I’ve set it up here as a div which contains h1s for titles, as well as paragraphs.</p>
119
- </aside>
120
- <p>If you look at the source code you’ll notice how the .sidenote to the right was written before this paragraph, which it is supposed to directly relate to. You’ll probably want to set up your asides in the same manner.</p>
121
- <p>
122
- These are the simple beginnings of Type-a-file. We’ve put in a lot of work to make good typography easier for you. Colors & structure we leave to you, but typographically, we got you covered. Download the file and follow the instructions for installing and setting it up. Now we’ll get into some of the
123
- <em>fancier</em>
124
- elements we’ve built into Type-a-file.
125
- </p>
126
- <h2>Puttin’ on the Ritz</h2>
127
- <p>
128
- <span class='run-in'>Sometimes you want an opening phrase to pop.</span>
129
- You could just put it in bold tags, but wouldn’t you rather use semantic markup?
130
- <a class='superscript' href='#semantics'>2</a>
131
- We’ve created a class called .run-in so that you can! Best practices claim you’ll usually want to keep those run-ins to one line.
132
- </p>
133
- <aside class='sidenote'>
134
- <h1>Another sidenote.</h1>
135
- <p>I thought it might be interesting to show you that you can put lists into sidenotes:</p>
136
- <ul>
137
- <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
138
- <li>Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam</li>
139
- </ul>
140
- </aside>
141
- <p>
142
- Typically you want a nice, steady vertical rhythm to your page. Of course, some folks don’t
143
- <span class='pullquote'>Speaking of intelligently deviating…</span>think
144
- that it’s actually necessary on the web to stick to a baseline grid, but it can be a great guide from which you can intelligently deviate. Speaking of intelligently deviating, there are some key elements that make great deviations from the monotony of paragraphs: the “quotes.” These include blockquotes and a special Type-a-file class named “pullquote.” The latter is above, the former below:
145
- </p>
146
- <blockquote>
147
- <p>Headings, subheads, block quotations, footnotes, illustrations, captions and other intrusions into the text create syncopations and variations against the base rhythm of regularly leaded lines. These variations can and should add life to the page, but the main text should also return after each variation precisely on beat and in phase.</p>
148
- </blockquote>
149
- <cite>Robert Bringhurst</cite>
150
- <h2>Delineate, Demonstrate, Define</h2>
151
- <p>This Type-a-file would of course be incomplete without specifications for lists, codes & definitions. It’s fairly common to indent both blockquotes and list elements, but seriously consider left aligning your text for these items and outdenting their bullets & other visual demarcations. It can present a cleaner appearance while also drawing focused attention to information points.</p>
152
- <ol>
153
- <li>This is a list that is well ordered.</li>
154
- <li>It starts with one and goes to two.</li>
155
- <li>Then it has a third item.</li>
156
- <li>Followed by the fourth, and—in this case—last item.</li>
157
- </ol>
158
- <ul>
159
- <li>Un-ordered lists are just as simple.</li>
160
- <li>The only difference being that the items are marks by bullets instead of numbers.</li>
161
- <li>Don’t forget that lists can have list titles.</li>
162
- <li>Finally we’ve reached the last un-ordered item.</li>
163
- </ul>
164
- <p>
165
- If you’re a blogger geek, sooner or later you’ll want to tell everybody about some ripping
166
- <abbr>css</abbr>
167
- coding you concocted by posting it on your blog-o-tubes. So we’ve got you covered.
168
- </p>
169
- <pre><code>#header h1 a {&#x000A; display: block;&#x000A; width: 300px;&#x000A; height: 80px;&#x000A; } %p Then, since you’re an uber-geek-dufus-man-child who’s fascinated by proving to the world you have sooooo much knowledge to share, you’ll probably want to post some definitions or definition-like information where a title element is closely linked with a description of some kind. We got ya.</code></pre>
170
- <dl>
171
- <dt>Type-a-file</dt>
172
- <dd>A really awesome way to get your site up to typographic snuff. It uses traditional semantic HTML tags along with some additional semantic classes named after commonly occurring elements in print design to create a solid typographic toolkit for your website, whoever you are.</dd>
173
- <dt>CSS</dt>
174
- <dd>CSS stands for Cascading Style Sheet. This is a document format which provides a set of style rules which can then be incorporated in an XHTML or HTML document. It is a means to separate web content from formatting and presentation information. CSS is also a Brazilian rock band from São Paulo. The band was labeled as part of the explosion of the New Rave scene. Their songs are in both English and Portuguese. CSS is an abbreviation for Cansei de Ser Sexy , literally “tired of being sexy” in Portuguese.</dd>
175
- </dl>
176
- <p>
177
- You see how that works? You need something done typographically, Type-a-file does it. That simple. Now what are you waiting for? Find a flavor that suits your mood and go to town. Download the zip file. All the directions and files you’ll need will be squished inside. Oh, and when you’ve become a master
178
- <abbr>css</abbr>er
179
- and start making your own flavors of Type-a-file, come back and share them with the Type-a-file community!
180
- </p>
181
- <small>
182
- This is just a
183
- <code>small</code>
184
- element. It’s really useful when you want to add a small note or bit of text to something that’s perhaps less important or a clarification of something. Another option in an arsenal of options.
185
- </small>
186
- <ol class='footnote'>
187
- <li id='ems'>
188
- <span class='run-in'>All about ems:</span>
189
- An em is a unit of measurement in the field of typography. This unit defines the proportion of the letter width and height with respect to the point size of the current font. Originally the unit was derived from the width of the capital “M” in the currently used typeface. This unit is not defined in terms of any specific typeface, and thus is the same for all fonts at a given point size. So, 1 em in a 16 point typeface is 16 points
190
- </li>
191
- <li id='semantics'>
192
- <span class='run-in'>Semantic Web:</span>
193
- A group of methods and technologies to allow machines to understand the meaning—or “semantics”—of information on the World Wide Web. The term was coined by World Wide Web Consortium (W3C) director Tim Berners-Lee. According to the original vision, the availability of machine-readable metadata would enable automated agents and other software to access the Web more intelligently. The agents would be able to perform tasks automatically and locate related information on behalf of the user.
194
- </li>
195
- </ol>
196
- </article>
197
- </div>
198
- <footer><div id='credit'>This markup is from the <a href='http://type-a-file.com'>Type-a-File</a> project. <div class='commons'>Type-a-file is a <a href='http://www.strangenative.com' target='_blank'>StrangeNative</a> product licensed under <a class='cc' href='http://www.creativecommons.com'> creative commons.</a> You're free to use it commercially or non-commercially. Just keep that credit line in there!</div></div></footer>
199
- </div>
200
- <!--
201
- Javascript at the bottom for fast page loading
202
- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary
203
- -->
204
- <script src='//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.js'></script>
205
- <script type='text/javascript'>
206
- //<![CDATA[
207
- window.jQuery || document.write("<script src='js/libs/jquery-1.6.min.js'>\x3C/script>")
208
- //]]>
209
- </script>
210
- <script src='/js/libs/plugins.js?v=1'></script>
211
- <script src='/js/script.js?v=1'></script>
212
- <script src='/js/libs/320-up/helper.js?v=1'></script>
213
- <script src='/js/kit/kit-source.jquery.js?v=1'></script>
214
- <!--[if (lt IE 9) & (!IEMobile)]>
215
- <script src="/js/libs/imgsizer.js"></script>
216
- <![endif]-->
217
- <script type='text/javascript'>
218
- //<![CDATA[
219
- // iOS scale bug fix
220
- MBP.scaleFix();
221
-
222
- // Respond.js
223
- yepnope({
224
- test : Modernizr.mq('(only all)'),
225
- nope : ['/js/libs/respond.min.js']
226
- });
227
- //]]>
228
- </script>
229
- <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet -->
230
- <!-- change the UA-XXXXX-X to be your site's ID -->
231
- <script type='text/javascript'>
232
- //<![CDATA[
233
- var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"],["_trackPageLoadTime"]];
234
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
235
- g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
236
- s.parentNode.insertBefore(g,s)}(document,"script"));
237
- //]]>
238
- </script>
239
- </body>
240
- </html>