jekyll-theme-consulting 0.11.3 → 0.11.4

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: 33970fa6d8d95515b344fbeabf1190976346d9c7a6c5b3297f95fc56cdb8903a
4
- data.tar.gz: 48e7acf5146e6e3f3937b09ac731d32cd4e3821c34738f451f68fab70bd66b28
3
+ metadata.gz: 8661222123a8da57f725b1dd99ad58dee1d281cbf80e6875c956c80b12be4a32
4
+ data.tar.gz: cb3c0fb2fa8018209fc4cc391cc814ed66cbf139fc60cfb8a724ee2cc6b82834
5
5
  SHA512:
6
- metadata.gz: e915c84abb650c21f14b1f016471bad2f4f3b6908cb8aaf11949600205a0d96fb2e2da88685c45332d9d7d08c18190f05f9252b7d36b010533523d49be600c2d
7
- data.tar.gz: be1cd9b861299e75a2062abb1ae7561013430e0f3c20a6ceda16067c6ed9b8bbfe1ed2a6093fad97af8a9f7a4552b58c3a3abf3396cd5d3a2070d2e081b54593
6
+ metadata.gz: 8395c3352490009d937a52519ba41459b58e505426229b86b0ef5d5b85bd73996d270b8b40b9e5be8fc0316434e71405b82733787f80ab04efc7cd7593303d99
7
+ data.tar.gz: 4e3054abbb4a094aa913d3f1d9f76969c042b8087a3625ed986bd870445f7dec69b264532de40a90722912bacafa7bfb888bb6b97dfc5ff8fd8ed2e328c30244
@@ -1,8 +1,10 @@
1
1
  <!-- Banner -->
2
2
  <section id="banner"
3
- {%- if include.style -%}
4
- class="{{ include.style.class | default: '' }}"
5
- style="background-image: url({{ include.style.image | absolute_url }}); background-position: {{ include.style.position | default: 'center' }} -5em; background-size: {{ include.style.size | default: '100% auto' }};"
3
+ {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
+ {% if include.style.image %}style="
5
+ background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
+ background-position: {{ include.style.image.position | default: 'right' }} -5em, {{ include.style.image.position | default: 'right' }} -5em;
7
+ background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
6
8
  {% endif %}>
7
9
  <div class="content">
8
10
  <header>
@@ -11,7 +13,7 @@ style="background-image: url({{ include.style.image | absolute_url }}); backgrou
11
13
  </header>
12
14
  {% if include.description %}<p>{{ include.description }}</p>{% endif %}
13
15
  <ul class="actions">
14
- <li><a href="{{ include.button.url | default: '#' }}" class="button primary big scrolly">{{ include.button.label | default: 'Ask for advice!' }}</a></li>
16
+ <li><a href="{{ include.button.url | default: '#' }}" class="button primary big">{{ include.button.label | default: 'Ask for advice!' }}</a></li>
15
17
  </ul>
16
18
  </div>
17
19
  </section>
@@ -1,8 +1,10 @@
1
1
  <!-- Header -->
2
2
  <header id="header"
3
- {%- if include.style -%}
4
- class="{{ include.style.class | default: '' }}"
5
- style="background-image: url({{ include.style.image | absolute_url }}); background-position: {{ include.style.position | default: 'center' }} top; background-size: {{ include.style.size | default: '100% auto' }};"
3
+ {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
+ {% if include.style.image %}style="
5
+ background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
+ background-position: {{ include.style.image.position | default: 'right' }} top, {{ include.style.image.position | default: 'right' }} top;
7
+ background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
6
8
  {% endif %}>
7
9
  <a href="{{ '' | absolute_url }}" class="logo">
8
10
  <span class="title">
@@ -8,7 +8,7 @@
8
8
  <ul>
9
9
  {%- for subitem in item.menu -%}
10
10
  <li {% if subitem.url == page.url %} class="current" {% endif %}>
11
- <a href="{{ subitem.url | absolute_url }}" class="scrolly">{{ subitem.title }}</a>
11
+ <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
12
12
  </li>
13
13
  {%- endfor -%}
14
14
  </ul>
@@ -1,6 +1,5 @@
1
1
  <!-- Scripts -->
2
2
  <script src="{{ 'assets/js/jquery.min.js' | absolute_url }}" type="text/javascript" defer ></script>
3
- <script src="{{ 'assets/js/jquery.scrolly.min.js' | absolute_url }}" type="text/javascript" defer ></script>
4
3
  <script src="{{ 'assets/js/browser.min.js' | absolute_url }}" type="text/javascript" defer ></script>
5
4
  <script src="{{ 'assets/js/breakpoints.min.js' | absolute_url }}" type="text/javascript" defer ></script>
6
5
  <script src="{{ 'assets/js/lazy-loading.min.js' | absolute_url }}" type="text/javascript" defer ></script>
@@ -18,7 +18,6 @@
18
18
  </article>
19
19
  {%- endfor -%}
20
20
  </div>
21
+ <p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | absolute_url }}">via RSS</a></p>
21
22
  </section>
22
-
23
- <p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | absolute_url }}">via RSS</a></p>
24
23
  {%- endif -%}
@@ -1,15 +0,0 @@
1
- body, input, select, textarea {
2
- @include breakpoint('<=xlarge') {
3
- font-size: 11pt;
4
- }
5
-
6
- @include breakpoint('<=large') {
7
- font-size: 10pt;
8
- }
9
- }
10
-
11
- @include breakpoint('<=xlarge') {
12
- h1 {
13
- font-size: 3.5em;
14
- }
15
- }
@@ -1,5 +0,0 @@
1
- @include breakpoint('<=medium') {
2
- h1 {
3
- font-size: 3.25em;
4
- }
5
- }
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ width="128"
9
+ height="128"
10
+ viewBox="0 0 33.867 33.867"
11
+ version="1.1"
12
+ id="svg1021">
13
+ <metadata
14
+ id="metadata1027">
15
+ <rdf:RDF>
16
+ <cc:Work
17
+ rdf:about="">
18
+ <dc:format>image/svg+xml</dc:format>
19
+ <dc:type
20
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
+ <dc:title></dc:title>
22
+ </cc:Work>
23
+ </rdf:RDF>
24
+ </metadata>
25
+ <defs
26
+ id="defs1025" />
27
+ <path
28
+ d="M33.867 0H0v33.867s-8.467 0 0 0 12.7-4.234 16.933-16.934C21.167 4.233 25.4 0 33.867 0"
29
+ class="split-bg"
30
+ fill="#123456"
31
+ id="path1017" />
32
+ <path
33
+ d="m 33.867,-0.132293 c -8.467,0 -12.7,3.968586 -16.934,16.668586 -4.233,12.7 -8.466,17.463 -16.933,17.463"
34
+ class="split-border"
35
+ fill="none"
36
+ stroke="#ffffff"
37
+ stroke-width="1.058"
38
+ id="path1019"
39
+ style="stroke-width:0.264586;stroke-miterlimit:4;stroke-dasharray:none" />
40
+ </svg>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ width="384"
9
+ height="128"
10
+ viewBox="0 0 101.601 33.867"
11
+ version="1.1"
12
+ id="svg855">
13
+ <metadata
14
+ id="metadata861">
15
+ <rdf:RDF>
16
+ <cc:Work
17
+ rdf:about="">
18
+ <dc:format>image/svg+xml</dc:format>
19
+ <dc:type
20
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
+ <dc:title></dc:title>
22
+ </cc:Work>
23
+ </rdf:RDF>
24
+ </metadata>
25
+ <defs
26
+ id="defs859" />
27
+ <path
28
+ d="M67.734 0H0v33.867h33.868c8.467 0 12.699-4.234 16.932-16.934C55.034 4.233 59.267 0 67.734 0"
29
+ class="split-bg"
30
+ fill="#123456"
31
+ id="path851" />
32
+ <path
33
+ d="M 67.734,-0.132293 C 59.267,-0.132293 55.06575,4.233 50.83175,16.933 46.59875,29.633 42.334,33.999293 33.867,33.999293"
34
+ class="split-border"
35
+ fill="none"
36
+ stroke="#fff"
37
+ stroke-width="1.058"
38
+ id="path853"
39
+ style="stroke:#ffffff;stroke-width:0.264586;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
40
+ </svg>
data/assets/js/main.js CHANGED
@@ -107,17 +107,6 @@
107
107
 
108
108
  });
109
109
 
110
- // Scrolly.
111
- $('.scrolly-middle').scrolly({
112
- speed: 1000,
113
- anchor: 'middle'
114
- });
115
-
116
- $('.scrolly').scrolly({
117
- speed: 3000,
118
- offset: function() { return (breakpoints.active('<=mobile') ? 70 : 190); }
119
- });
120
-
121
110
  // Events.
122
111
 
123
112
  // Link clicks.
@@ -1 +1 @@
1
- (function($){var $window=$(window),$head=$("head"),$body=$("body");breakpoints({xlarge:["1281px","1680px"],large:["981px","1280px"],medium:["737px","980px"],small:["481px","736px"],xsmall:["361px","480px"],xxsmall:[null,"360px"],"xlarge-to-max":"(min-width: 1681px)","small-to-xlarge":"(min-width: 481px) and (max-width: 1680px)"});$window.on("load",function(){window.setTimeout(function(){$body.removeClass("is-preload")},100)});var resizeTimeout;$window.on("resize",function(){$body.addClass("is-resizing");clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){$body.removeClass("is-resizing")},100)});if(!browser.canUse("object-fit")||browser.name=="safari")$(".image.object").each(function(){var $this=$(this),$img=$this.children("img");$img.css("opacity","0");$this.css("background-image",'url("'+$img.attr("src")+'")').css("background-size",$img.css("object-fit")?$img.css("object-fit"):"cover").css("background-position",$img.css("object-position")?$img.css("object-position"):"center")});var $sidebar=$("#sidebar"),$sidebar_inner=$sidebar.children(".inner");$sidebar.addClass("inactive");if(browser.os=="android"&&browser.name=="chrome")$("<style>#sidebar .inner::-webkit-scrollbar { display: none; }</style>").appendTo($head);$("#sidebar-toggle-button").on("click",function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass("inactive")});$("#sidebar-search-button").on("click",function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass("inactive")});$(".scrolly-middle").scrolly({speed:1e3,anchor:"middle"});$(".scrolly").scrolly({speed:3e3,offset:function(){return breakpoints.active("<=mobile")?70:190}});$sidebar.on("click","a",function(event){var $a=$(this),href=$a.attr("href"),target=$a.attr("target");pathname=$a.length>0?$a[0].pathname:"";hash=href.split("#").length>1?href.split("#")[1]:"";event.preventDefault();event.stopPropagation();if(!href||href=="#"||href=="")return;$sidebar.addClass("inactive");setTimeout(function(){if(target=="_blank")window.open(href);else{if(pathname&&hash&&pathname==window.location.pathname){document.getElementById(hash).scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}else window.location.href=href}},500)});$sidebar.on("click touchend touchstart touchmove",function(event){event.stopPropagation()});$body.on("click touchend",function(event){$sidebar.addClass("inactive")});$sidebar_inner.data("locked",0).css("position","").css("top","");var $menu=$("#menu"),$menu_openers=$menu.children("ul").find(".opener");$menu_openers.each(function(){var $this=$(this);$this.on("click",function(event){event.preventDefault();$menu_openers.not($this).removeClass("active");$this.toggleClass("active");$window.triggerHandler("resize.sidebar-lock")})})})(jQuery);
1
+ (function($){var $window=$(window),$head=$("head"),$body=$("body");breakpoints({xlarge:["1281px","1680px"],large:["981px","1280px"],medium:["737px","980px"],small:["481px","736px"],xsmall:["361px","480px"],xxsmall:[null,"360px"],"xlarge-to-max":"(min-width: 1681px)","small-to-xlarge":"(min-width: 481px) and (max-width: 1680px)"});$window.on("load",function(){window.setTimeout(function(){$body.removeClass("is-preload")},100)});var resizeTimeout;$window.on("resize",function(){$body.addClass("is-resizing");clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){$body.removeClass("is-resizing")},100)});if(!browser.canUse("object-fit")||browser.name=="safari")$(".image.object").each(function(){var $this=$(this),$img=$this.children("img");$img.css("opacity","0");$this.css("background-image",'url("'+$img.attr("src")+'")').css("background-size",$img.css("object-fit")?$img.css("object-fit"):"cover").css("background-position",$img.css("object-position")?$img.css("object-position"):"center")});var $sidebar=$("#sidebar"),$sidebar_inner=$sidebar.children(".inner");$sidebar.addClass("inactive");if(browser.os=="android"&&browser.name=="chrome")$("<style>#sidebar .inner::-webkit-scrollbar { display: none; }</style>").appendTo($head);$("#sidebar-toggle-button").on("click",function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass("inactive")});$("#sidebar-search-button").on("click",function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass("inactive")});$sidebar.on("click","a",function(event){var $a=$(this),href=$a.attr("href"),target=$a.attr("target");pathname=$a.length>0?$a[0].pathname:"";hash=href.split("#").length>1?href.split("#")[1]:"";event.preventDefault();event.stopPropagation();if(!href||href=="#"||href=="")return;$sidebar.addClass("inactive");setTimeout(function(){if(target=="_blank")window.open(href);else{if(pathname&&hash&&pathname==window.location.pathname){document.getElementById(hash).scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}else window.location.href=href}},500)});$sidebar.on("click touchend touchstart touchmove",function(event){event.stopPropagation()});$body.on("click touchend",function(event){$sidebar.addClass("inactive")});$sidebar_inner.data("locked",0).css("position","").css("top","");var $menu=$("#menu"),$menu_openers=$menu.children("ul").find(".opener");$menu_openers.each(function(){var $this=$(this);$this.on("click",function(event){event.preventDefault();$menu_openers.not($this).removeClass("active");$this.toggleClass("active");$window.triggerHandler("resize.sidebar-lock")})})})(jQuery);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-19 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -246,6 +246,8 @@ files:
246
246
  - assets/css/images/ifag.svg
247
247
  - assets/css/images/ifg.svg
248
248
  - assets/css/images/marine.svg
249
+ - assets/css/images/split.curve.svg
250
+ - assets/css/images/split.curve.wide.svg
249
251
  - assets/css/images/ub.svg
250
252
  - assets/css/images/uca.svg
251
253
  - assets/css/large.scss
@@ -259,7 +261,6 @@ files:
259
261
  - assets/js/cookieconsent.min.js
260
262
  - assets/js/cookieconsent.style.min.js
261
263
  - assets/js/jquery.min.js
262
- - assets/js/jquery.scrolly.min.js
263
264
  - assets/js/lazy-loading.js
264
265
  - assets/js/lazy-loading.min.js
265
266
  - assets/js/main.js
@@ -1,2 +0,0 @@
1
- /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */
2
- (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o<this[t];o++)e(this[o]).scrolly(i);return c}l=n,f=c.attr("href");if(f.charAt(0)!="#"||f[t]<2)return c;a=jQuery.extend({anchor:r,easing:"swing",offset:0,parent:e("body,html"),pollOnce:!1,speed:1e3},i),a.pollOnce&&(l=u(f,a)),c.off(s).on(s,function(e){var t=l!==n?l:u(f,a);t!==n&&(e.preventDefault(),a.parent.stop().animate({scrollTop:t},a.speed,a.easing))})}})(jQuery);