jekyll-theme-noesya 1.0.38 → 1.0.42

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: c096d9fb4204af2f0b42bfb8d9fec1d29660c9135cc08209026922b3a9708d4e
4
- data.tar.gz: 3ba183586f7e220165740f1f847e59a3aa1e0c2160296e4f2499ced2b9bc3316
3
+ metadata.gz: 4400532ff2f4c1a75d911de087b9448e39563e09bbda677e7a080f02e90e32eb
4
+ data.tar.gz: d924d2e5be67ae08c44c4d488c30a179c5bff084f053a895c60dd7f998150a05
5
5
  SHA512:
6
- metadata.gz: 9b16d83a078f934ed3ca9e809257ab0e28d9600f5b4f34c8eea11f5ba213f9d926b358b2fb768f0b385b9b88c8eddd0b02572e479f7f8da5078b118d7d1c93bd
7
- data.tar.gz: fc831e38abc751dc58237f9ae69b2534750e9c698124f8e02e1c9b689fc94afa8b9203c3aeb45529798f9dee3d7a761ca3dd90248cfd9815a16b75c14f7a59dc
6
+ metadata.gz: 3f057f907f4811e8274c54b00e64bf3ba9f9d27bb6a1ed8245e4f0c8472d5fc9367833edb5cde5f08eb9c3e8de4e4ec3791ccc5fd670b66d31eed8fed62d4819
7
+ data.tar.gz: fd59d4f54b329b711bf3e4b7654992a50d79b602d854688b4e1716b5f07ace6e11eee25fb03bbcb2abb1c475b2e3ed86bac2513ce178779846d01a2bf337a49d
@@ -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
+ }());
@@ -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
data/_sass/main.sass CHANGED
@@ -5,6 +5,7 @@
5
5
  @import "tools/mixins/container"
6
6
  @import "tools/mixins/grid"
7
7
  @import "tools/mixins/graphics"
8
+ @import "tools/mixins/icon"
8
9
 
9
10
  @import "commons/fonts"
10
11
  @import "commons/global"
@@ -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.38
4
+ version: 1.0.42
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.