HarryGuerilla-damn-layout-generators 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/.gitignore +2 -1
  2. data/CHANGELOG +12 -0
  3. data/VERSION +1 -1
  4. data/damn-layout-generators.gemspec +25 -2
  5. data/rails_generators/damn_layout/templates/960-grid-system/README.txt +36 -0
  6. data/rails_generators/damn_layout/templates/960-grid-system/code/css/960.css +1 -0
  7. data/rails_generators/damn_layout/templates/960-grid-system/code/css/reset.css +1 -0
  8. data/rails_generators/damn_layout/templates/960-grid-system/code/css/text.css +1 -0
  9. data/rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/960.css +405 -0
  10. data/rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/reset.css +53 -0
  11. data/rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/text.css +84 -0
  12. data/rails_generators/damn_layout/templates/960-grid-system/code/demo.html +592 -0
  13. data/rails_generators/damn_layout/templates/960-grid-system/code/img/12_col.gif +0 -0
  14. data/rails_generators/damn_layout/templates/960-grid-system/code/img/16_col.gif +0 -0
  15. data/rails_generators/damn_layout/templates/960-grid-system/licenses/GPL_license.txt +674 -0
  16. data/rails_generators/damn_layout/templates/960-grid-system/licenses/MIT_license.txt +20 -0
  17. data/rails_generators/damn_layout/templates/960-grid-system/sketch_sheets/960_sketch.pdf +0 -0
  18. data/rails_generators/damn_layout/templates/960-grid-system/templates/fireworks/960_grid_12_col.png +0 -0
  19. data/rails_generators/damn_layout/templates/960-grid-system/templates/fireworks/960_grid_16_col.png +0 -0
  20. data/rails_generators/damn_layout/templates/960-grid-system/templates/illustrator/960_grid_12_col.ai +2438 -0
  21. data/rails_generators/damn_layout/templates/960-grid-system/templates/illustrator/960_grid_16_col.ai +2621 -0
  22. data/rails_generators/damn_layout/templates/960-grid-system/templates/inkscape/960_grid_12_col.svg +217 -0
  23. data/rails_generators/damn_layout/templates/960-grid-system/templates/inkscape/960_grid_16_col.svg +265 -0
  24. data/rails_generators/damn_layout/templates/960-grid-system/templates/omnigraffle/960_graffle.graffle +0 -0
  25. data/rails_generators/damn_layout/templates/960-grid-system/templates/photoshop/960_grid_12_col.psd +0 -0
  26. data/rails_generators/damn_layout/templates/960-grid-system/templates/photoshop/960_grid_16_col.psd +0 -0
  27. data/rails_generators/damn_layout/templates/960-grid-system/templates/visio/960_visio.vsd +0 -0
  28. metadata +25 -2
  29. data/rails_generators/damn_layout/templates/.DS_Store +0 -0
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- pkg
1
+ pkg
2
+ .DS_Store
data/CHANGELOG CHANGED
@@ -1,3 +1,15 @@
1
+ 0.1.3 (May 25th, 2009)
2
+
3
+ * added missing files for the 960 grid system to repository
4
+
5
+ 0.1.2 (May 25th, 2009)
6
+
7
+ * fixed incorrect url in rakefile
8
+
9
+ 0.1.1 (May 25th, 2009)
10
+
11
+ * fixed .gitignore file
12
+
1
13
  0.1.0 (May 24th, 2009)
2
14
 
3
15
  * initial release
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{damn-layout-generators}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tony Pelaez"]
@@ -26,7 +26,30 @@ Gem::Specification.new do |s|
26
26
  "rails_generators/damn_layout/.DS_Store",
27
27
  "rails_generators/damn_layout/USAGE.txt",
28
28
  "rails_generators/damn_layout/damn_layout_generator.rb",
29
- "rails_generators/damn_layout/templates/.DS_Store",
29
+ "rails_generators/damn_layout/templates/960-grid-system/README.txt",
30
+ "rails_generators/damn_layout/templates/960-grid-system/code/.DS_Store",
31
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/960.css",
32
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/reset.css",
33
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/text.css",
34
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/960.css",
35
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/reset.css",
36
+ "rails_generators/damn_layout/templates/960-grid-system/code/css/uncompressed/text.css",
37
+ "rails_generators/damn_layout/templates/960-grid-system/code/demo.html",
38
+ "rails_generators/damn_layout/templates/960-grid-system/code/img/12_col.gif",
39
+ "rails_generators/damn_layout/templates/960-grid-system/code/img/16_col.gif",
40
+ "rails_generators/damn_layout/templates/960-grid-system/licenses/GPL_license.txt",
41
+ "rails_generators/damn_layout/templates/960-grid-system/licenses/MIT_license.txt",
42
+ "rails_generators/damn_layout/templates/960-grid-system/sketch_sheets/960_sketch.pdf",
43
+ "rails_generators/damn_layout/templates/960-grid-system/templates/fireworks/960_grid_12_col.png",
44
+ "rails_generators/damn_layout/templates/960-grid-system/templates/fireworks/960_grid_16_col.png",
45
+ "rails_generators/damn_layout/templates/960-grid-system/templates/illustrator/960_grid_12_col.ai",
46
+ "rails_generators/damn_layout/templates/960-grid-system/templates/illustrator/960_grid_16_col.ai",
47
+ "rails_generators/damn_layout/templates/960-grid-system/templates/inkscape/960_grid_12_col.svg",
48
+ "rails_generators/damn_layout/templates/960-grid-system/templates/inkscape/960_grid_16_col.svg",
49
+ "rails_generators/damn_layout/templates/960-grid-system/templates/omnigraffle/960_graffle.graffle",
50
+ "rails_generators/damn_layout/templates/960-grid-system/templates/photoshop/960_grid_12_col.psd",
51
+ "rails_generators/damn_layout/templates/960-grid-system/templates/photoshop/960_grid_16_col.psd",
52
+ "rails_generators/damn_layout/templates/960-grid-system/templates/visio/960_visio.vsd",
30
53
  "rails_generators/damn_layout/templates/application.css",
31
54
  "rails_generators/damn_layout/templates/application.html.erb",
32
55
  "rails_generators/damn_layout/templates/docs/mono_greenish_color_swatch.ase",
@@ -0,0 +1,36 @@
1
+ 960 Grid System
2
+ Version 1.1
3
+ 2008-12-15
4
+
5
+ Created by Nathan Smith. See the official site for more info: http://960.gs/
6
+
7
+ ============================================================================
8
+
9
+ Thank you for downloading the 960 Grid System. I hope it helps to streamline
10
+ web development workflow. Enclosed in the bundle are printable sketch sheets
11
+ and template files for Adobe Fireworks and Photoshop, OmniGraffle and Visio.
12
+
13
+ Also included is a lightweight CSS file, which contains the grid dimensions.
14
+ To use this file, simply include the 960.css in the <head> of the HTML page.
15
+ You may also use the reset.css and text.css files, or opt to leave them out.
16
+ Here is an example of the XHTML code necessary to incorporate the CSS files:
17
+
18
+ <head>
19
+ <link rel="stylesheet" type="text/css" media="all" href="css/reset.css" />
20
+ <link rel="stylesheet" type="text/css" media="all" href="css/text.css" />
21
+ <link rel="stylesheet" type="text/css" media="all" href="css/960.css" />
22
+ </head>
23
+
24
+ It is worth noting that these styles do not automatically make up a finished
25
+ site design. They are simply a starting point, ideally for rapid prototyping
26
+ or as a basis for creating your own designs. You should not feel constrained
27
+ by the way I have built the initial code. If you disagree with how something
28
+ has been done, feel free to revise it for the needs of your particular site.
29
+
30
+ The files in the 960 Grid System are free of charge, licensed under GPL/MIT.
31
+
32
+ ============================================================================
33
+
34
+ Special thanks to Eric Meyer for his comprehensive browser reset stylesheet.
35
+
36
+ http://meyerweb.com/eric/tools/css/reset/
@@ -0,0 +1 @@
1
+ .container_12,.container_16{margin-left:auto;margin-right:auto;width:960px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16{display:inline;float:left;margin-left:10px;margin-right:10px}.container_12 .grid_3,.container_16 .grid_4{width:220px}.container_12 .grid_6,.container_16 .grid_8{width:460px}.container_12 .grid_9,.container_16 .grid_12{width:700px}.container_12 .grid_12,.container_16 .grid_16{width:940px}.alpha{margin-left:0}.omega{margin-right:0}.container_12 .grid_1{width:60px}.container_12 .grid_2{width:140px}.container_12 .grid_4{width:300px}.container_12 .grid_5{width:380px}.container_12 .grid_7{width:540px}.container_12 .grid_8{width:620px}.container_12 .grid_10{width:780px}.container_12 .grid_11{width:860px}.container_16 .grid_1{width:40px}.container_16 .grid_2{width:100px}.container_16 .grid_3{width:160px}.container_16 .grid_5{width:280px}.container_16 .grid_6{width:340px}.container_16 .grid_7{width:400px}.container_16 .grid_9{width:520px}.container_16 .grid_10{width:580px}.container_16 .grid_11{width:640px}.container_16 .grid_13{width:760px}.container_16 .grid_14{width:820px}.container_16 .grid_15{width:880px}.container_12 .prefix_3,.container_16 .prefix_4{padding-left:240px}.container_12 .prefix_6,.container_16 .prefix_8{padding-left:480px}.container_12 .prefix_9,.container_16 .prefix_12{padding-left:720px}.container_12 .prefix_1{padding-left:80px}.container_12 .prefix_2{padding-left:160px}.container_12 .prefix_4{padding-left:320px}.container_12 .prefix_5{padding-left:400px}.container_12 .prefix_7{padding-left:560px}.container_12 .prefix_8{padding-left:640px}.container_12 .prefix_10{padding-left:800px}.container_12 .prefix_11{padding-left:880px}.container_16 .prefix_1{padding-left:60px}.container_16 .prefix_2{padding-left:120px}.container_16 .prefix_3{padding-left:180px}.container_16 .prefix_5{padding-left:300px}.container_16 .prefix_6{padding-left:360px}.container_16 .prefix_7{padding-left:420px}.container_16 .prefix_9{padding-left:540px}.container_16 .prefix_10{padding-left:600px}.container_16 .prefix_11{padding-left:660px}.container_16 .prefix_13{padding-left:780px}.container_16 .prefix_14{padding-left:840px}.container_16 .prefix_15{padding-left:900px}.container_12 .suffix_3,.container_16 .suffix_4{padding-right:240px}.container_12 .suffix_6,.container_16 .suffix_8{padding-right:480px}.container_12 .suffix_9,.container_16 .suffix_12{padding-right:720px}.container_12 .suffix_1{padding-right:80px}.container_12 .suffix_2{padding-right:160px}.container_12 .suffix_4{padding-right:320px}.container_12 .suffix_5{padding-right:400px}.container_12 .suffix_7{padding-right:560px}.container_12 .suffix_8{padding-right:640px}.container_12 .suffix_10{padding-right:800px}.container_12 .suffix_11{padding-right:880px}.container_16 .suffix_1{padding-right:60px}.container_16 .suffix_2{padding-right:120px}.container_16 .suffix_3{padding-right:180px}.container_16 .suffix_5{padding-right:300px}.container_16 .suffix_6{padding-right:360px}.container_16 .suffix_7{padding-right:420px}.container_16 .suffix_9{padding-right:540px}.container_16 .suffix_10{padding-right:600px}.container_16 .suffix_11{padding-right:660px}.container_16 .suffix_13{padding-right:780px}.container_16 .suffix_14{padding-right:840px}.container_16 .suffix_15{padding-right:900px}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block}
@@ -0,0 +1 @@
1
+ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
@@ -0,0 +1 @@
1
+ body{font:13px/1.5 Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif}a:focus{outline:1px dotted invert}hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}h1{font-size:25px}h2{font-size:23px}h3{font-size:21px}h4{font-size:19px}h5{font-size:17px}h6{font-size:15px}ol{list-style:decimal}ul{list-style:square}li{margin-left:30px}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset{margin-bottom:20px}
@@ -0,0 +1,405 @@
1
+ /*
2
+ 960 Grid System ~ Core CSS.
3
+ Learn more ~ http://960.gs/
4
+
5
+ Licensed under GPL and MIT.
6
+ */
7
+
8
+ /* `Containers
9
+ ----------------------------------------------------------------------------------------------------*/
10
+
11
+ .container_12,
12
+ .container_16 {
13
+ margin-left: auto;
14
+ margin-right: auto;
15
+ width: 960px;
16
+ }
17
+
18
+ /* `Grid >> Global
19
+ ----------------------------------------------------------------------------------------------------*/
20
+
21
+ .grid_1,
22
+ .grid_2,
23
+ .grid_3,
24
+ .grid_4,
25
+ .grid_5,
26
+ .grid_6,
27
+ .grid_7,
28
+ .grid_8,
29
+ .grid_9,
30
+ .grid_10,
31
+ .grid_11,
32
+ .grid_12,
33
+ .grid_13,
34
+ .grid_14,
35
+ .grid_15,
36
+ .grid_16 {
37
+ display: inline;
38
+ float: left;
39
+ margin-left: 10px;
40
+ margin-right: 10px;
41
+ }
42
+
43
+ .container_12 .grid_3,
44
+ .container_16 .grid_4 {
45
+ width: 220px;
46
+ }
47
+
48
+ .container_12 .grid_6,
49
+ .container_16 .grid_8 {
50
+ width: 460px;
51
+ }
52
+
53
+ .container_12 .grid_9,
54
+ .container_16 .grid_12 {
55
+ width: 700px;
56
+ }
57
+
58
+ .container_12 .grid_12,
59
+ .container_16 .grid_16 {
60
+ width: 940px;
61
+ }
62
+
63
+ /* `Grid >> Children (Alpha ~ First, Omega ~ Last)
64
+ ----------------------------------------------------------------------------------------------------*/
65
+
66
+ .alpha {
67
+ margin-left: 0;
68
+ }
69
+
70
+ .omega {
71
+ margin-right: 0;
72
+ }
73
+
74
+ /* `Grid >> 12 Columns
75
+ ----------------------------------------------------------------------------------------------------*/
76
+
77
+ .container_12 .grid_1 {
78
+ width: 60px;
79
+ }
80
+
81
+ .container_12 .grid_2 {
82
+ width: 140px;
83
+ }
84
+
85
+ .container_12 .grid_4 {
86
+ width: 300px;
87
+ }
88
+
89
+ .container_12 .grid_5 {
90
+ width: 380px;
91
+ }
92
+
93
+ .container_12 .grid_7 {
94
+ width: 540px;
95
+ }
96
+
97
+ .container_12 .grid_8 {
98
+ width: 620px;
99
+ }
100
+
101
+ .container_12 .grid_10 {
102
+ width: 780px;
103
+ }
104
+
105
+ .container_12 .grid_11 {
106
+ width: 860px;
107
+ }
108
+
109
+ /* `Grid >> 16 Columns
110
+ ----------------------------------------------------------------------------------------------------*/
111
+
112
+ .container_16 .grid_1 {
113
+ width: 40px;
114
+ }
115
+
116
+ .container_16 .grid_2 {
117
+ width: 100px;
118
+ }
119
+
120
+ .container_16 .grid_3 {
121
+ width: 160px;
122
+ }
123
+
124
+ .container_16 .grid_5 {
125
+ width: 280px;
126
+ }
127
+
128
+ .container_16 .grid_6 {
129
+ width: 340px;
130
+ }
131
+
132
+ .container_16 .grid_7 {
133
+ width: 400px;
134
+ }
135
+
136
+ .container_16 .grid_9 {
137
+ width: 520px;
138
+ }
139
+
140
+ .container_16 .grid_10 {
141
+ width: 580px;
142
+ }
143
+
144
+ .container_16 .grid_11 {
145
+ width: 640px;
146
+ }
147
+
148
+ .container_16 .grid_13 {
149
+ width: 760px;
150
+ }
151
+
152
+ .container_16 .grid_14 {
153
+ width: 820px;
154
+ }
155
+
156
+ .container_16 .grid_15 {
157
+ width: 880px;
158
+ }
159
+
160
+ /* `Prefix Extra Space >> Global
161
+ ----------------------------------------------------------------------------------------------------*/
162
+
163
+ .container_12 .prefix_3,
164
+ .container_16 .prefix_4 {
165
+ padding-left: 240px;
166
+ }
167
+
168
+ .container_12 .prefix_6,
169
+ .container_16 .prefix_8 {
170
+ padding-left: 480px;
171
+ }
172
+
173
+ .container_12 .prefix_9,
174
+ .container_16 .prefix_12 {
175
+ padding-left: 720px;
176
+ }
177
+
178
+ /* `Prefix Extra Space >> 12 Columns
179
+ ----------------------------------------------------------------------------------------------------*/
180
+
181
+ .container_12 .prefix_1 {
182
+ padding-left: 80px;
183
+ }
184
+
185
+ .container_12 .prefix_2 {
186
+ padding-left: 160px;
187
+ }
188
+
189
+ .container_12 .prefix_4 {
190
+ padding-left: 320px;
191
+ }
192
+
193
+ .container_12 .prefix_5 {
194
+ padding-left: 400px;
195
+ }
196
+
197
+ .container_12 .prefix_7 {
198
+ padding-left: 560px;
199
+ }
200
+
201
+ .container_12 .prefix_8 {
202
+ padding-left: 640px;
203
+ }
204
+
205
+ .container_12 .prefix_10 {
206
+ padding-left: 800px;
207
+ }
208
+
209
+ .container_12 .prefix_11 {
210
+ padding-left: 880px;
211
+ }
212
+
213
+ /* `Prefix Extra Space >> 16 Columns
214
+ ----------------------------------------------------------------------------------------------------*/
215
+
216
+ .container_16 .prefix_1 {
217
+ padding-left: 60px;
218
+ }
219
+
220
+ .container_16 .prefix_2 {
221
+ padding-left: 120px;
222
+ }
223
+
224
+ .container_16 .prefix_3 {
225
+ padding-left: 180px;
226
+ }
227
+
228
+ .container_16 .prefix_5 {
229
+ padding-left: 300px;
230
+ }
231
+
232
+ .container_16 .prefix_6 {
233
+ padding-left: 360px;
234
+ }
235
+
236
+ .container_16 .prefix_7 {
237
+ padding-left: 420px;
238
+ }
239
+
240
+ .container_16 .prefix_9 {
241
+ padding-left: 540px;
242
+ }
243
+
244
+ .container_16 .prefix_10 {
245
+ padding-left: 600px;
246
+ }
247
+
248
+ .container_16 .prefix_11 {
249
+ padding-left: 660px;
250
+ }
251
+
252
+ .container_16 .prefix_13 {
253
+ padding-left: 780px;
254
+ }
255
+
256
+ .container_16 .prefix_14 {
257
+ padding-left: 840px;
258
+ }
259
+
260
+ .container_16 .prefix_15 {
261
+ padding-left: 900px;
262
+ }
263
+
264
+ /* `Suffix Extra Space >> Global
265
+ ----------------------------------------------------------------------------------------------------*/
266
+
267
+ .container_12 .suffix_3,
268
+ .container_16 .suffix_4 {
269
+ padding-right: 240px;
270
+ }
271
+
272
+ .container_12 .suffix_6,
273
+ .container_16 .suffix_8 {
274
+ padding-right: 480px;
275
+ }
276
+
277
+ .container_12 .suffix_9,
278
+ .container_16 .suffix_12 {
279
+ padding-right: 720px;
280
+ }
281
+
282
+ /* `Suffix Extra Space >> 12 Columns
283
+ ----------------------------------------------------------------------------------------------------*/
284
+
285
+ .container_12 .suffix_1 {
286
+ padding-right: 80px;
287
+ }
288
+
289
+ .container_12 .suffix_2 {
290
+ padding-right: 160px;
291
+ }
292
+
293
+ .container_12 .suffix_4 {
294
+ padding-right: 320px;
295
+ }
296
+
297
+ .container_12 .suffix_5 {
298
+ padding-right: 400px;
299
+ }
300
+
301
+ .container_12 .suffix_7 {
302
+ padding-right: 560px;
303
+ }
304
+
305
+ .container_12 .suffix_8 {
306
+ padding-right: 640px;
307
+ }
308
+
309
+ .container_12 .suffix_10 {
310
+ padding-right: 800px;
311
+ }
312
+
313
+ .container_12 .suffix_11 {
314
+ padding-right: 880px;
315
+ }
316
+
317
+ /* `Suffix Extra Space >> 16 Columns
318
+ ----------------------------------------------------------------------------------------------------*/
319
+
320
+ .container_16 .suffix_1 {
321
+ padding-right: 60px;
322
+ }
323
+
324
+ .container_16 .suffix_2 {
325
+ padding-right: 120px;
326
+ }
327
+
328
+ .container_16 .suffix_3 {
329
+ padding-right: 180px;
330
+ }
331
+
332
+ .container_16 .suffix_5 {
333
+ padding-right: 300px;
334
+ }
335
+
336
+ .container_16 .suffix_6 {
337
+ padding-right: 360px;
338
+ }
339
+
340
+ .container_16 .suffix_7 {
341
+ padding-right: 420px;
342
+ }
343
+
344
+ .container_16 .suffix_9 {
345
+ padding-right: 540px;
346
+ }
347
+
348
+ .container_16 .suffix_10 {
349
+ padding-right: 600px;
350
+ }
351
+
352
+ .container_16 .suffix_11 {
353
+ padding-right: 660px;
354
+ }
355
+
356
+ .container_16 .suffix_13 {
357
+ padding-right: 780px;
358
+ }
359
+
360
+ .container_16 .suffix_14 {
361
+ padding-right: 840px;
362
+ }
363
+
364
+ .container_16 .suffix_15 {
365
+ padding-right: 900px;
366
+ }
367
+
368
+ /* `Clear Floated Elements
369
+ ----------------------------------------------------------------------------------------------------*/
370
+
371
+ /* http://sonspring.com/journal/clearing-floats */
372
+
373
+ .clear {
374
+ clear: both;
375
+ display: block;
376
+ overflow: hidden;
377
+ visibility: hidden;
378
+ width: 0;
379
+ height: 0;
380
+ }
381
+
382
+ /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
383
+
384
+ .clearfix:after {
385
+ clear: both;
386
+ content: ' ';
387
+ display: block;
388
+ font-size: 0;
389
+ line-height: 0;
390
+ visibility: hidden;
391
+ width: 0;
392
+ height: 0;
393
+ }
394
+
395
+ .clearfix {
396
+ display: inline-block;
397
+ }
398
+
399
+ * html .clearfix {
400
+ height: 1%;
401
+ }
402
+
403
+ .clearfix {
404
+ display: block;
405
+ }