survivalkit 0.2.1 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. data/lib/survivalkit.rb +2 -2
  2. data/stylesheets/survivalkit/extend/_helpers.sass +13 -9
  3. data/stylesheets/survivalkit/extend/_sticky-footer.sass +4 -4
  4. data/stylesheets/survivalkit/mixins/_all.sass +1 -0
  5. data/stylesheets/survivalkit/mixins/_breakpoint.sass +68 -0
  6. data/stylesheets/survivalkit/mixins/_helpers.sass +13 -0
  7. data/stylesheets/survivalkit/mixins/_pseudo.sass +0 -1
  8. data/stylesheets/survivalkit/mixins/_typography.sass +2 -2
  9. data/stylesheets/survivalkit/reset/_normalize.scss +506 -0
  10. data/stylesheets/survivalkit/style-tile/_all.sass +1 -0
  11. data/stylesheets/survivalkit/style-tile/_tile-layout.sass +143 -0
  12. data/stylesheets/survivalkit/survival_kit/_survival-kit.sass +35 -28
  13. data/stylesheets/survivalkit/variables/_color_names.sass +148 -148
  14. data/templates/project/files/html/survivalkit/elements-common.html +453 -453
  15. data/templates/project/files/html/survivalkit/elements-html5.html +2791 -2791
  16. data/templates/project/files/html/survivalkit/elements-typography.html +102 -102
  17. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal-css.html +1688 -1688
  18. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +1688 -1688
  19. data/templates/project/files/html/survivalkit/elements-ui-patterns.html +57 -57
  20. data/templates/project/files/html/survivalkit/styletile/styletile.html +13 -5
  21. data/templates/project/ie.sass +1 -1
  22. data/templates/project/manifest.rb +13 -21
  23. data/templates/project/partials/01-variables/_all.sass +1 -2
  24. data/templates/project/partials/01-variables/_base.sass +124 -10
  25. data/templates/project/partials/01-variables/_fonts.sass +1 -1
  26. data/templates/project/partials/02-reset/_reset.sass +4 -5
  27. data/templates/project/partials/03-extend/_typography.sass +9 -9
  28. data/templates/project/partials/04-defaults/_all.sass +8 -9
  29. data/templates/project/partials/04-defaults/_common.sass +56 -3
  30. data/templates/project/partials/04-defaults/{markup/_edits.sass → _edits.sass} +0 -0
  31. data/templates/project/partials/04-defaults/{markup/_headers.sass → _headers.sass} +14 -14
  32. data/templates/project/partials/04-defaults/{markup/_images.sass → _images.sass} +1 -1
  33. data/templates/project/partials/04-defaults/{markup/_semantics.sass → _semantics.sass} +9 -9
  34. data/templates/project/partials/04-defaults/{markup/_tables.sass → _tables.sass} +1 -1
  35. data/templates/project/partials/04-defaults/{markup/forms → forms}/_form-defaults.sass +5 -5
  36. data/templates/project/partials/04-defaults/{markup/forms → forms}/_formalize.sass +0 -0
  37. data/templates/project/partials/05-grids/_grids-susy.sass +3 -13
  38. data/templates/project/partials/06-ui-patterns/{drupal/_ui-patterns.sass → _drupal-patterns.sass} +0 -0
  39. data/templates/project/partials/{08-layout-design → 08-your-design-here}/_design.sass +0 -0
  40. data/templates/project/partials/09-styletile/_tile-design.sass +22 -7
  41. data/templates/project/partials/{11-media → 10-media}/_print.sass +1 -1
  42. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_ie.sass +0 -0
  43. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_modernizr.sass +0 -0
  44. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_selectivizr.sass +0 -0
  45. data/templates/project/selectivizr.sass +1 -1
  46. data/templates/project/style.sass +7 -13
  47. data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +2 -2
  48. data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +2 -2
  49. data/templates/project/templates/old/survivalkit/partials/common/characters.haml +2 -2
  50. data/templates/project/templates/old/survivalkit/partials/common/cite.haml +2 -2
  51. data/templates/project/templates/old/survivalkit/partials/common/code.haml +2 -2
  52. data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +2 -2
  53. data/templates/project/templates/old/survivalkit/partials/common/em.haml +3 -3
  54. data/templates/project/templates/old/survivalkit/partials/common/forms.haml +2 -2
  55. data/templates/project/templates/old/survivalkit/partials/common/headers.haml +2 -2
  56. data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +2 -2
  57. data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +2 -2
  58. data/templates/project/templates/old/survivalkit/partials/common/links.haml +2 -2
  59. data/templates/project/templates/old/survivalkit/partials/common/lists.haml +2 -2
  60. data/templates/project/templates/old/survivalkit/partials/common/others.haml +2 -2
  61. data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +2 -2
  62. data/templates/project/templates/old/survivalkit/partials/common/pre.haml +9 -9
  63. data/templates/project/templates/old/survivalkit/partials/common/q.haml +2 -2
  64. data/templates/project/templates/old/survivalkit/partials/common/samp.haml +2 -2
  65. data/templates/project/templates/old/survivalkit/partials/common/strong.haml +2 -2
  66. data/templates/project/templates/old/survivalkit/partials/common/tables.haml +2 -2
  67. data/templates/project/templates/old/survivalkit/partials/common/var.haml +2 -2
  68. data/templates/project/templates/old/survivalkit/partials/html5/a.haml +2 -2
  69. data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +2 -2
  70. data/templates/project/templates/old/survivalkit/partials/html5/address.haml +2 -2
  71. data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +2 -2
  72. data/templates/project/templates/old/survivalkit/partials/html5/article.haml +2 -2
  73. data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +2 -2
  74. data/templates/project/templates/old/survivalkit/partials/html5/b.haml +2 -2
  75. data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +2 -2
  76. data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +2 -2
  77. data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +2 -2
  78. data/templates/project/templates/old/survivalkit/partials/html5/code.haml +3 -3
  79. data/templates/project/templates/old/survivalkit/partials/html5/details.haml +2 -2
  80. data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +2 -2
  81. data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +2 -2
  82. data/templates/project/templates/old/survivalkit/partials/html5/em.haml +2 -2
  83. data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +2 -2
  84. data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +2 -2
  85. data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +2 -2
  86. data/templates/project/templates/old/survivalkit/partials/html5/header.haml +2 -2
  87. data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +2 -2
  88. data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +2 -2
  89. data/templates/project/templates/old/survivalkit/partials/html5/i.haml +2 -2
  90. data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +2 -2
  91. data/templates/project/templates/old/survivalkit/partials/html5/label.haml +2 -2
  92. data/templates/project/templates/old/survivalkit/partials/html5/li.haml +2 -2
  93. data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +2 -2
  94. data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +2 -2
  95. data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +2 -2
  96. data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +2 -2
  97. data/templates/project/templates/old/survivalkit/partials/html5/p.haml +2 -2
  98. data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +11 -11
  99. data/templates/project/templates/old/survivalkit/partials/html5/q.haml +2 -2
  100. data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +2 -2
  101. data/templates/project/templates/old/survivalkit/partials/html5/s.haml +2 -2
  102. data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +2 -2
  103. data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +2 -2
  104. data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +2 -2
  105. data/templates/project/templates/old/survivalkit/partials/html5/section.haml +2 -2
  106. data/templates/project/templates/old/survivalkit/partials/html5/small.haml +2 -2
  107. data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +2 -2
  108. data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +2 -2
  109. data/templates/project/templates/old/survivalkit/partials/html5/table.haml +2 -2
  110. data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +2 -2
  111. data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +2 -2
  112. data/templates/project/templates/old/survivalkit/partials/html5/time.haml +2 -2
  113. data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +2 -2
  114. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +2 -2
  115. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +2 -2
  116. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +2 -2
  117. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +2 -2
  118. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +2 -2
  119. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +2 -2
  120. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +2 -2
  121. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +2 -2
  122. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +2 -2
  123. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +2 -2
  124. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +2 -2
  125. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +2 -2
  126. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +2 -2
  127. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +1 -1
  128. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +2 -2
  129. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +2 -2
  130. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +2 -2
  131. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +2 -2
  132. data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +2 -2
  133. data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +2 -2
  134. data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +2 -2
  135. data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +2 -2
  136. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +2 -2
  137. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +2 -2
  138. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +2 -2
  139. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +2 -2
  140. data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +2 -2
  141. data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +2 -2
  142. data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +2 -2
  143. data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +2 -2
  144. data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +2 -2
  145. data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +1 -1
  146. data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +2 -2
  147. data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +2 -2
  148. data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +2 -2
  149. data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +2 -2
  150. metadata +25 -31
  151. data/stylesheets/survivalkit/reset/_normalize.sass +0 -342
  152. data/templates/project/partials/01-variables/_grids-all.sass +0 -11
  153. data/templates/project/partials/04-defaults/markup/_grouping.sass +0 -52
  154. data/templates/project/partials/05-grids/_grids-blueprint.sass +0 -20
  155. data/templates/project/partials/08-layout-design/_layout.sass +0 -8
  156. data/templates/project/partials/09-styletile/_tile-layout.sass +0 -80
  157. data/templates/project/partials/10-responsive/_mixins.sass +0 -27
  158. data/templates/project/partials/10-responsive/_responsive-blueprint.sass +0 -139
  159. data/templates/project/partials/10-responsive/_responsive-susy.sass +0 -112
@@ -1,342 +0,0 @@
1
- =normalize
2
- /*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css
3
-
4
- /* =============================================================================
5
- * HTML5 display definitions
6
- * ==========================================================================
7
-
8
- // /*
9
- // * Corrects block display not defined in IE6/7/8/9 & FF3
10
-
11
- article, aside, details, figcaption, figure, footer, header, hgroup, nav, section
12
- display: block
13
-
14
- // /*
15
- // * Corrects inline-block display not defined in IE6/7/8/9 & FF3
16
-
17
- audio, canvas, video
18
- display: inline-block
19
- *display: inline
20
- *zoom: 1
21
-
22
- // /*
23
- // * Prevents modern browsers from displaying 'audio' without controls
24
-
25
- audio:not([controls]), [hidden]
26
- display: none
27
-
28
- // /*
29
- // * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
30
- // * Known issue: no IE6 support
31
-
32
- /* =============================================================================
33
- * Base
34
- * ==========================================================================
35
-
36
- // /*
37
- // * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
38
- // * http://clagnut.com/blog/348/#c790
39
- // * 2. Keeps page centred in all browsers regardless of content height
40
- // * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
41
- // * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
42
-
43
- html
44
- font-size: 100%
45
- // /* 1
46
- overflow-y: scroll
47
- // /* 2
48
- -webkit-text-size-adjust: 100%
49
- // /* 3
50
- -ms-text-size-adjust: 100%
51
- // /* 3
52
-
53
- // /*
54
- // * Addresses margins handled incorrectly in IE6/7
55
-
56
- body
57
- margin: 0
58
- font-family: sans-serif
59
-
60
- // /*
61
- // * Addresses font-family inconsistency between 'textarea' and other form elements.
62
-
63
- button, input, select, textarea
64
- font-family: sans-serif
65
-
66
- /* =============================================================================
67
- * Links
68
- * ==========================================================================
69
-
70
- a
71
- &:focus
72
- outline: thin dotted
73
- &:hover, &:active
74
- outline: 0
75
-
76
- // /*
77
- // * Addresses outline displayed oddly in Chrome
78
-
79
- // /*
80
- // * Improves readability when focused and also mouse hovered in all browsers
81
- // * people.opera.com/patrickl/experiments/keyboard/test
82
-
83
- /* =============================================================================
84
- * Typography
85
- * ==========================================================================
86
-
87
- // /*
88
- // * Addresses styling not present in IE7/8/9, S5, Chrome
89
-
90
- abbr[title]
91
- border-bottom: 1px dotted
92
-
93
- // /*
94
- // * Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
95
-
96
- b, strong
97
- font-weight: bold
98
-
99
- blockquote
100
- margin: 1em 40px
101
-
102
- // /*
103
- // * Addresses styling not present in S5, Chrome
104
-
105
- dfn
106
- font-style: italic
107
-
108
- // /*
109
- // * Addresses styling not present in IE6/7/8/9
110
-
111
- mark
112
- background: #ff0
113
- color: #000
114
-
115
- // /*
116
- // * Corrects font family set oddly in IE6, S4/5, Chrome
117
- // * en.wikipedia.org/wiki/User:Davidgothberg/Test59
118
-
119
- pre, code, kbd, samp
120
- font-family: monospace, serif
121
- _font-family: 'courier new', monospace
122
- font-size: 1em
123
-
124
- // /*
125
- // * Improves readability of pre-formatted text in all browsers
126
-
127
- pre
128
- white-space: pre
129
- white-space: pre-wrap
130
- word-wrap: break-word
131
-
132
- // /*
133
- // * 1. Addresses CSS quotes not supported in IE6/7
134
- // * 2. Addresses quote property not supported in S4
135
-
136
- // /* 1
137
-
138
- q
139
- quotes: none
140
- &:before, &:after
141
- content: ''
142
- content: none
143
-
144
- // /* 2
145
-
146
- small
147
- font-size: 75%
148
-
149
- // /*
150
- // * Prevents sub and sup affecting line-height in all browsers
151
- // * gist.github.com/413930
152
-
153
- sub
154
- font-size: 75%
155
- line-height: 0
156
- position: relative
157
- vertical-align: baseline
158
-
159
- sup
160
- font-size: 75%
161
- line-height: 0
162
- position: relative
163
- vertical-align: baseline
164
- top: -0.5em
165
-
166
- sub
167
- bottom: -0.25em
168
-
169
- /* =============================================================================
170
- * Lists
171
- * ==========================================================================
172
-
173
- ul, ol
174
- margin: 1em 0
175
- padding: 0 0 0 40px
176
-
177
- dd
178
- margin: 0 0 0 40px
179
-
180
- nav
181
- ul, ol
182
- list-style: none
183
- list-style-image: none
184
-
185
- /* =============================================================================
186
- * Embedded content
187
- * ==========================================================================
188
-
189
- // /*
190
- // * 1. Removes border when inside 'a' element in IE6/7/8/9
191
- // * 2. Improves image quality when scaled in IE7
192
- // * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
193
-
194
- img
195
- border: 0
196
- // /* 1
197
- -ms-interpolation-mode: bicubic
198
- // /* 2
199
-
200
- // /*
201
- // * Corrects overflow displayed oddly in IE9
202
-
203
- svg:not(:root)
204
- overflow: hidden
205
-
206
- /* =============================================================================
207
- * Figures
208
- * ==========================================================================
209
-
210
- // /*
211
- // * Addresses margin not present in IE6/7/8/9, S5, O11
212
-
213
- figure, form
214
- margin: 0
215
-
216
- /* =============================================================================
217
- * Forms
218
- * ==========================================================================
219
-
220
- // /*
221
- // * Corrects margin displayed oddly in IE6/7
222
-
223
- // /*
224
- // * Define consistent margin and padding
225
-
226
- fieldset
227
- margin: 0 2px
228
- padding: 0.35em 0.625em 0.75em
229
-
230
- // /*
231
- // * 1. Corrects color not being inherited in IE6/7/8/9
232
- // * 2. Corrects alignment displayed oddly in IE6/7
233
-
234
- legend
235
- border: 0
236
- // /* 1
237
- *margin-left: -7px
238
- // /* 2
239
-
240
- // /*
241
- // * 1. Corrects font size not being inherited in all browsers
242
- // * 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
243
- // * 3. Improves appearance and consistency in all browsers
244
-
245
- button, input, select, textarea
246
- font-size: 100%
247
- // /* 1
248
- margin: 0
249
- // /* 2
250
- vertical-align: baseline
251
- // /* 3
252
- *vertical-align: middle
253
- // /* 3
254
-
255
- // /*
256
- // * 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
257
- // * 2. Corrects inner spacing displayed oddly in IE6/7
258
-
259
- button, input
260
- // line-height: normal
261
- // /* 1
262
- *overflow: visible
263
- // /* 2
264
-
265
- // /*
266
- // * Corrects overlap and whitespace issue for buttons and inputs in IE6/7
267
- // * Known issue: reintroduces inner spacing
268
-
269
- table
270
- button, input
271
- *overflow: auto
272
-
273
- // /*
274
- // * 1. Improves usability and consistency of cursor style between image-type 'input' and others
275
- // * 2. Corrects inability to style clickable 'input' types in iOS
276
-
277
- button, html input[type="button"]
278
- cursor: pointer
279
- // /* 1
280
- -webkit-appearance: button
281
- // /* 2
282
-
283
- input
284
- &[type="reset"], &[type="submit"]
285
- cursor: pointer
286
- // /* 1
287
- -webkit-appearance: button
288
- // /* 2
289
- &[type="checkbox"], &[type="radio"]
290
- box-sizing: border-box
291
- // /* 1
292
- padding: 0
293
- // /* 2
294
- &[type="search"]
295
- -webkit-appearance: textfield
296
- // /* 1
297
- -moz-box-sizing: content-box
298
- -webkit-box-sizing: content-box
299
- // /* 2
300
- box-sizing: content-box
301
- &::-webkit-search-decoration
302
- -webkit-appearance: none
303
-
304
- // /*
305
- // * 1. Addresses box sizing set to content-box in IE8/9
306
- // * 2. Addresses excess padding in IE8/9
307
-
308
- // /*
309
- // * 1. Addresses appearance set to searchfield in S5, Chrome
310
- // * 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
311
-
312
- // /*
313
- // * Corrects inner padding displayed oddly in S5, Chrome on OSX
314
-
315
- // /*
316
- // * Corrects inner padding and border displayed oddly in FF3/4
317
- // * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
318
-
319
- button::-moz-focus-inner, input::-moz-focus-inner
320
- border: 0
321
- padding: 0
322
-
323
- // /*
324
- // * 1. Removes default vertical scrollbar in IE6/7/8/9
325
- // * 2. Improves readability and alignment in all browsers
326
-
327
- textarea
328
- overflow: auto
329
- // /* 1
330
- vertical-align: top
331
- // /* 2
332
-
333
- /* =============================================================================
334
- * Tables
335
- * ==========================================================================
336
-
337
- // /*
338
- // * Remove most spacing between table cells
339
-
340
- table
341
- border-collapse: collapse
342
- border-spacing: 0
@@ -1,11 +0,0 @@
1
- // Grid Variables --------------------------------------------------------------
2
- // Define the dimensions of the grid.
3
- // These values populate other supported grid systems
4
- $kit-total-cols: 6
5
- $kit-col-width: 140px
6
- $kit-gutter-width: $kit-gutter
7
- $kit-side-gutter-width: 0px
8
-
9
- $kit-container-width: ($kit-col-width * $kit-total-cols) + ($kit-gutter-width * ($kit-total-cols - 1))
10
-
11
- $show-grid: false
@@ -1,52 +0,0 @@
1
- p
2
- +trailer
3
-
4
- hr
5
-
6
- pre
7
- @extend .mono
8
- // margin: $base-rhythm-unit
9
- white-space: pre
10
- white-space: pre-wrap
11
- word-wrap: break-word
12
- line-height: 1
13
-
14
- blockquote
15
- // margin: $base-rhythm-unit $kit-gutter
16
- // font-style: italic
17
- // font-weight: 300
18
-
19
- /* Lists --------------------------------------------------------------
20
-
21
- ol, ul
22
- // +trailer
23
- // padding-left: $kit-gutter
24
-
25
- dl
26
- margin-left: 0
27
-
28
- ol
29
- list-style: decimal
30
-
31
- ul
32
- list-style: disc
33
- li &
34
- list-style-type: circle
35
-
36
- dt
37
- // +leader
38
- // font-style: italic
39
- // &:first-of-type
40
- // +leader(0)
41
-
42
- dd
43
- // padding-left: $kit-gutter
44
-
45
- //
46
- figure
47
-
48
- figcaption
49
-
50
- address
51
- @extend .italic
52
-
@@ -1,20 +0,0 @@
1
- // The number of columns in the grid.
2
- $blueprint-grid-columns: $kit-total-cols !default
3
- // The width of a column
4
- $blueprint-grid-width: $kit-col-width !default
5
- // The amount of margin between columns
6
- $blueprint-grid-margin: $kit-gutter-width !default
7
- @import blueprint/grid
8
-
9
- // Background grid variables
10
- $grid-background-total-columns: $kit-total-cols
11
- $grid-background-column-width: $kit-col-width
12
- $grid-background-gutter-width: $kit-gutter-width
13
- $grid-background-baseline-height: $kit-baseline
14
- // $grid-background-offset: $kit-side-gutter-width
15
- @import compass/layout/grid-background
16
-
17
-
18
- .container
19
- +container
20
- +column-grid-background
@@ -1,8 +0,0 @@
1
- // Set up the layout for your site using your chosen grid framework
2
- /* LAYOUT --------------------------------------------------------------
3
-
4
-
5
- #page
6
- @extend .container
7
- // uncomment this line for fluid layout
8
- // width: 95%
@@ -1,80 +0,0 @@
1
- // Set up the layout for your site using your chosen grid framework
2
-
3
- // Style Tile Grid
4
- // Grid Variables ------------------------------------------------------
5
- $total-cols: 12
6
- $col-width: 60px
7
- $gutter-width: 14px
8
- $side-gutter-width: 0px
9
-
10
- @import susy
11
- // uncomment to output the full container width to the terminal
12
- // @debug columns-width()
13
- /* DEFINE THE GRID CONTAINER -------------------------------------------
14
- .container
15
- +container
16
-
17
-
18
-
19
- /* LAYOUT --------------------------------------------------------------
20
-
21
-
22
- #page
23
- @extend .container
24
- // uncomment this line for fluid layout
25
- width: 95%
26
- header
27
- +full
28
- // +trailer
29
- .client-id
30
- +columns(8)
31
- aside
32
- +columns(4)
33
- +omega
34
- #main
35
- +full
36
- .text-examples
37
- +columns(6)
38
- .graphic-examples
39
- +columns(6)
40
- +omega
41
- footer
42
- +full
43
-
44
-
45
- /* graphic examples
46
-
47
- /* colors
48
- .colors
49
- ul
50
- +inline-list
51
- li
52
- +columns(1, 6)
53
- height: $kit-baseline * 5
54
- margin-bottom: $kit-baseline
55
- border: 4px solid $white
56
- position: relative
57
- &:nth-of-type(6n+6)
58
- +omega
59
- &:after
60
- position: relative
61
- top: 102%
62
- color: $gray
63
-
64
- .images
65
- ul
66
- +inline-list
67
- li
68
- +columns(3, 6)
69
- overflow: hidden
70
- margin-bottom: $kit-baseline
71
- &:nth-of-type(2n+2)
72
- +omega
73
- @media screen and (min-width: 1100px)
74
- +reset-column
75
- &:nth-of-type(2n+2)
76
- +columns(2, 6)
77
- +columns(2, 6)
78
- &:nth-of-type(3n+3)
79
- +omega
80
-
@@ -1,27 +0,0 @@
1
- // experimental - depends on Sass 3.2 or higher
2
- define your own breakpoints
3
- styles nested in the mixin will pass thru in @content
4
- resist the urge to settle on common device sizes
5
- http://marcdrummond.com/responsive-web-design/2011/12/29/default-breakpoints-are-dead
6
-
7
- USAGE:
8
- .some-class
9
- color: red
10
- +respond-to(handhelds)
11
- color: green
12
-
13
- =respond-to($media)
14
- @if $media == handhelds
15
- @media only screen and (max-width: 320px)
16
- @debug 'you still need to define the proper width'
17
- @content
18
- @else if $media == medium-screens
19
- @media only screen and (min-width: 321px) and (max-width: 1024px)
20
- @debug 'you still need to define the proper width'
21
- @content
22
- @else if $media == wide-screens
23
- @media only screen and (min-width: 1200px) and (max-width: 1635px)
24
- @content
25
- @else if $media == superwide-screens
26
- @media only screen and (min-width: 1635px)
27
- @content
@@ -1,139 +0,0 @@
1
- /* RESPONSIVE GRIDS --------------------------------------------------------------
2
- // based on the Blueprint grid system
3
-
4
- // mobile vertical (iphone)
5
- small screen devices, like phones, held in portrait mode
6
- // redefine grid variables for this context
7
- $blueprint-grid-columns: 1
8
- $blueprint-grid-width: 320px
9
- $blueprint-grid-margin: $kit-gutter-half
10
- @import blueprint/grid
11
- // @debug $blueprint-container-size
12
- $grid-background-total-columns: $blueprint-grid-columns
13
- $grid-background-column-width: $blueprint-grid-width
14
- $grid-background-gutter-width: $blueprint-grid-margin
15
- @import compass/layout/grid-background
16
- @media screen and (max-width: 320px)
17
- // YOUR STYLES BELOW
18
- #page
19
- +container
20
- +column-grid-background
21
-
22
-
23
- // mobile horizontal (iphone)
24
- small screen devices, like phones, held in landscape mode
25
- // redefine grid variables for this context
26
- $blueprint-grid-columns: 3
27
- $blueprint-grid-width: 97px
28
- $blueprint-grid-margin: 15px
29
- @import blueprint/grid
30
- // @debug $blueprint-container-size
31
- $grid-background-total-columns: $blueprint-grid-columns
32
- $grid-background-column-width: $blueprint-grid-width
33
- $grid-background-gutter-width: $blueprint-grid-margin
34
- @import compass/layout/grid-background
35
- @media screen and (min-width: 321px) and (max-width: 480px)
36
- // YOUR STYLES BELOW
37
- #page
38
- +container
39
- +column-grid-background
40
-
41
-
42
- // smaller tablets
43
- like Amazon Kindle (600x800) and Barnes & Noble Nook (768x1024)
44
- held in portrait mode
45
- // redefine grid variables for this context
46
- $blueprint-grid-columns: 4
47
- $blueprint-grid-width: 100px
48
- $blueprint-grid-margin: $kit-gutter
49
- @import blueprint/grid
50
- // @debug $blueprint-container-size
51
- $grid-background-total-columns: $blueprint-grid-columns
52
- $grid-background-column-width: $blueprint-grid-width
53
- $grid-background-gutter-width: $blueprint-grid-margin
54
- @import compass/layout/grid-background
55
- @media screen and (min-width: 481px) and (max-width: 600px)
56
- // YOUR STYLES BELOW
57
- #page
58
- +container
59
- +column-grid-background
60
-
61
-
62
- // tablets
63
- Ten-inch tables like the iPad (1024x768) held in portrait mode
64
- // redefine grid variables for this context
65
- $blueprint-grid-columns: 5
66
- $blueprint-grid-width: 100px
67
- $blueprint-grid-margin: $kit-gutter
68
- @import blueprint/grid
69
- // @debug $blueprint-container-size
70
- $grid-background-total-columns: $blueprint-grid-columns
71
- $grid-background-column-width: $blueprint-grid-width
72
- $grid-background-gutter-width: $blueprint-grid-margin
73
- @import compass/layout/grid-background
74
- @media screen and (min-width: 601px) and (max-width: 768px)
75
- // YOUR STYLES BELOW
76
- #page
77
- +container
78
- +column-grid-background
79
-
80
-
81
- // tablets, laptops, desktops
82
- Tablets like the iPad (1024x768) held in landscape mode,
83
- as well as certain laptop, netbook, and desktop displays
84
- (commented out, since it's the default context)
85
- // redefine grid variables for this context
86
- $blueprint-grid-columns: $kit-total-cols
87
- $blueprint-grid-width: 105px
88
- $blueprint-grid-margin: $kit-gutter-width
89
- @import blueprint/grid
90
- // @debug $blueprint-container-size
91
- $grid-background-total-columns: $blueprint-grid-columns
92
- $grid-background-column-width: $blueprint-grid-width
93
- $grid-background-gutter-width: $blueprint-grid-margin
94
- @import compass/layout/grid-background
95
- @media screen and (min-width: 769px) and (max-width: 960px)
96
- // YOUR STYLES BELOW
97
- #page
98
- +container
99
- +column-grid-background
100
-
101
- // tablets, laptops, desktops (larger)
102
- Tablets like the iPad (1024x768) held in landscape mode,
103
- as well as certain laptop, netbook, and desktop displays
104
- (commented out, since it's the default context)
105
- // redefine grid variables for this context
106
- $blueprint-grid-columns: $kit-total-cols
107
- $blueprint-grid-width: $kit-col-width
108
- $blueprint-grid-margin: $kit-gutter-width
109
- @import blueprint/grid
110
- // @debug $blueprint-container-size
111
- $grid-background-total-columns: $blueprint-grid-columns
112
- $grid-background-column-width: $blueprint-grid-width
113
- $grid-background-gutter-width: $blueprint-grid-margin
114
- @import compass/layout/grid-background
115
- @media screen and (min-width: 960px) and (max-width: 1200px)
116
- // YOUR STYLES BELOW
117
- #page
118
- +container
119
- +column-grid-background
120
-
121
-
122
- // wide screen
123
- primarily laptop and desktop browsers
124
- // redefine grid variables for this context
125
- $blueprint-grid-columns: 8
126
- $blueprint-grid-width: 128px
127
- $blueprint-grid-margin: $kit-gutter
128
- @import blueprint/grid
129
- // @debug $blueprint-container-size
130
- $grid-background-total-columns: $blueprint-grid-columns
131
- $grid-background-column-width: $blueprint-grid-width
132
- $grid-background-gutter-width: $blueprint-grid-margin
133
- @import compass/layout/grid-background
134
- @media screen and (min-width: 1200px)
135
- // YOUR STYLES BELOW
136
- #page
137
- +container
138
- +column-grid-background
139
-