jekyll-theme-noesya 1.0.37 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 848564711f6ba713e40e18d76bec41e554883861f80342a29819070d372de7cc
4
- data.tar.gz: f7c9eca61124d1938d55c893dcd094d23c5cc6e2208022f41a83586121df4590
3
+ metadata.gz: f5529a91af03864e5eaa8814e333a9919f4a76222b6ea814cb40d245b207182c
4
+ data.tar.gz: b1c0b9a3759a731103f54fa96bd4d8aac4aca943ae856e3e39be7dee9681457e
5
5
  SHA512:
6
- metadata.gz: 5d2f7b4b21460a41009ccef8cf3662e569a3df08948a2ad9abd4f428cdea929266ded6b32d4be8df25656393d6a4e858604bc08399e97d7c338a656e65ebc11c
7
- data.tar.gz: e8f2496bfd3c443bb74919a4a8811f727bea9fab56d565235bf2b69d020532d21cbb55c0b202ba9f4da53a122452e30832423ab6553715b44821f975214f9869
6
+ metadata.gz: 4ead86c993c72dc84537d8e911ce93a1d888aa5e5c99b6135cbbad1f508f6598e23d058a88a89d0f2f91e9f404ba42623b15dadce82aef3876ff5608813baa1d
7
+ data.tar.gz: 7d65912e9f85e3e9dc1fca20e18fbd7a8ad864af391dd7e05429a51831b7736fc1d7565aa6e7175ffd03f2f197157cb594ac2f5497a1597f74192df88479c8be
@@ -0,0 +1,12 @@
1
+
2
+ (function () {
3
+ 'use strict';
4
+ var isWebpSupported = false,
5
+ canvas = document.createElement('canvas');
6
+ if (canvas.getContext) {
7
+ isWebpSupported = canvas.toDataURL('image/webp').indexOf('data:image/webp') > -1;
8
+ }
9
+ if (!isWebpSupported) {
10
+ document.body.classList.add('no-webp');
11
+ }
12
+ }());
@@ -31,7 +31,9 @@
31
31
  Avoid CSS transitions to be fired on load
32
32
  {% endcomment %}
33
33
  <script>
34
- document.body.classList.remove('is-loading');
34
+ window.addEventListener('load', function() {
35
+ document.body.classList.remove('is-loading');
36
+ });
35
37
  </script>
36
38
  </body>
37
39
  </html>
@@ -1,18 +1,3 @@
1
- $icons: ("link-blank": "\e90a", "link": "\e90b", "download": "\e90c", "document": "\e90d", "ecologique-thin": "\e900", "economique-thin": "\e902", "ethique-thin": "\e904", "juridique-thin": "\e906", "strategique-thin": "\e908", "securite-thin": "\e90e", "ecologique": "\e901", "economique": "\e903", "ethique": "\e905", "juridique": "\e907", "strategique": "\e909", "securite": "\e90f")
2
-
3
- @mixin icon
4
- -moz-osx-font-smoothing: grayscale
5
- -webkit-font-smoothing: antialiased
6
- content: ''
7
- display: inline-block
8
- font-family: 'icons' !important
9
- font-style: normal
10
- font-variant: normal
11
- font-weight: normal
12
- line-height: 1
13
- speak: never
14
- text-transform: none
15
-
16
1
  @each $name, $glyph in $icons
17
2
  .icon--#{$name}
18
3
  &::before
@@ -5,3 +5,5 @@ main.index
5
5
  @include media-breakpoint-up(lg)
6
6
  font-size: px2rem(55)
7
7
  line-height: px2rem(75)
8
+ a
9
+ text-decoration-thickness: 2px
@@ -0,0 +1,12 @@
1
+ @mixin icon
2
+ -moz-osx-font-smoothing: grayscale
3
+ -webkit-font-smoothing: antialiased
4
+ content: ''
5
+ display: inline-block
6
+ font-family: 'icons' !important
7
+ font-style: normal
8
+ font-variant: normal
9
+ font-weight: normal
10
+ line-height: 1
11
+ speak: never
12
+ text-transform: none
@@ -26,3 +26,6 @@ $grid-sm-margin: 15px
26
26
  // Media breakpoints
27
27
  $breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px)
28
28
  $easeInOutQuad: cubic-bezier(0.45, 0, 0.55, 1)
29
+
30
+ // Icons
31
+ $icons: ("link-blank": "\e90a", "link": "\e90b", "download": "\e90c", "document": "\e90d", "ecologique-thin": "\e900", "economique-thin": "\e902", "ethique-thin": "\e904", "juridique-thin": "\e906", "strategique-thin": "\e908", "securite-thin": "\e90e", "ecologique": "\e901", "economique": "\e903", "ethique": "\e905", "juridique": "\e907", "strategique": "\e909", "securite": "\e90f", "user": "\e910")
data/assets/js/main.js CHANGED
@@ -2,6 +2,8 @@
2
2
  layout:
3
3
  ---
4
4
 
5
+ {% include js/is-webp-supported.js %}
6
+
5
7
  {% include js/menu-burger.js %}
6
8
 
7
9
  {%- if site.options.notes -%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-noesya
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.37
4
+ version: 1.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Moulène
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-11-14 00:00:00.000000000 Z
13
+ date: 2021-11-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll
@@ -96,6 +96,7 @@ files:
96
96
  - _includes/footer.html
97
97
  - _includes/header.html
98
98
  - _includes/js/hover-navigation-links.js
99
+ - _includes/js/is-webp-supported.js
99
100
  - _includes/js/menu-burger.js
100
101
  - _includes/js/notes.js
101
102
  - _includes/js/paragraphs-index.js
@@ -130,6 +131,7 @@ files:
130
131
  - _sass/tools/mixins/container.sass
131
132
  - _sass/tools/mixins/graphics.sass
132
133
  - _sass/tools/mixins/grid.sass
134
+ - _sass/tools/mixins/icon.sass
133
135
  - _sass/tools/mixins/media.sass
134
136
  - _sass/tools/reset.sass
135
137
  - _sass/tools/variables.sass
@@ -157,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
159
  - !ruby/object:Gem::Version
158
160
  version: '0'
159
161
  requirements: []
160
- rubygems_version: 3.1.4
162
+ rubygems_version: 3.1.6
161
163
  signing_key:
162
164
  specification_version: 4
163
165
  summary: Noesya theme for Jekyll.