gravityframework 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/bin/{gravity-init.rb → gravity-new.rb} +9 -5
  2. data/gravityframework.gemspec +1 -1
  3. data/lib/gravityframework/src/index.html +2 -1
  4. data/lib/gravityframework/src/public/coffeescripts/spec/application.spec.coffee +4 -0
  5. data/lib/gravityframework/src/{images → public/images}/baseline_20.png +0 -0
  6. data/lib/gravityframework/src/public/javascripts/application/main.js +6 -0
  7. data/lib/gravityframework/src/public/javascripts/application.js +8 -0
  8. data/lib/gravityframework/src/public/javascripts/spec/application.spec.js +6 -0
  9. data/lib/gravityframework/src/{javascripts/test/lib/jasmine-1.1.0.rc1 → public/javascripts/spec/jasmine}/MIT.LICENSE +0 -0
  10. data/lib/gravityframework/src/{javascripts/test/lib/jasmine-1.1.0.rc1 → public/javascripts/spec/jasmine}/jasmine-html.js +0 -0
  11. data/lib/gravityframework/src/{javascripts/test/lib/jasmine-1.1.0.rc1 → public/javascripts/spec/jasmine}/jasmine.css +0 -0
  12. data/lib/gravityframework/src/{javascripts/test/lib/jasmine-1.1.0.rc1 → public/javascripts/spec/jasmine}/jasmine.js +0 -0
  13. data/lib/gravityframework/src/{javascripts/test/lib/jasmine-1.1.0.rc1 → public/javascripts/spec/jasmine}/jasmine_favicon.png +0 -0
  14. data/lib/gravityframework/src/{javascripts/test → public/javascripts/spec}/spec_runner.html +6 -7
  15. data/lib/gravityframework/src/public/stylesheets/css/style.css +1 -0
  16. data/lib/gravityframework/src/public/stylesheets/sass/lib/_core.sass +17 -0
  17. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/_elements.sass +8 -10
  18. data/lib/gravityframework/src/{stylesheets/sass/lib/helpers → public/stylesheets/sass/lib}/_mixins.sass +0 -0
  19. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/_reset.sass +1 -0
  20. data/lib/gravityframework/src/public/stylesheets/sass/lib/_settings.sass +50 -0
  21. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/_typography.sass +5 -6
  22. data/lib/gravityframework/src/public/stylesheets/sass/lib/helpers/_alerts.sass +9 -0
  23. data/lib/gravityframework/src/public/stylesheets/sass/lib/helpers/_buttons.sass +24 -0
  24. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/helpers/_classes.sass +0 -0
  25. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/helpers/_forms.sass +0 -0
  26. data/lib/gravityframework/src/{stylesheets/sass/lib → public/stylesheets/sass/lib/helpers}/_grid.sass +4 -1
  27. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/helpers/_media_queries.sass +0 -0
  28. data/lib/gravityframework/src/public/stylesheets/sass/lib/helpers/_pagination.sass +10 -0
  29. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/lib/helpers/_tables.sass +2 -5
  30. data/lib/gravityframework/src/{stylesheets → public/stylesheets}/sass/style.sass +4 -5
  31. data/lib/gravityframework/src/rakefile +14 -5
  32. data/lib/gravityframework/src/views/all_styles.slim +137 -0
  33. data/lib/gravityframework/src/views/index.slim +23 -0
  34. data/lib/gravityframework/version.rb +1 -1
  35. data/lib/gravityframework.rb +38 -1
  36. metadata +48 -46
  37. data/lib/gravityframework/src/javascripts/application.coffee +0 -6
  38. data/lib/gravityframework/src/javascripts/test/spec/Application.spec.js +0 -10
  39. data/lib/gravityframework/src/stylesheets/css/style.css +0 -841
  40. data/lib/gravityframework/src/stylesheets/sass/lib/_core.sass +0 -7
  41. data/lib/gravityframework/src/stylesheets/sass/lib/_settings.sass +0 -43
  42. data/lib/gravityframework/src/stylesheets/sass/lib/helpers/_buttons.sass +0 -15
  43. data/lib/gravityframework/src/stylesheets/scss/lib/_core.scss +0 -9
  44. data/lib/gravityframework/src/stylesheets/scss/lib/_elements.scss +0 -109
  45. data/lib/gravityframework/src/stylesheets/scss/lib/_grid.scss +0 -39
  46. data/lib/gravityframework/src/stylesheets/scss/lib/_reset.scss +0 -90
  47. data/lib/gravityframework/src/stylesheets/scss/lib/_settings.scss +0 -49
  48. data/lib/gravityframework/src/stylesheets/scss/lib/_typography.scss +0 -48
  49. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_buttons.scss +0 -22
  50. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_classes.scss +0 -25
  51. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_forms.scss +0 -215
  52. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_media_queries.scss +0 -169
  53. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_mixins.scss +0 -83
  54. data/lib/gravityframework/src/stylesheets/scss/lib/helpers/_tables.scss +0 -30
  55. data/lib/gravityframework/src/stylesheets/scss/style.scss +0 -38
  56. data/lib/gravityframework/src/views/index.haml +0 -21
  57. data/lib/installer.rb +0 -16
@@ -1,841 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *Built with Gravity
4
- *http://Gravityframework.com
5
- *Version 1.3.1
6
- *Developed by: Owain Lewis
7
- *www.owainlewis.com
8
- *License: MIT
9
- *http://www.opensource.org/licenses/mit-license.php
10
- *
11
- *-------------------------------------------------------------- */
12
- /*
13
- *Grid Layout */
14
- /*
15
- *Fonts */
16
- /*
17
- *Colors */
18
- html, body, div, span, object, iframe,
19
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
20
- abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
21
- small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
22
- fieldset, form, label, legend,
23
- table, caption, tbody, tfoot, thead, tr, th, td,
24
- article, aside, canvas, details, figcaption, figure,
25
- footer, header, hgroup, menu, nav, section, summary,
26
- time, mark, audio, video {
27
- margin: 0;
28
- padding: 0;
29
- border: 0;
30
- font-size: 100%;
31
- font: inherit;
32
- vertical-align: baseline; }
33
-
34
- article, aside, details, figcaption, figure,
35
- footer, header, hgroup, menu, nav, section {
36
- display: block; }
37
-
38
- blockquote, q {
39
- quotes: none; }
40
-
41
- blockquote:before, blockquote:after,
42
- q:before, q:after {
43
- content: "";
44
- content: none; }
45
-
46
- ins {
47
- background-color: #ffff99;
48
- color: black;
49
- text-decoration: none; }
50
-
51
- mark {
52
- background-color: #ffff99;
53
- color: black;
54
- font-style: italic;
55
- font-weight: bold; }
56
-
57
- del {
58
- text-decoration: line-through; }
59
-
60
- abbr[title], dfn[title] {
61
- border-bottom: 1px dotted;
62
- cursor: help; }
63
-
64
- table {
65
- border-collapse: collapse;
66
- border-spacing: 0; }
67
-
68
- hr {
69
- display: block;
70
- height: 1px;
71
- border: 0;
72
- border-top: 1px solid #cccccc;
73
- margin: 1em 0;
74
- padding: 0; }
75
-
76
- input, select {
77
- vertical-align: middle; }
78
-
79
- textarea {
80
- overflow: auto; }
81
-
82
- .ie6 legend, .ie7 legend {
83
- margin-left: -7px; }
84
-
85
- input[wtype="radio"] {
86
- vertical-align: text-bottom; }
87
-
88
- input[type="checkbox"] {
89
- vertical-align: bottom; }
90
-
91
- .ie7 input[type="checkbox"] {
92
- vertical-align: baseline; }
93
-
94
- .ie6 input {
95
- vertical-align: text-bottom; }
96
-
97
- label, input[type="button"], input[type="submit"], input[type="image"], button {
98
- cursor: pointer; }
99
-
100
- button, input, select, textarea {
101
- margin: 0; }
102
-
103
- /* Custom Mixins. You can delare your own mixins here. */
104
- /* Add rounded corners to all sides */
105
- /* Add rounded corners to certain sides */
106
- /* This is a particularly useful mixin if you want to add slick CSS3 animations to elements */
107
- /* Cross browser opacity mixin */
108
- /* --------------------------------------------------------------
109
- *
110
- *TABLES
111
- *
112
- *-------------------------------------------------------------- */
113
- table {
114
- margin-bottom: 10px;
115
- width: 100%; }
116
-
117
- th {
118
- font-weight: bold;
119
- text-align: left;
120
- background: #cccccc; }
121
-
122
- th, td {
123
- padding: 10px; }
124
-
125
- tr:nth-child(odd) {
126
- background-color: #f5f5f5; }
127
-
128
- tr:nth-child(even) {
129
- background-color: #eeeeee; }
130
-
131
- tfoot {
132
- font-style: italic; }
133
-
134
- caption {
135
- background: #ffffcc; }
136
-
137
- /* --------------------------------------------------------------
138
- *
139
- *TYPOGRAPHY
140
- *
141
- *-------------------------------------------------------------- */
142
- /* Default fonts and colors. */
143
- body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
144
- line-height: 20px;
145
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
146
- color: #333333;
147
- font-size: 14px; }
148
-
149
- /* --------------------------------------------------------------
150
- *
151
- *HEADINGS
152
- *
153
- *-------------------------------------------------------------- */
154
- h1, h2, h3, h4, h5 {
155
- margin-bottom: 20px;
156
- color: #333333;
157
- font-weight: 900; }
158
-
159
- h1 {
160
- font-size: 40px;
161
- line-height: 40px; }
162
-
163
- h2 {
164
- font-size: 20px;
165
- line-height: 20px; }
166
-
167
- h3 {
168
- font-size: 20px;
169
- line-height: 20px; }
170
-
171
- h4 {
172
- font-size: 20px;
173
- line-height: 20px; }
174
-
175
- h5 {
176
- font-size: 20px;
177
- line-height: 20px; }
178
-
179
- /* --------------------------------------------------------------
180
- *
181
- *PAGE ELEMENTS
182
- *
183
- *-------------------------------------------------------------- */
184
- p {
185
- margin-bottom: 20px; }
186
-
187
- ul, ol {
188
- margin-bottom: 20px; }
189
-
190
- ul {
191
- list-style: none; }
192
-
193
- ol {
194
- list-style-type: decimal; }
195
-
196
- li {
197
- margin-bottom: 10px; }
198
-
199
- ul li ul {
200
- margin-left: 20px;
201
- margin-top: 10px;
202
- margin-bottom: 10px; }
203
-
204
- dl {
205
- margin-bottom: 20px; }
206
-
207
- dl dt {
208
- font-weight: bold;
209
- margin-bottom: 10px; }
210
-
211
- dl dd {
212
- margin-bottom: 10px; }
213
-
214
- abbr, acronym {
215
- border-bottom: 1px dotted black; }
216
-
217
- address {
218
- font-style: italic; }
219
-
220
- del {
221
- color: black; }
222
-
223
- a {
224
- color: #1c7fc4;
225
- text-decoration: none;
226
- -moz-transition: all 0.5s ease-in-out;
227
- /* FF3.7+ */
228
- -o-transition: all 0.5s ease-in-out;
229
- /* Opera 10.5 */
230
- -webkit-transition: all 0.5s ease-in-out;
231
- /* Saf3.2+, Chrome */
232
- transition: all 0.5s ease-in-out;
233
- /* Force a hand pointer for all links */
234
- cursor: pointer; }
235
-
236
- a:hover {
237
- text-decoration: none; }
238
-
239
- blockquote {
240
- display: block; }
241
-
242
- strong {
243
- font-weight: bold; }
244
-
245
- em, dfn {
246
- font-style: italic; }
247
-
248
- dfn {
249
- font-weight: bold; }
250
-
251
- pre, code {
252
- margin: 10px 0;
253
- white-space: pre; }
254
-
255
- pre, code, tt {
256
- font: 1em monospace;
257
- line-height: 1.5; }
258
-
259
- tt {
260
- display: block; }
261
-
262
- q {
263
- font-style: italic;
264
- font-weight: bold;
265
- font-family: Georgia, Times, serif; }
266
-
267
- cite {
268
- display: block;
269
- font-weight: bold; }
270
-
271
- /* --------------------------------------------------------------
272
- *
273
- *IMAGES
274
- *
275
- *-------------------------------------------------------------- */
276
- img {
277
- margin-bottom: 10px; }
278
-
279
- figcaption {
280
- display: block;
281
- font-weight: bold;
282
- font-style: italic; }
283
-
284
- /* --------------------------------------------------------------
285
- *
286
- *GENERAL CLASSES
287
- *
288
- *-------------------------------------------------------------- */
289
- .wrap {
290
- width: 940px;
291
- margin: 0 auto; }
292
-
293
- .clear {
294
- clear: both; }
295
-
296
- .center {
297
- text-align: center; }
298
-
299
- .uppercase {
300
- text-transform: uppercase; }
301
-
302
- .titlecase {
303
- text-transform: capitalize; }
304
-
305
- .invisible {
306
- visibility: hidden; }
307
-
308
- /* --------------------------------------------------------------
309
- *
310
- *CSS GRID. www.owainlewis.com
311
- *
312
- *-------------------------------------------------------------- */
313
- .col-1 {
314
- float: left;
315
- width: 60px;
316
- margin-right: 0;
317
- margin-right: 20px; }
318
- .col-1:last-child {
319
- margin-right: 0; }
320
-
321
- .col-2 {
322
- float: left;
323
- width: 140px;
324
- margin-right: 20px; }
325
- .col-2:last-child {
326
- margin-right: 0; }
327
-
328
- .col-3 {
329
- float: left;
330
- width: 220px;
331
- margin-right: 20px; }
332
- .col-3:last-child {
333
- margin-right: 0; }
334
-
335
- .col-4 {
336
- float: left;
337
- width: 300px;
338
- margin-right: 20px; }
339
- .col-4:last-child {
340
- margin-right: 0; }
341
-
342
- .col-5 {
343
- float: left;
344
- width: 380px;
345
- margin-right: 20px; }
346
- .col-5:last-child {
347
- margin-right: 0; }
348
-
349
- .col-6 {
350
- float: left;
351
- width: 460px;
352
- margin-right: 20px; }
353
- .col-6:last-child {
354
- margin-right: 0; }
355
-
356
- .col-7 {
357
- float: left;
358
- width: 540px;
359
- margin-right: 20px; }
360
- .col-7:last-child {
361
- margin-right: 0; }
362
-
363
- .col-8 {
364
- float: left;
365
- width: 620px;
366
- margin-right: 20px; }
367
- .col-8:last-child {
368
- margin-right: 0; }
369
-
370
- .col-9 {
371
- float: left;
372
- width: 700px;
373
- margin-right: 20px; }
374
- .col-9:last-child {
375
- margin-right: 0; }
376
-
377
- .col-10 {
378
- float: left;
379
- width: 780px;
380
- margin-right: 20px; }
381
- .col-10:last-child {
382
- margin-right: 0; }
383
-
384
- .col-11 {
385
- float: left;
386
- width: 860px;
387
- margin-right: 20px; }
388
- .col-11:last-child {
389
- margin-right: 0; }
390
-
391
- .col-12 {
392
- float: left;
393
- width: 940px;
394
- margin-right: 20px; }
395
- .col-12:last-child {
396
- margin-right: 0; }
397
-
398
- /* --------------------------------------------------------------
399
- *
400
- *Form Settings.
401
- *Most of this is inspired by the awesome work of Nathan Smith and formalize css!
402
- *
403
- *-------------------------------------------------------------- */
404
- ::-moz-focus-inner {
405
- border: 0;
406
- padding: 0; }
407
-
408
- input[type="search"]::-webkit-search-decoration {
409
- display: none; }
410
-
411
- form {
412
- margin-bottom: 20px; }
413
-
414
- fieldset {
415
- margin-bottom: 20px; }
416
-
417
- input[type="text"]:focus,
418
- input[type="password"]:focus,
419
- input[type="email"]:focus,
420
- input[type="tel"]:focus,
421
- textarea:focus {
422
- border: 1px solid #aaaaaa;
423
- color: #444444; }
424
-
425
- textarea {
426
- min-height: 100px;
427
- resize: none;
428
- overflow: auto;
429
- width: 100%; }
430
-
431
- label,
432
- legend {
433
- display: block;
434
- font-weight: bold;
435
- font-size: 13px; }
436
-
437
- select {
438
- width: 100%; }
439
-
440
- input[type="checkbox"] {
441
- display: inline; }
442
-
443
- label span,
444
- legend span {
445
- font-weight: normal;
446
- font-size: 13px;
447
- color: #444444; }
448
-
449
- input,
450
- button,
451
- select,
452
- textarea {
453
- vertical-align: middle; }
454
-
455
- input[type="radio"],
456
- input[type="checkbox"] {
457
- position: relative;
458
- vertical-align: top;
459
- top: 3px;
460
- /* IE8, IE9, IE10 */
461
- top: 0 \0;
462
- /* IE7 */
463
- *top: -3px;
464
- margin-right: 5px; }
465
-
466
- /* iPad */
467
- @media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px) {
468
- input[type="radio"],
469
- input[type="checkbox"] {
470
- vertical-align: baseline;
471
- top: 2px; } }
472
- /* iPhone 3 */
473
- @media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
474
- input[type="radio"],
475
- input[type="checkbox"] {
476
- vertical-align: baseline;
477
- top: 0; } }
478
- /* iPhone 4 */
479
- @media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px) {
480
- input[type="radio"],
481
- input[type="checkbox"] {
482
- vertical-align: baseline;
483
- top: 0; } }
484
- textarea,
485
- select,
486
- input[type="date"],
487
- input[type="datetime"],
488
- input[type="datetime-local"],
489
- input[type="email"],
490
- input[type="month"],
491
- input[type="number"],
492
- input[type="password"],
493
- input[type="search"],
494
- input[type="tel"],
495
- input[type="text"],
496
- input[type="time"],
497
- input[type="url"],
498
- input[type="week"] {
499
- -webkit-appearance: none;
500
- -moz-border-radius: 0;
501
- -webkit-border-radius: 0;
502
- border-radius: 0;
503
- -webkit-box-sizing: border-box;
504
- -moz-box-sizing: border-box;
505
- box-sizing: border-box;
506
- -moz-background-clip: padding;
507
- -webkit-background-clip: padding;
508
- background-clip: padding-box;
509
- border: 1px solid #dddddd;
510
- border-color: #dddddd #dddddd #dddddd;
511
- color: black;
512
- padding: 5px;
513
- outline: none;
514
- border-radius: 2px;
515
- -moz-border-radius: 2px;
516
- -webkit-border-radius: 2px;
517
- font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
518
- margin: 0 0 20px 0;
519
- width: 100%;
520
- display: block;
521
- background: #fafafa;
522
- /* for non-css3 browsers */
523
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
524
- /* for IE */
525
- background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(white));
526
- /* for webkit browsers */
527
- background: -moz-linear-gradient(top, #fafafa, white);
528
- /* for firefox 3.6+ */
529
- /* IE7 */
530
- *padding-top: 2px;
531
- *padding-bottom: 1px;
532
- *height: auto; }
533
-
534
- /*Separate rule for Firefox.
535
- *Separate rule for IE, too.
536
- *Cannot stack with WebKit's. */
537
- ::-webkit-input-placeholder {
538
- color: black; }
539
-
540
- input:-moz-placeholder,
541
- textarea:-moz-placeholder {
542
- color: black; }
543
-
544
- :invalid {
545
- /*Suppress red glow that Firefox
546
- *adds to form fields by default,
547
- *even when user is still typing. */
548
- -moz-box-shadow: none;
549
- -webkit-box-shadow: none;
550
- box-shadow: none; }
551
-
552
- /* Tweaks for Safari + Chrome. */
553
- @media (-webkit-min-device-pixel-ratio: 0) {
554
- select[size],
555
- select[multiple] {
556
- background-image: none;
557
- padding: 0; }
558
-
559
- ::-webkit-validation-bubble-message {
560
- box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
561
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
562
- border: #dddddd;
563
- color: white;
564
- font: "Helvetica Neue", Helvetica, Arial, sans-serif;
565
- padding: 15px 15px 17px;
566
- text-shadow: black 0 0 1px; }
567
-
568
- ::-webkit-validation-bubble-top-outer-arrow,
569
- ::-webkit-validation-bubble-top-inner-arrow {
570
- display: none; } }
571
- optgroup {
572
- color: black;
573
- font-style: normal;
574
- font-weight: normal; }
575
-
576
- button[type=submit], input[type='submit'] {
577
- padding: 7px 12px;
578
- text-align: center;
579
- font-weight: bold;
580
- border-radius: 5px;
581
- -moz-border-radius: 5px;
582
- -webkit-border-radius: 5px;
583
- background: #111111;
584
- /* for non-css3 browsers */
585
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
586
- /* for IE */
587
- background: -webkit-gradient(linear, left top, left bottom, from(#111111), to(#333333));
588
- /* for webkit browsers */
589
- background: -moz-linear-gradient(top, #111111, #333333);
590
- /* for firefox 3.6+ */
591
- border: 0;
592
- color: white; }
593
-
594
- #container {
595
- width: 940px;
596
- margin: 0 auto;
597
- padding: 20px 0;
598
- overflow: hidden; }
599
-
600
- /* --------------------------------------------------------------
601
- *
602
- *Main CSS. For demo purposes only. You can delete this.
603
- *
604
- *-------------------------------------------------------------- */
605
- body {
606
- background: #eeeeee; }
607
-
608
- section {
609
- margin-bottom: 20px;
610
- overflow: hidden; }
611
-
612
- h1, h2, h3, h4, h5, h6, p, li a {
613
- text-shadow: 1px 1px 1px white; }
614
-
615
- h1, h2, h3, h4, h5, h6 {
616
- text-transform: uppercase; }
617
-
618
- footer p {
619
- text-align: center; }
620
-
621
- /* --------------------------------------------------------------
622
- *
623
- *Media Queries for a responsive grid. Delete if not required.
624
- *
625
- *-------------------------------------------------------------- */
626
- /* --------------------------------------------------------------
627
- *
628
- *MEDIA QUERIES
629
- *
630
- *-------------------------------------------------------------- */
631
- /* #Tablet (Portrait)
632
- *================================================== */
633
- /* 768px */
634
- @media only screen and (min-width: 768px) and (max-width: 959px) {
635
- #container {
636
- width: 748px; }
637
-
638
- .col-1 {
639
- float: left;
640
- width: 44px;
641
- margin-right: 0;
642
- margin-right: 20px; }
643
-
644
- .col-1:last-child {
645
- margin-right: 0; }
646
-
647
- .col-2 {
648
- float: left;
649
- width: 108px;
650
- margin-right: 20px; }
651
-
652
- .col-2:last-child {
653
- margin-right: 0; }
654
-
655
- .col-3 {
656
- float: left;
657
- width: 172px;
658
- margin-right: 20px; }
659
-
660
- .col-3:last-child {
661
- margin-right: 0; }
662
-
663
- .col-4 {
664
- float: left;
665
- width: 236px;
666
- margin-right: 20px; }
667
-
668
- .col-4:last-child {
669
- margin-right: 0; }
670
-
671
- .col-5 {
672
- float: left;
673
- width: 300px;
674
- margin-right: 20px; }
675
-
676
- .col-5:last-child {
677
- margin-right: 0; }
678
-
679
- .col-6 {
680
- float: left;
681
- width: 364px;
682
- margin-right: 20px; }
683
-
684
- .col-6:last-child {
685
- margin-right: 0; }
686
-
687
- .col-7 {
688
- float: left;
689
- width: 428px;
690
- margin-right: 20px; }
691
-
692
- .col-7:last-child {
693
- margin-right: 0; }
694
-
695
- .col-8 {
696
- float: left;
697
- width: 492px;
698
- margin-right: 20px; }
699
-
700
- .col-8:last-child {
701
- margin-right: 0; }
702
-
703
- .col-9 {
704
- float: left;
705
- width: 556px;
706
- margin-right: 20px; }
707
-
708
- .col-9:last-child {
709
- margin-right: 0; }
710
-
711
- .col-10 {
712
- float: left;
713
- width: 620px;
714
- margin-right: 20px; }
715
-
716
- .col-10:last-child {
717
- margin-right: 0; }
718
-
719
- .col-11 {
720
- float: left;
721
- width: 684px;
722
- margin-right: 20px; }
723
-
724
- .col-11:last-child {
725
- margin-right: 0; }
726
-
727
- .col-12 {
728
- float: left;
729
- width: 748px;
730
- margin-right: 20px; }
731
-
732
- .col-12:last-child {
733
- margin-right: 0; } }
734
- /* #Mobile (Portrait)
735
- *================================================== */
736
- /* 320px. iPhone */
737
- @media only screen and (max-width: 767px) {
738
- #container {
739
- width: 300px; }
740
-
741
- .col-1 {
742
- width: 280px;
743
- margin: 0 10px; }
744
-
745
- .col-2 {
746
- width: 280px;
747
- margin: 0 10px; }
748
-
749
- .col-3 {
750
- width: 280px;
751
- margin: 0 10px; }
752
-
753
- .col-4 {
754
- width: 280px;
755
- margin: 0 10px; }
756
-
757
- .col-5 {
758
- width: 280px;
759
- margin: 0 10px; }
760
-
761
- .col-6 {
762
- width: 280px;
763
- margin: 0 10px; }
764
-
765
- .col-7 {
766
- width: 280px;
767
- margin: 0 10px; }
768
-
769
- .col-8 {
770
- width: 280px;
771
- margin: 0 10px; }
772
-
773
- .col-9 {
774
- width: 280px;
775
- margin: 0 10px; }
776
-
777
- .col-10 {
778
- width: 280px;
779
- margin: 0 10px; }
780
-
781
- .col-11 {
782
- width: 280px;
783
- margin: 0 10px; }
784
-
785
- .col-12 {
786
- width: 280px;
787
- margin: 0 10px; } }
788
- /* #Mobile (Landscape)
789
- *================================================== */
790
- /* 480px */
791
- @media only screen and (min-width: 480px) and (max-width: 767px) {
792
- #container {
793
- width: 480px; }
794
-
795
- .col-1 {
796
- width: 460px;
797
- margin: 0 10px; }
798
-
799
- .col-2 {
800
- width: 460px;
801
- margin: 0 10px; }
802
-
803
- .col-3 {
804
- width: 460px;
805
- margin: 0 10px; }
806
-
807
- .col-4 {
808
- width: 460px;
809
- margin: 0 10px; }
810
-
811
- .col-5 {
812
- width: 460px;
813
- margin: 0 10px; }
814
-
815
- .col-6 {
816
- width: 460px;
817
- margin: 0 10px; }
818
-
819
- .col-7 {
820
- width: 460px;
821
- margin: 0 10px; }
822
-
823
- .col-8 {
824
- width: 460px;
825
- margin: 0 10px; }
826
-
827
- .col-9 {
828
- width: 460px;
829
- margin: 0 10px; }
830
-
831
- .col-10 {
832
- width: 460px;
833
- margin: 0 10px; }
834
-
835
- .col-11 {
836
- width: 460px;
837
- margin: 0 10px; }
838
-
839
- .col-12 {
840
- width: 460px;
841
- margin: 0 10px; } }