masonry-rails 0.1.0 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ (function(c,n){var k="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";c.fn.imagesLoaded=function(l){function m(){var b=c(h),a=c(g);d&&(g.length?d.reject(e,b,a):d.resolve(e));c.isFunction(l)&&l.call(f,e,b,a)}function i(b,a){b.src===k||-1!==c.inArray(b,j)||(j.push(b),a?g.push(b):h.push(b),c.data(b,"imagesLoaded",{isBroken:a,src:b.src}),o&&d.notifyWith(c(b),[a,e,c(h),c(g)]),e.length===j.length&&(setTimeout(m),e.unbind(".imagesLoaded")))}var f=this,d=c.isFunction(c.Deferred)?c.Deferred():
2
+ 0,o=c.isFunction(d.notify),e=f.find("img").add(f.filter("img")),j=[],h=[],g=[];e.length?e.bind("load.imagesLoaded error.imagesLoaded",function(b){i(b.target,"error"===b.type)}).each(function(b,a){var e=a.src,d=c.data(a,"imagesLoaded");if(d&&d.src===e)i(a,d.isBroken);else if(a.complete&&a.naturalWidth!==n)i(a,0===a.naturalWidth||0===a.naturalHeight);else if(a.readyState||a.complete)a.src=k,a.src=e}):m();return d?d.promise(f):f}})(jQuery);
@@ -1,14 +1,14 @@
1
1
  /*
2
- --------------------------------
3
- Infinite Scroll
4
- --------------------------------
5
- + https://github.com/paulirish/infinitescroll
6
- + version 2.0b2.110713
7
- + Copyright 2011 Paul Irish & Luke Shumard
8
- + Licensed under the MIT license
9
-
10
- + Documentation: http://infinite-scroll.com/
11
-
2
+ --------------------------------
3
+ Infinite Scroll
4
+ --------------------------------
5
+ + https://github.com/paulirish/infinitescroll
6
+ + version 2.0b2.110713
7
+ + Copyright 2011 Paul Irish & Luke Shumard
8
+ + Licensed under the MIT license
9
+
10
+ + Documentation: http://infinite-scroll.com/
11
+
12
12
  */
13
13
 
14
14
  (function(window,$,undefined){$.infinitescroll=function infscr(options,callback,element){this.element=$(element);this._create(options,callback);};$.infinitescroll.defaults={loading:{finished:undefined,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"http://www.infinite-scroll.com/loading.gif",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:'fast',start:undefined},state:{isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,currPage:1},callback:undefined,debug:false,behavior:undefined,binder:$(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:false,pathParse:undefined,dataType:'html',appendCallback:true,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:undefined,path:undefined};$.infinitescroll.prototype={_binding:function infscr_binding(binding){var instance=this,opts=instance.options;if(!!opts.behavior&&this['_binding_'+opts.behavior]!==undefined){this['_binding_'+opts.behavior].call(this);return;}
@@ -0,0 +1,2 @@
1
+ (function(b){b.fn.loremImages=function(e,d,j){var a=b.extend({},b.fn.loremImages.defaults,j);return this.each(function(c,k){var f=b(k),g="";for(c=0;c<a.count;c++){var h=e+Math.round(Math.random()*a.randomWidth),i=d+Math.round(Math.random()*a.randomHeight);g+=a.itemBuilder.call(f,c,"//lorempixel.com/"+(a.grey?"g/":"")+h+"/"+i+"/"+(a.category?a.category+"/":"")+"?"+Math.round(Math.random()*1E3),h,i)}f.append(g)})};b.fn.loremImages.defaults={count:10,grey:0,randomWidth:0,randomHeight:0,category:0,itemBuilder:function(e,
2
+ d){return'<img src="'+d+'" alt="Lorempixel">'}}})(jQuery);
@@ -0,0 +1,58 @@
1
+ /**** Base styles ****/
2
+ nav#page-nav {
3
+ display: block;
4
+ }
5
+
6
+ body {
7
+ overflow-y: scroll;
8
+ }
9
+
10
+ #container {
11
+ background: #FFF;
12
+ padding: 5px;
13
+ margin-bottom: 20px;
14
+ border-radius: 5px;
15
+ clear: both;
16
+ -webkit-border-radius: 5px;
17
+ -moz-border-radius: 5px;
18
+ border-radius: 5px;
19
+ }
20
+
21
+ .box {
22
+ margin: 5px;
23
+ padding: 5px;
24
+ background: #D8D5D2;
25
+ font-size: 11px;
26
+ line-height: 1.4em;
27
+ float: left;
28
+ -webkit-border-radius: 5px;
29
+ -moz-border-radius: 5px;
30
+ border-radius: 5px;
31
+ }
32
+
33
+ .box h2 {
34
+ font-size: 14px;
35
+ font-weight: 200;
36
+ }
37
+
38
+ .box img {
39
+ display: block;
40
+ width: 100%;
41
+ }
42
+
43
+ .col1 { width: 80px; }
44
+ .col2 { width: 180px; }
45
+ .col3 { width: 280px; }
46
+ .col4 { width: 380px; }
47
+ .col5 { width: 480px; }
48
+
49
+ .col1 img { max-width: 80px; }
50
+ .col2 img { max-width: 180px; }
51
+ .col3 img { max-width: 280px; }
52
+ .col4 img { max-width: 380px; }
53
+ .col5 img { max-width: 480px; }
54
+
55
+ /**** Clearfix ****/
56
+ .clearfix:before, .clearfix:after { content: ""; display: table; }
57
+ .clearfix:after { clear: both; }
58
+ .clearfix { zoom: 1; }
@@ -0,0 +1,2 @@
1
+ /* Centered example */
2
+ .centered { margin: 0 auto; }
@@ -0,0 +1,16 @@
1
+ /**** Fluid ****/
2
+
3
+ #container.fluid {
4
+ padding: 5px 0;
5
+ }
6
+
7
+ /* right margin value is 0.1% less than calculated,
8
+ to allow for rounding errors in Firefox */
9
+ .fluid .box {
10
+ margin: 5px 0.9% 5px 1%;
11
+ padding: 5px 1%;
12
+ }
13
+
14
+ .fluid .box.col1 { width: 16%; }
15
+ .fluid .box.col2 { width: 36%; }
16
+ .fluid .box.col3 { width: 56%; }
@@ -0,0 +1,10 @@
1
+ /**** Gutters ****/
2
+
3
+ .has-gutters .box {
4
+ margin: 5px 0;
5
+ }
6
+
7
+ .has-gutters .col1 { width: 90px; }
8
+ .has-gutters .col2 { width: 230px; }
9
+ .has-gutters .col3 { width: 370px; }
10
+ .has-gutters .col4 { width: 550px; }
@@ -0,0 +1,17 @@
1
+ /* Infinite Scroll loader */
2
+ #infscr-loading {
3
+ text-align: center;
4
+ z-index: 100;
5
+ position: fixed;
6
+ left: 45%;
7
+ bottom: 40px;
8
+ width: 200px;
9
+ padding: 10px;
10
+ background: #000;
11
+ opacity: 0.8;
12
+ color: #FFF;
13
+ -webkit-border-radius: 10px;
14
+ -moz-border-radius: 10px;
15
+ border-radius: 10px;
16
+ }
17
+
@@ -0,0 +1,5 @@
1
+ .rtl .box {
2
+ float: right;
3
+ text-align: right;
4
+ direction: rtl;
5
+ }
@@ -0,0 +1,36 @@
1
+ /**** Transitions ****/
2
+
3
+ .transitions-enabled.masonry,
4
+ .transitions-enabled.masonry .masonry-brick {
5
+ -webkit-transition-duration: 0.7s;
6
+ -moz-transition-duration: 0.7s;
7
+ -ms-transition-duration: 0.7s;
8
+ -o-transition-duration: 0.7s;
9
+ transition-duration: 0.7s;
10
+ }
11
+
12
+ .transitions-enabled.masonry {
13
+ -webkit-transition-property: height, width;
14
+ -moz-transition-property: height, width;
15
+ -ms-transition-property: height, width;
16
+ -o-transition-property: height, width;
17
+ transition-property: height, width;
18
+ }
19
+
20
+ .transitions-enabled.masonry .masonry-brick {
21
+ -webkit-transition-property: left, right, top;
22
+ -moz-transition-property: left, right, top;
23
+ -ms-transition-property: left, right, top;
24
+ -o-transition-property: left, right, top;
25
+ transition-property: left, right, top;
26
+ }
27
+
28
+
29
+ /* disable transitions on container */
30
+ .transitions-enabled.infinite-scroll.masonry {
31
+ -webkit-transition-property: none;
32
+ -moz-transition-property: none;
33
+ -ms-transition-property: none;
34
+ -o-transition-property: none;
35
+ transition-property: none;
36
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: masonry-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-13 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -161,13 +161,23 @@ files:
161
161
  - spec/_posts/tests/2011-09-27-centered-few.html
162
162
  - spec/index.html
163
163
  - spec/spec_helper.rb
164
+ - vendor/assets/images/masonry/loader.gif
164
165
  - vendor/assets/javascripts/masonry/box-maker.js
165
- - vendor/assets/javascripts/masonry/jquery.event.drag-2.2.js
166
+ - vendor/assets/javascripts/masonry/jquery.event-drag.js
167
+ - vendor/assets/javascripts/masonry/jquery.imagesloaded.js
168
+ - vendor/assets/javascripts/masonry/jquery.imagesloaded.min.js
166
169
  - vendor/assets/javascripts/masonry/jquery.infinitescroll.min.js
170
+ - vendor/assets/javascripts/masonry/jquery.loremimages.min.js
167
171
  - vendor/assets/javascripts/masonry/jquery.masonry.js
168
172
  - vendor/assets/javascripts/masonry/jquery.masonry.min.js
169
173
  - vendor/assets/javascripts/masonry/modernizr-transitions.js
170
- - vendor/assets/stylesheets/masonry/style.css
174
+ - vendor/assets/stylesheets/masonry/basic.css
175
+ - vendor/assets/stylesheets/masonry/centered.css
176
+ - vendor/assets/stylesheets/masonry/fluid.css
177
+ - vendor/assets/stylesheets/masonry/gutters.css
178
+ - vendor/assets/stylesheets/masonry/infinitescroll.css
179
+ - vendor/assets/stylesheets/masonry/right-to-left.css
180
+ - vendor/assets/stylesheets/masonry/transitions.css
171
181
  homepage: http://github.com/kristianmandrup/masonry-rails
172
182
  licenses:
173
183
  - MIT
@@ -183,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
193
  version: '0'
184
194
  segments:
185
195
  - 0
186
- hash: 1294576342297046278
196
+ hash: 498586022749909511
187
197
  required_rubygems_version: !ruby/object:Gem::Requirement
188
198
  none: false
189
199
  requirements:
@@ -1,616 +0,0 @@
1
- /**** Base styles ****/
2
-
3
- html, body, div, span, object, iframe,
4
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5
- abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
6
- small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
7
- fieldset, form, label, legend,
8
- table, caption, tbody, tfoot, thead, tr, th, td,
9
- article, aside, canvas, details, figcaption, figure,
10
- footer, header, hgroup, menu, nav, section, summary,
11
- time, mark, audio, video {
12
- margin: 0;
13
- padding: 0;
14
- border: 0;
15
- font-size: 100%;
16
- font: inherit;
17
- vertical-align: baseline;
18
- }
19
-
20
- article, aside, details, figcaption, figure,
21
- footer, header, hgroup, menu, nav, section {
22
- display: block;
23
- }
24
-
25
- html {
26
- overflow-y: scroll;
27
- }
28
-
29
- body {
30
- font: 13px 'Helvetica Neue', Arial, sans-serif;
31
- background: #D8D5D2;
32
- color: #222;
33
- line-height: 1.6em;
34
- }
35
-
36
- a {
37
- color: #A2C;
38
- text-decoration: none;
39
- font-weight: bold;
40
- }
41
-
42
- a:hover {
43
- color: #D26;
44
- }
45
-
46
- a:active {
47
- background: hsla( 0, 100%, 100%, 0.5 );
48
- }
49
-
50
- h1, h2 {
51
- font-weight: 100;
52
- line-height: 1.2em;
53
- margin-bottom: 0.6em;
54
- }
55
-
56
- h1 {
57
- font-size: 36px;
58
- }
59
-
60
- h2 {
61
- font-size: 24px;
62
- }
63
-
64
- h3 {
65
- font-size: 17px;
66
- font-weight: bold;
67
- }
68
-
69
- h3, p, ul, ol, pre, dl {
70
- margin-bottom: 1.0em;
71
- }
72
-
73
- em { font-style: italic; }
74
- strong { font-weight: bold; }
75
-
76
- /**** #site-nav ****/
77
-
78
- #site-nav {
79
- position: absolute;
80
- width: 180px;
81
- padding: 0 10px;
82
- }
83
-
84
- #site-nav h1 {
85
- font-weight: 600;
86
- font-size: 18px;
87
- margin-bottom: 0.8em;
88
- padding-top: 10px;
89
- }
90
-
91
- #site-nav h1 a { color: #D26; }
92
- #site-nav h1 a:hover { color: #A2C; }
93
-
94
- #site-nav h2 {
95
- font-size: 17px;
96
- font-weight: normal;
97
- margin-bottom: 0.3em;
98
- }
99
-
100
- #site-nav ul {
101
- list-style: none;
102
- padding-left: 0;
103
- font-size: 12px;
104
- }
105
-
106
- #site-nav li {
107
- -webkit-border-radius: 4px;
108
- -moz-border-radius: 4px;
109
- border-radius: 4px;
110
- }
111
-
112
- #site-nav li a {
113
- display: block;
114
- padding: 3px 5px;
115
- }
116
-
117
- #site-nav li.current {
118
- background: #C8C5C2;
119
- }
120
-
121
- #site-nav li.current a { color: white; }
122
- #site-nav li.current a:hover { color: #D26; }
123
-
124
- #site-nav li ul {
125
- margin-bottom: 0;
126
- }
127
-
128
- #site-nav li li {
129
- font-size: 11px;
130
- line-height: 1.4em;
131
- }
132
-
133
- #site-nav li li a {
134
- padding-left: 15px;
135
- }
136
-
137
- #site-nav li.selected li a {
138
- padding: 3px;
139
- background: none;
140
- }
141
-
142
- #site-nav li.selected li a:hover {
143
- color: #D26;
144
- }
145
-
146
- /**** Content ****/
147
-
148
- #content {
149
- padding: 10px 10px 10px 210px;
150
- }
151
-
152
-
153
-
154
- /* screens smaller than 640 */
155
- @media screen and (max-width: 640px) {
156
-
157
- #site-nav {
158
- width: auto;
159
- position: relative;
160
- left: auto;
161
- top: auto;
162
- padding-top: 0px;
163
- height: auto;
164
- margin-bottom: 20px;
165
- }
166
-
167
- #content {
168
- padding-left: 10px;
169
- }
170
-
171
- }
172
-
173
- .copy h2 {
174
- clear: both;
175
- }
176
-
177
- a img {
178
- border: none;
179
- }
180
-
181
- pre, code {
182
- font-family: Monaco, monospace;
183
- font-size: 12px;
184
- background: #111;
185
- color: #F5F5F5;
186
- }
187
-
188
- p code {
189
- padding: 1px 3px;
190
- }
191
-
192
- pre {
193
- padding: 10px;
194
- -webkit-border-radius: 5px;
195
- -moz-border-radius: 5px;
196
- border-radius: 5px;
197
- }
198
-
199
- ul, ol { padding-left: 1.3em;}
200
-
201
- .hidden { display: none; }
202
-
203
- .copy {
204
- width: 600px;
205
- line-height: 1.55em;
206
- }
207
-
208
- blockquote {
209
- margin: 0;
210
- font: italic 18px Georgia, serif;
211
- }
212
-
213
- dt {
214
- font-weight: bold;
215
- font-size: 14px;
216
- }
217
-
218
- dd + dt {
219
- margin-top: 0.5em;
220
- }
221
-
222
- dd {
223
- margin-left: 1.0em;
224
- }
225
-
226
- button {
227
- -webkit-appearance: push-button;
228
- }
229
-
230
- #site-footer {
231
- clear: both;
232
- margin: 20px 0px;
233
- border-top: 2px solid white;
234
- padding-top: 10px;
235
- line-height: 30px;
236
- font-size: 95%;
237
- font-style: italic;
238
- }
239
-
240
- .license-copy {
241
- font-size: 85%;
242
- }
243
-
244
- .demos #copy,
245
- .docs #content {
246
- max-width: 640px;
247
- }
248
-
249
- .docs #content h2 {
250
- border-top: 2px solid #FFF;
251
- padding-top: 10px;
252
- }
253
-
254
- .docs #content h2:target {
255
- background: #D26;
256
- color: white;
257
- padding: 10px 5px 5px;
258
- }
259
-
260
- /**** Docs ****/
261
-
262
-
263
-
264
- .options dl dt { font-weight: normal; }
265
-
266
- .options dl dt,
267
- .options dl dd {
268
- float: left;
269
- padding: 0 1.2em;;
270
- background: #161616;
271
- line-height: 32px;
272
- height: 32px;
273
- margin: 0;
274
- }
275
-
276
- .options dl.header dt,
277
- .options dl.header dd {
278
- background: #444;
279
- }
280
-
281
- .options dl .option-type {
282
- font-size: 13px;
283
- color: #AAA;
284
- font-style: italic;
285
- }
286
-
287
- .options dl dd {
288
- margin-left: 1px;
289
- }
290
-
291
- /**** Demos ****/
292
-
293
- #container {
294
- background: #FFF;
295
- padding: 5px;
296
- margin-bottom: 20px;
297
- border-radius: 5px;
298
- clear: both;
299
- -webkit-border-radius: 5px;
300
- -moz-border-radius: 5px;
301
- border-radius: 5px;
302
- }
303
-
304
- .centered { margin: 0 auto; }
305
-
306
- .box {
307
- margin: 5px;
308
- padding: 5px;
309
- background: #D8D5D2;
310
- font-size: 11px;
311
- line-height: 1.4em;
312
- float: left;
313
- -webkit-border-radius: 5px;
314
- -moz-border-radius: 5px;
315
- border-radius: 5px;
316
- }
317
-
318
- .box h2 {
319
- font-size: 14px;
320
- font-weight: 200;
321
- }
322
-
323
- .box img,
324
- #tumblelog img {
325
- display: block;
326
- width: 100%;
327
- }
328
-
329
- .rtl .box {
330
- float: right;
331
- text-align: right;
332
- direction: rtl;
333
- }
334
-
335
-
336
-
337
- .col1 { width: 80px; }
338
- .col2 { width: 180px; }
339
- .col3 { width: 280px; }
340
- .col4 { width: 380px; }
341
- .col5 { width: 480px; }
342
-
343
- .col1 img { max-width: 80px; }
344
- .col2 img { max-width: 180px; }
345
- .col3 img { max-width: 280px; }
346
- .col4 img { max-width: 380px; }
347
- .col5 img { max-width: 480px; }
348
-
349
- /**** Gutters ****/
350
-
351
- .has-gutters .box {
352
- margin: 5px 0;
353
- }
354
-
355
- .has-gutters .col1 { width: 90px; }
356
- .has-gutters .col2 { width: 230px; }
357
- .has-gutters .col3 { width: 370px; }
358
- .has-gutters .col4 { width: 550px; }
359
-
360
- /**** Transitions ****/
361
-
362
- .transitions-enabled.masonry,
363
- .transitions-enabled.masonry .masonry-brick {
364
- -webkit-transition-duration: 0.7s;
365
- -moz-transition-duration: 0.7s;
366
- -ms-transition-duration: 0.7s;
367
- -o-transition-duration: 0.7s;
368
- transition-duration: 0.7s;
369
- }
370
-
371
- .transitions-enabled.masonry {
372
- -webkit-transition-property: height, width;
373
- -moz-transition-property: height, width;
374
- -ms-transition-property: height, width;
375
- -o-transition-property: height, width;
376
- transition-property: height, width;
377
- }
378
-
379
- .transitions-enabled.masonry .masonry-brick {
380
- -webkit-transition-property: left, right, top;
381
- -moz-transition-property: left, right, top;
382
- -ms-transition-property: left, right, top;
383
- -o-transition-property: left, right, top;
384
- transition-property: left, right, top;
385
- }
386
-
387
-
388
- /* disable transitions on container */
389
- .transitions-enabled.infinite-scroll.masonry {
390
- -webkit-transition-property: none;
391
- -moz-transition-property: none;
392
- -ms-transition-property: none;
393
- -o-transition-property: none;
394
- transition-property: none;
395
- }
396
-
397
- /**** Primer comparison ****/
398
-
399
- #comparison {
400
- overflow: auto;
401
- }
402
-
403
- #comparison .example {
404
- width: 420px;
405
- float: left;
406
- margin-right: 20px;
407
- }
408
-
409
- #comparison .box h5 {
410
- float: left;
411
- margin-bottom: 0;
412
- font-size: 30px;
413
- margin-right: 4px;
414
- line-height: 28px;
415
- font-weight: bold;
416
- color: #FFF;
417
- }
418
-
419
- /* Homepage */
420
-
421
- .homepage .item {
422
- width: 200px;
423
- float: left;
424
- padding: 10px;
425
- margin: 10px;
426
- background: #D8D5D2;
427
- font-weight: 300;
428
- -webkit-border-radius: 5px;
429
- -moz-border-radius: 5px;
430
- border-radius: 5px;
431
- }
432
-
433
- .homepage .big-text,
434
- .homepage .link {
435
- font-size: 24px;
436
- line-height: 1.2em;
437
- }
438
-
439
- .homepage .link {
440
- padding: 0;
441
- }
442
-
443
- .homepage .link a {
444
- display: block;
445
- padding: 10px;
446
- width: 200px;
447
- background: #D26;
448
- color: white;
449
- -webkit-border-radius: 5px;
450
- -moz-border-radius: 5px;
451
- border-radius: 5px;
452
- }
453
-
454
- .homepage .link a:hover {
455
- background: #A2C;
456
- }
457
-
458
- .homepage .col2 {
459
- width: 440px;
460
- }
461
-
462
- .homepage .example {
463
- padding: 0;
464
- width: 220px;
465
- background: transparent;
466
- }
467
-
468
- .homepage .example a { display: block; }
469
-
470
- .homepage .example img {
471
- display: block;
472
- width: 100%;
473
- }
474
-
475
- .homepage .example a:hover {
476
- background: #D26;
477
- color: white;
478
- }
479
-
480
- .homepage .loading {
481
- background: black;
482
- color: #D8D5D2;
483
- }
484
-
485
- .homepage .loading img {
486
- float: left;
487
- padding-right: 5px;
488
- width: 54px;
489
- }
490
-
491
- /* mini example */
492
-
493
- .homepage .mini div {
494
- float: left;
495
- background: white;
496
- margin: 3px;
497
- color: #D8D5D2;
498
- font-weight: bold;
499
- font-size: 32px;
500
- line-height: 46px;
501
- text-align: center;
502
- -webkit-border-radius: 3px;
503
- -moz-border-radius: 3px;
504
- border-radius: 3px;
505
- }
506
-
507
- .homepage .mini .w1 { width: 44px; }
508
- .homepage .mini .h1 { height: 44px; }
509
- .homepage .mini .w2 { width: 94px; }
510
- .homepage .mini .h2 { height: 94px; }
511
-
512
- /* Tumblelog example */
513
-
514
- #tumblelog {
515
- background: #FFF;
516
- padding: 1.0em;
517
- }
518
-
519
- #tumblelog .story {
520
- margin: 10px;
521
- border-top: 4px solid #DCB;
522
- padding-top: 10px;
523
- background: #FFF;
524
- float: left;
525
- }
526
-
527
- #tumblelog h1, #tumblelog h2, #tumblelog h3 { font-weight: bold;}
528
-
529
- #tumblelog .col1 { width: 220px; }
530
- #tumblelog .col2 { width: 460px; }
531
- #tumblelog .col3 { width: 700px; }
532
-
533
- #tumblelog .col1 img,
534
- #tumblelog .col2 img,
535
- #tumblelog .col3 img {
536
- max-width: none;
537
- }
538
-
539
- /* Infinite Scroll loader */
540
- #infscr-loading {
541
- text-align: center;
542
- z-index: 100;
543
- position: fixed;
544
- left: 45%;
545
- bottom: 40px;
546
- width: 200px;
547
- padding: 10px;
548
- background: #000;
549
- opacity: 0.8;
550
- color: #FFF;
551
- -webkit-border-radius: 10px;
552
- -moz-border-radius: 10px;
553
- border-radius: 10px;
554
- }
555
-
556
- /**** Fluid ****/
557
-
558
- #container.fluid {
559
- padding: 5px 0;
560
- }
561
-
562
- /* right margin value is 0.1% less than calculated,
563
- to allow for rounding errors in Firefox */
564
- .fluid .box {
565
- margin: 5px 0.9% 5px 1%;
566
- padding: 5px 1%;
567
- }
568
-
569
- .fluid .box.col1 { width: 16%; }
570
- .fluid .box.col2 { width: 36%; }
571
- .fluid .box.col3 { width: 56%; }
572
-
573
- /**** Corner stamp ****/
574
-
575
- .corner-stamp {
576
- width: 280px;
577
- height: 340px;
578
- padding: 10px;
579
- margin: 10px;
580
- float: right;
581
- background: red;
582
- color: white;
583
- -webkit-border-radius: 5px;
584
- -moz-border-radius: 5px;
585
- border-radius: 5px;
586
- }
587
-
588
- /**** Pygments ****/
589
-
590
- code .s1,
591
- code .s { color: #78BD55; } /* string */
592
- code .mi, /* integer */
593
- code .cp, /* doctype */
594
- code .kc { color: #5298D4; } /*boolean*/
595
- code .k { color: #E39B79; } /* keyword */
596
- code .kd, /* storage */
597
- code .na { color: #A9D866; } /* markup attribute */
598
- code .p { color: #EDB; } /* punctuation */
599
- code .o { color: #F63; } /* operator */
600
- code .nb { color: #AA97AC;} /* support */
601
-
602
- /* comment */
603
- code .c,
604
- code .c1 { color: #666; font-style: italic; }
605
-
606
- code .nt { color: #A0C8FC; } /* Markup open tag */
607
-
608
- code .nf { color: #9EA8B8; } /* css id */
609
- code .nc { color: #A78352; } /* CSS class */
610
- code .m { color: #DE8E50; } /* CSS value */
611
- code .nd { color: #9FAD7E; } /* CSS pseudo selector */
612
-
613
- /**** Clearfix ****/
614
- .clearfix:before, .clearfix:after { content: ""; display: table; }
615
- .clearfix:after { clear: both; }
616
- .clearfix { zoom: 1; }