gumby-rails 1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,543 @@
1
+ /* Gumby */
2
+
3
+ /* --------------------------------------------------
4
+ Table of Contents
5
+ -----------------------------------------------------
6
+ :: Reset & Standards
7
+ :: Links
8
+ :: Lists
9
+ :: Tables
10
+ :: Misc
11
+ */
12
+
13
+
14
+ /* --------------------------------------------------
15
+ :: Global Reset & Standards
16
+ -------------------------------------------------- */
17
+
18
+ /*
19
+ Eric Meyer's CSS Reset
20
+ http://meyerweb.com/eric/tools/css/reset/
21
+ v2.0 | 20110126
22
+ License: none (public domain)
23
+ */
24
+
25
+ html, body, div, span, applet, object, iframe,
26
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
27
+ a, abbr, acronym, address, big, cite, code,
28
+ del, dfn, em, img, ins, kbd, q, s, samp,
29
+ small, strike, strong, sub, sup, tt, var,
30
+ b, u, i, center,
31
+ dl, dt, dd, ol, ul, li,
32
+ fieldset, form, label, legend,
33
+ table, caption, tbody, tfoot, thead, tr, th, td,
34
+ article, aside, canvas, details, embed,
35
+ figure, figcaption, footer, header, hgroup,
36
+ menu, nav, output, ruby, section, summary,
37
+ time, mark, audio, video {
38
+ margin: 0;
39
+ padding: 0;
40
+ border: 0;
41
+ font: inherit;
42
+ vertical-align: baseline;
43
+ }
44
+ html {
45
+ font-size: 62.5%;
46
+ }
47
+ /* HTML5 display-role reset for older browsers */
48
+ article, aside, details, figcaption, figure,
49
+ footer, header, hgroup, menu, nav, section {
50
+ display: block;
51
+ }
52
+ body {
53
+ line-height: 1;
54
+ }
55
+ ol, ul {
56
+ list-style: none;
57
+ }
58
+ blockquote, q {
59
+ quotes: none;
60
+ }
61
+ blockquote:before, blockquote:after,
62
+ q:before, q:after {
63
+ content: '';
64
+ content: none;
65
+ }
66
+ table {
67
+ border-collapse: collapse;
68
+ border-spacing: 0;
69
+ }
70
+
71
+
72
+ .left, .columns.left { float: left; }
73
+ .right, .columns.right { float: right; }
74
+ .hide { display: none; }
75
+ .highlight { background: #fcf8bf; }
76
+
77
+
78
+
79
+
80
+ /*=======================================================================
81
+
82
+ ❤❤❤ Artfully Masterminded by ZURB. Perfected by Digital Surgeons. ❤❤❤
83
+
84
+ ========================================================================*/
85
+
86
+ .ie9, .ie9 * {
87
+ font-family: Arial, "Definitely Not Helvetica", sans-serif !important;
88
+ }
89
+
90
+ body {
91
+ background: #fff;
92
+ font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
93
+ font-size: 16px;
94
+ font-size: 1.6rem;
95
+ line-height: 1.6;
96
+ color: #555;
97
+ position: relative;
98
+ -webkit-font-smoothing: antialiased;
99
+ }
100
+
101
+
102
+
103
+ /*=====================================================
104
+
105
+ Headings
106
+
107
+ ======================================================*/
108
+
109
+
110
+ h1, h2, h3, h4, h5, h6 {
111
+ color: #1b1b1b;
112
+ font-weight: bold;
113
+ line-height: 1.6;
114
+ }
115
+
116
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
117
+ font-weight: inherit;
118
+ }
119
+
120
+ h1 {
121
+ font-size: 46px;
122
+ font-size: 4.6rem;
123
+ margin-bottom: 12px;
124
+ }
125
+
126
+ h2 {
127
+ font-size: 39px;
128
+ font-size: 3.9rem;
129
+ margin-bottom: 9px;
130
+ }
131
+
132
+ h3 {
133
+ font-size: 29px;
134
+ font-size: 2.9rem;
135
+ margin-bottom: 9px;
136
+ }
137
+
138
+ h4 {
139
+ font-size: 25px;
140
+ font-size: 2.5rem;
141
+ margin-bottom: 3px;
142
+ }
143
+
144
+ h5 {
145
+ font-size: 19px;
146
+ font-size: 1.9rem;
147
+ font-weight: normal;
148
+ margin-bottom: 3px;
149
+ }
150
+
151
+ h6 {
152
+ font-size: 15px;
153
+ font-size: 1.5rem;
154
+ font-weight: normal;
155
+ }
156
+
157
+ .subhead {
158
+ color: #777;
159
+ font-weight: normal;
160
+ margin-bottom: 20px;
161
+ }
162
+
163
+
164
+ /*=====================================================
165
+
166
+ Links & Paragraph styles
167
+
168
+ ======================================================*/
169
+
170
+ p {
171
+ font-size: 16px;
172
+ font-size: 1.6rem;
173
+ line-height: 1.6;
174
+ margin: 0 0 18px;
175
+ }
176
+
177
+ p img {
178
+ margin: 0;
179
+ }
180
+
181
+ p.lead {
182
+ font-size: 18px;
183
+ font-size: 1.8rem;
184
+ }
185
+
186
+ a { color: #d04526; text-decoration: none; outline: 0; line-height: inherit; }
187
+ a:hover { color: #c03d20; }
188
+ p a, p a:visited { line-height: inherit; }
189
+
190
+
191
+ /*=====================================================
192
+
193
+ Lists
194
+
195
+ ======================================================*/
196
+
197
+ ul, ol { margin-bottom: 18px; }
198
+ ul { list-style: none outside; }
199
+ ol { list-style: decimal; }
200
+ ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
201
+ ul.square { list-style: square outside; }
202
+ ul.circle { list-style: circle outside; }
203
+ ul.disc { list-style: disc outside; }
204
+ ul ul, ol ol { margin: 4px 0 5px 30px; }
205
+ li { margin-bottom: 12px; }
206
+ ul.large li { line-height: 21px; }
207
+
208
+
209
+
210
+
211
+ /* Mobile */
212
+
213
+ @media only screen and (max-width: 767px) {
214
+ body, p { font-size: 16px; font-size: 1.6rem; line-height: 1.6; }
215
+ }
216
+
217
+ em {
218
+ font-style: italic;
219
+ line-height: inherit;
220
+ }
221
+
222
+ strong {
223
+ font-weight: bold;
224
+ line-height: inherit;
225
+ }
226
+
227
+ small {
228
+ font-size: 56.4%;
229
+ line-height: inherit;
230
+ }
231
+
232
+ h1 small, h2 small, h3 small, h4 small, h5 small { color: #777; }
233
+
234
+ /* Blockquotes */
235
+ blockquote, blockquote p { line-height: 20px; color: #777; }
236
+ blockquote { margin: 0 0 18px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
237
+ blockquote cite { display: block; font-size: 12px; font-size: 1.2rem; color: #555; }
238
+ blockquote cite:before { content: "\2014 \0020"; }
239
+ blockquote cite a, blockquote cite a:visited { color: #555; }
240
+
241
+ hr {
242
+ border: 1px solid #ddd;
243
+ clear: both;
244
+ margin: 16px 0 18px;
245
+ height: 0;
246
+ }
247
+
248
+ abbr, acronym {
249
+ text-transform: uppercase;
250
+ font-size: 90%;
251
+ color: #222;
252
+ border-bottom: 1px solid #ddd;
253
+ cursor: help;
254
+ }
255
+
256
+ abbr { text-transform: none; }
257
+
258
+
259
+ /**
260
+ * Print styles.
261
+ *
262
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
263
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
264
+ */
265
+
266
+ @media print {
267
+ * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
268
+ -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
269
+ p a, p a:visited { color: #444 !important; text-decoration: underline; }
270
+ p a[href]:after { content: " (" attr(href) ")"; }
271
+ abbr[title]:after { content: " (" attr(title) ")"; }
272
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
273
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
274
+ thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
275
+ tr, img { page-break-inside: avoid; }
276
+ @page { margin: 0.5cm; }
277
+ p, h2, h3 { orphans: 3; widows: 3; }
278
+ h2, h3{ page-break-after: avoid; }
279
+ }
280
+
281
+
282
+
283
+
284
+ /*=======================================================================
285
+
286
+ ❤❤❤ Genius secreted from the brains of Digital Surgeons. ❤❤❤
287
+
288
+ ========================================================================*/
289
+
290
+
291
+
292
+
293
+
294
+ /*=================================================
295
+
296
+ +++ LE GRID +++
297
+ A Responsive Grid -- Gumby defaults to a standard 960 grid,
298
+ but you can change it to whatever you'd like.
299
+
300
+ ==================================================*/
301
+
302
+
303
+ .container { padding: 0px 20px; }
304
+
305
+ .row { width: 100%; max-width: 940px; min-width: 720px; margin: 0 auto; }
306
+ /* To fix the grid into a different size, set max-width to your desired width */
307
+
308
+ .row .row { min-width: 0px; }
309
+
310
+ .column, .columns { margin-left: 2.127663%; float: left; min-height: 1px; position: relative;
311
+ -webkit-box-sizing: border-box;
312
+ -moz-box-sizing: border-box;
313
+ box-sizing: border-box;
314
+ }
315
+
316
+ .column:first-child, .columns:first-child, .alpha { margin-left: 0px; }
317
+
318
+ .column.omega, .columns.omega { float: right; }
319
+
320
+ /*** Removed because it is usually annoying ***
321
+
322
+ [class*="column"] + [class*="column"]:last-child { float: right; }
323
+
324
+ ***/
325
+
326
+ .row .one.columns { width: 6.382989%; }
327
+ .row .two.columns { width: 14.893641%; }
328
+ .row .three.columns { width: 23.404293%; }
329
+ .row .four.columns { width: 31.914945%; }
330
+ .row .five.columns { width: 40.425597%; }
331
+ .row .six.columns { width: 48.936249%; }
332
+ .row .seven.columns { width: 57.446901%; }
333
+ .row .eight.columns { width: 65.957553%; }
334
+ .row .nine.columns { width: 74.468205%; }
335
+ .row .ten.columns { width: 82.978857%; }
336
+ .row .eleven.columns { width: 91.489509%; }
337
+ .row .twelve.columns { width: 100%; }
338
+
339
+
340
+ /*** Formula: Column Width + Twice the Default Margin ***/
341
+
342
+ .row .push_one { margin-left: 10.638315%; }
343
+ .row .push_two { margin-left: 19.148967%; }
344
+ .row .push_three { margin-left: 27.659619%; }
345
+ .row .push_four { margin-left: 36.170271%; }
346
+ .row .push_five { margin-left: 44.680923%; }
347
+ .row .push_six { margin-left: 53.191575%; }
348
+ .row .push_seven { margin-left: 61.702227%; }
349
+ .row .push_eight { margin-left: 70.212879%; }
350
+ .row .push_nine { margin-left: 78.723531%; }
351
+ .row .push_ten { margin-left: 87.234183%; }
352
+ /*.row .push_eleven { margin-left: 95.744835%; }*/
353
+
354
+
355
+ /* Centering Columns is fun */
356
+
357
+ .row .one.centered { margin-left: 46.808586%; }
358
+ .row .two.centered { margin-left: 42.55326%; }
359
+ .row .three.centered { margin-left: 38.297934%; }
360
+ .row .four.centered { margin-left: 34.042608%; }
361
+ .row .five.centered { margin-left: 29.787282%; }
362
+ .row .six.centered { margin-left: 25.531956%; }
363
+ .row .seven.centered { margin-left: 21.27663%; }
364
+ .row .eight.centered { margin-left: 17.021304%; }
365
+ .row .nine.centered { margin-left: 12.765978%; }
366
+ .row .ten.centered { margin-left: 8.510652%; }
367
+ .row .eleven.centered { margin-left: 4.255326%; }
368
+
369
+
370
+ /*** Formula: Column Width + Default Margin ***/
371
+
372
+ .row .push_one:first-child { margin-left: 8.510652%; }
373
+ .row .push_two:first-child { margin-left: 17.021304%; }
374
+ .row .push_three:first-child { margin-left: 25.531956%; }
375
+ .row .push_four:first-child { margin-left: 34.042608%; }
376
+ .row .push_five:first-child { margin-left: 42.55326%; }
377
+ .row .push_six:first-child { margin-left: 51.063912%; }
378
+ .row .push_seven:first-child { margin-left: 59.574564%; }
379
+ .row .push_eight:first-child { margin-left: 68.085216%; }
380
+ .row .push_nine:first-child { margin-left: 76.596868%; }
381
+ .row .push_ten:first-child { margin-left: 85.10652%; }
382
+ .row .push_eleven:first-child { margin-left: 93.617172%; }
383
+
384
+
385
+
386
+
387
+ /*************** 16-column styles ****************/
388
+
389
+ .sixteen.colgrid .row .one.columns { width: 4.255326%; }
390
+ .sixteen.colgrid .row .two.columns { width: 10.638315%; }
391
+ .sixteen.colgrid .row .three.columns { width: 17.021304%; }
392
+ .sixteen.colgrid .row .four.columns { width: 23.404293%; }
393
+ .sixteen.colgrid .row .five.columns { width: 29.787282%; }
394
+ .sixteen.colgrid .row .six.columns { width: 36.170271%; }
395
+ .sixteen.colgrid .row .seven.columns { width: 42.55326%; }
396
+ .sixteen.colgrid .row .eight.columns { width: 48.936249%; }
397
+ .sixteen.colgrid .row .nine.columns { width: 55.319238%; }
398
+ .sixteen.colgrid .row .ten.columns { width: 61.702227%; }
399
+ .sixteen.colgrid .row .eleven.columns { width: 68.085216%; }
400
+ .sixteen.colgrid .row .twelve.columns { width: 74.468205%; }
401
+ .sixteen.colgrid .row .thirteen.columns { width: 80.851194%; }
402
+ .sixteen.colgrid .row .fourteen.columns { width: 87.234183%; }
403
+ .sixteen.colgrid .row .fifteen.columns { width: 93.617172%; }
404
+ .sixteen.colgrid .row .sixteen.columns { width: 100%; }
405
+
406
+
407
+ /*** Formula: Column Width + Twice the Default Margin ***/
408
+
409
+ .sixteen.colgrid .row .push_one { margin-left: 8.510652%; }
410
+ .sixteen.colgrid .row .push_two { margin-left: 14.893641%; }
411
+ .sixteen.colgrid .row .push_three { margin-left: 21.27663%; }
412
+ .sixteen.colgrid .row .push_four { margin-left: 27.659619%; }
413
+ .sixteen.colgrid .row .push_five { margin-left: 34.042608%; }
414
+ .sixteen.colgrid .row .push_six { margin-left: 40.425597%; }
415
+ .sixteen.colgrid .row .push_seven { margin-left: 46.808586%; }
416
+ .sixteen.colgrid .row .push_eight { margin-left: 53.191575%; }
417
+ .sixteen.colgrid .row .push_nine { margin-left: 59.574564%; }
418
+ .sixteen.colgrid .row .push_ten { margin-left: 65.957553%; }
419
+ .sixteen.colgrid .row .push_eleven { margin-left: 72.340542%; }
420
+ .sixteen.colgrid .row .push_twelve { margin-left: 78.723531%; }
421
+ .sixteen.colgrid .row .push_thirteen { margin-left: 85.10652%; }
422
+ .sixteen.colgrid .row .push_fourteen { margin-left: 91.489509%; }
423
+ .sixteen.colgrid .row .push_fifteen { margin-left: 97.872498%; }
424
+
425
+
426
+ /* Centering Columns is fun */
427
+
428
+ .sixteen.colgrid .row .one.centered { margin-left: 47.872424%; }
429
+ .sixteen.colgrid .row .two.centered { margin-left: 44.680929%; }
430
+ .sixteen.colgrid .row .three.centered { margin-left: 41.489434%; }
431
+ .sixteen.colgrid .row .four.centered { margin-left: 38.297939%; }
432
+ .sixteen.colgrid .row .five.centered { margin-left: 35.106444%; }
433
+ .sixteen.colgrid .row .six.centered { margin-left: 31.914949%; }
434
+ .sixteen.colgrid .row .seven.centered { margin-left: 28.723454%; }
435
+ .sixteen.colgrid .row .eight.centered { margin-left: 25.531959%; }
436
+ .sixteen.colgrid .row .nine.centered { margin-left: 22.340464%; }
437
+ .sixteen.colgrid .row .ten.centered { margin-left: 19.148969%; }
438
+ .sixteen.colgrid .row .eleven.centered { margin-left: 15.957474%; }
439
+ .sixteen.colgrid .row .twelve.centered { margin-left: 12.765979%; }
440
+ .sixteen.colgrid .row .thirteen.centered { margin-left: 9.574484%; }
441
+ .sixteen.colgrid .row .fourteen.centered { margin-left: 6.382989%; }
442
+ .sixteen.colgrid .row .fifteen.centered { margin-left: 3.191495%; }
443
+
444
+
445
+ /*** Formula: Column Width + Default Margin ***/
446
+
447
+ .sixteen.colgrid .row .push_one:first-child { margin-left: 6.382989%; }
448
+ .sixteen.colgrid .row .push_two:first-child { margin-left: 12.765978%; }
449
+ .sixteen.colgrid .row .push_three:first-child { margin-left: 19.148967%; }
450
+ .sixteen.colgrid .row .push_four:first-child { margin-left: 25.531956%; }
451
+ .sixteen.colgrid .row .push_five:first-child { margin-left: 31.914945%; }
452
+ .sixteen.colgrid .row .push_six:first-child { margin-left: 38.297934%; }
453
+ .sixteen.colgrid .row .push_seven:first-child { margin-left: 44.680923%; }
454
+ .sixteen.colgrid .row .push_eight:first-child { margin-left: 51.063912%; }
455
+ .sixteen.colgrid .row .push_nine:first-child { margin-left: 57.446901%; }
456
+ .sixteen.colgrid .row .push_ten:first-child { margin-left: 63.82989%; }
457
+ .sixteen.colgrid .row .push_eleven:first-child { margin-left: 70.212879%; }
458
+ .sixteen.colgrid .row .push_twelve:first-child { margin-left: 76.595868%; }
459
+ .sixteen.colgrid .row .push_thirteen:first-child { margin-left: 82.978857%; }
460
+ .sixteen.colgrid .row .push_fourteen:first-child { margin-left: 89.361846%; }
461
+ .sixteen.colgrid .row .push_fifteen:first-child { margin-left: 95.744835%; }
462
+
463
+
464
+
465
+ img, object, embed { max-width: 100%; height: auto; }
466
+ img { -ms-interpolation-mode: bicubic; }
467
+
468
+ /* Nicolas Gallagher's micro clearfix */
469
+ .row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
470
+ .row:after, .clearfix:after { clear: both; }
471
+ .row, .clearfix { zoom: 1; }
472
+
473
+
474
+
475
+
476
+ /*=======================================================================
477
+
478
+ ❤❤❤ Artfully Masterminded by ZURB. Perfected by Digital Surgeons. ❤❤❤
479
+
480
+ ========================================================================*/
481
+
482
+ /* --------------------------------------------------
483
+ :: Block grids
484
+
485
+ These are 2-up, 3-up, 4-up and 5-up ULs, suited
486
+ for repeating blocks of content. Add 'mobile' to
487
+ them to switch them just like the layout grid
488
+ (one item per line) on phones
489
+ --------------------------------------------------
490
+
491
+ .block-grid { display: block; overflow: hidden; }
492
+ .block-grid>li { display: block; height: auto; float: left; }
493
+
494
+ .block-grid.two-up { margin-left: -4% }
495
+ .block-grid.two-up>li { margin-left: 4%; width: 46%; }
496
+
497
+ .block-grid.three-up { margin-left: -2% }
498
+ .block-grid.three-up>li { margin-left: 2%; width: 31.3%; }
499
+
500
+ .block-grid.four-up { margin-left: -2% }
501
+ .block-grid.four-up>li { margin-left: 2%; width: 23%; }
502
+
503
+ .block-grid.five-up { margin-left: -1.5% }
504
+ .block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; } */
505
+
506
+
507
+
508
+
509
+ /*==================================================
510
+
511
+ +++ Grid +++
512
+
513
+ ===================================================*/
514
+
515
+ /* Mobile */
516
+
517
+ @media only screen and (max-width: 480px) {
518
+ /* Style adjustments for viewports 480px and under go here */
519
+ .row {
520
+ text-align: center;
521
+ }
522
+ }
523
+
524
+ @media only screen and (max-width: 767px) {
525
+ body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
526
+
527
+ .container { min-width: 0; margin-left: 0; margin-right: 0; }
528
+ .row { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; }
529
+ .row .row .column, .row .row .columns { padding: 0; }
530
+ .column, .columns { width: auto !important; float: none; margin-left: 0; margin-right: 0; }
531
+ .column:last-child, .columns:last-child { margin-right: 0; float: none; }
532
+ .row .row .column, .row .row .columns { padding: 0; }
533
+ .column, .columns { width: auto !important; float: none; margin-left: 0px; margin-right: 0px; }
534
+ .column:last-child, .columns:last-child { margin-right: 0; float: none; }
535
+ [class*="column"] + [class*="column"]:last-child { float: none; }
536
+ [class*="column"]:before, [class*="column"]:after { display: table; }
537
+ [class*="column"]:after { clear: both; }
538
+
539
+
540
+ .push_one, .push_two, .push_three, .push_four, .push_five, .push_six, .push_seven, .push_eight, .push_nine, .push_ten, .push_eleven, .centered { margin-left: 0% !important; }
541
+ }
542
+
543
+