jumbo-jekyll-theme 2.1.3 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/app/fly.scss +10 -0
- data/_sass/core/fa.scss +10 -10
- data/assets/js/app/fly.js +45 -0
- metadata +23 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b85880eb0088023f86609f9d5c4e59cb98fb5e0ee53ffeceaaa779425c5a1d56
|
4
|
+
data.tar.gz: 4258235c03cc6955d568d3f353a21344f6d9c17d4cf59f03fd36fb08c2c83b68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46055b07f56d27b30de93d6741f824a609c5a818f3b05788df3f928735c5b226831b29862b0f119bc45e3a1472b17f8c6dbb7e6684b7cb85a403765b56fe714
|
7
|
+
data.tar.gz: b3f464d27e3c71051a266d9c932d635b22919c126fe4c4c035e6b8b38e4b3c0790582ab741d95b426c54cc21d1c888603cda18f0da7d2fe02dcfa46cc36e4697
|
data/_sass/app/fly.scss
ADDED
data/_sass/core/fa.scss
CHANGED
@@ -3,17 +3,17 @@
|
|
3
3
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
4
4
|
*/
|
5
5
|
@font-face {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
font-style: normal;
|
6
|
+
font-family: "FontAwesome";
|
7
|
+
font-weight: normal;
|
8
|
+
font-style : normal;
|
9
|
+
src : url("/assets/fonts/fontawesome-webfont.eot?v=4.3.0");
|
10
|
+
src : url("/assets/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"),
|
11
|
+
url("/assets/fonts/fontawesome-webfont.woff2") format("woff2"),
|
12
|
+
url("/assets/fonts/fontawesome-webfont.woff") format("woff"),
|
13
|
+
url("/assets/fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"),
|
14
|
+
url("/assets/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");
|
16
15
|
}
|
16
|
+
|
17
17
|
.fa {
|
18
18
|
display: inline-block;
|
19
19
|
font: normal normal normal 14px/1 FontAwesome;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
$(document).ready(function(){
|
2
|
+
|
3
|
+
// Recheck function to
|
4
|
+
var timer = 0;
|
5
|
+
function recheck() {
|
6
|
+
var window_top = $(this).scrollTop();
|
7
|
+
var window_height = $(this).height();
|
8
|
+
var view_port_s = window_top;
|
9
|
+
var view_port_e = window_top + window_height;
|
10
|
+
|
11
|
+
if (timer) {
|
12
|
+
clearTimeout(timer);
|
13
|
+
}
|
14
|
+
|
15
|
+
$('.fly').each(function () {
|
16
|
+
var block = $(this);
|
17
|
+
var block_top = block.offset().top;
|
18
|
+
var block_height = block.height();
|
19
|
+
|
20
|
+
if (block_top < view_port_e) {
|
21
|
+
timer = setTimeout(function () {
|
22
|
+
block.addClass('show-block');
|
23
|
+
}, 100);
|
24
|
+
} else {
|
25
|
+
timer = setTimeout(function () {
|
26
|
+
block.removeClass('show-block');
|
27
|
+
}, 100);
|
28
|
+
}
|
29
|
+
});
|
30
|
+
}
|
31
|
+
|
32
|
+
// Check if the windows is scrolled or resized
|
33
|
+
// and if so then recheck for elements that are visible.
|
34
|
+
$(function () {
|
35
|
+
$(window).scroll(function () {
|
36
|
+
recheck();
|
37
|
+
});
|
38
|
+
|
39
|
+
$(window).resize(function () {
|
40
|
+
recheck();
|
41
|
+
});
|
42
|
+
|
43
|
+
recheck();
|
44
|
+
});
|
45
|
+
});
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumbo-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kirkby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.7.
|
19
|
+
version: 3.7.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.7.
|
26
|
+
version: 3.7.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-seo-tag
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,6 +254,20 @@ dependencies:
|
|
254
254
|
- - ">="
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0'
|
257
|
+
- !ruby/object:Gem::Dependency
|
258
|
+
name: ffi
|
259
|
+
requirement: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - "~>"
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: 1.9.24
|
264
|
+
type: :runtime
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - "~>"
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 1.9.24
|
257
271
|
- !ruby/object:Gem::Dependency
|
258
272
|
name: bundler
|
259
273
|
requirement: !ruby/object:Gem::Requirement
|
@@ -356,6 +370,7 @@ files:
|
|
356
370
|
- _sass/app/blog.scss
|
357
371
|
- _sass/app/contact.scss
|
358
372
|
- _sass/app/custom.scss
|
373
|
+
- _sass/app/fly.scss
|
359
374
|
- _sass/app/home.scss
|
360
375
|
- _sass/app/overrides.scss
|
361
376
|
- _sass/app/search.scss
|
@@ -502,6 +517,7 @@ files:
|
|
502
517
|
- assets/images/social-media-image.png
|
503
518
|
- assets/js/app/custom.js
|
504
519
|
- assets/js/app/facebook.js
|
520
|
+
- assets/js/app/fly.js
|
505
521
|
- assets/js/app/home.js
|
506
522
|
- assets/js/app/main.js
|
507
523
|
- assets/js/app/scroll-to-anchors.js
|
@@ -547,7 +563,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
547
563
|
version: '0'
|
548
564
|
requirements: []
|
549
565
|
rubyforge_project:
|
550
|
-
rubygems_version: 2.7.
|
566
|
+
rubygems_version: 2.7.7
|
551
567
|
signing_key:
|
552
568
|
specification_version: 4
|
553
569
|
summary: The jumbo-jekyll-theme aims to provide an fast static theme for use across
|