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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff8fd79f47cb7b87a6959f9d31ee3908837864d51c6613b2d6f3f8e4bee7a486
4
- data.tar.gz: d93f5e7dd7da02a1937952475825ad858cac8a8d0b0b6ef6c50d97fb1aca2484
3
+ metadata.gz: b85880eb0088023f86609f9d5c4e59cb98fb5e0ee53ffeceaaa779425c5a1d56
4
+ data.tar.gz: 4258235c03cc6955d568d3f353a21344f6d9c17d4cf59f03fd36fb08c2c83b68
5
5
  SHA512:
6
- metadata.gz: b364982e9b404d03ea1e156d93e3ebbab8c0309c249cf86bba5a052d20a47bd219500f00764176c5f00c5f0b719385f4a5df47231d707d646b1abb24874288d9
7
- data.tar.gz: 5add37f446eda35ef44fffd4a648710ae688cb94f27fc915f841ad716386023f5aac61c89214e92eaa0d539dd2e6d369afb3fb8b2591128cb223da572566d43e
6
+ metadata.gz: f46055b07f56d27b30de93d6741f824a609c5a818f3b05788df3f928735c5b226831b29862b0f119bc45e3a1472b17f8c6dbb7e6684b7cb85a403765b56fe714
7
+ data.tar.gz: b3f464d27e3c71051a266d9c932d635b22919c126fe4c4c035e6b8b38e4b3c0790582ab741d95b426c54cc21d1c888603cda18f0da7d2fe02dcfa46cc36e4697
@@ -0,0 +1,10 @@
1
+ .fly {
2
+ opacity: 0;
3
+ transition: all 600ms ease-in-out;
4
+ transform: translateY(100px) scale(1.05) translate3d(0, 0, 0);
5
+ }
6
+
7
+ .show-block {
8
+ opacity: 1;
9
+ transform: translateY(0) scale(1) translate3d(0, 0, 0);
10
+ }
@@ -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
- font-family: 'FontAwesome';
7
- src: url('/assets/fonts/fontawesome-webfont.eot);
8
- src: url('/assets/fonts/fontawesome-webfont.eot') format('embedded-opentype'),
9
- url('/assets/fonts/fontawesome-webfont.woff2) format('woff2'),
10
- url('/assets/fonts/fontawesome-webfont.woff) format('woff'),
11
- url('/assets/fonts/fontawesome-webfont.ttf) format('truetype'),
12
- url('/assets/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
13
-
14
- font-weight: normal;
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.1.3
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-08-23 00:00:00.000000000 Z
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.3
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.3
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.6
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