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 +4 -4
- data/_includes/js/is-webp-supported.js +12 -0
- data/_layouts/default.html +3 -1
- data/_sass/commons/icon.sass +0 -15
- data/_sass/pages/index.sass +2 -0
- data/_sass/tools/mixins/icon.sass +12 -0
- data/_sass/tools/variables.sass +3 -0
- data/assets/js/main.js +2 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5529a91af03864e5eaa8814e333a9919f4a76222b6ea814cb40d245b207182c
|
4
|
+
data.tar.gz: b1c0b9a3759a731103f54fa96bd4d8aac4aca943ae856e3e39be7dee9681457e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
}());
|
data/_layouts/default.html
CHANGED
@@ -31,7 +31,9 @@
|
|
31
31
|
Avoid CSS transitions to be fired on load
|
32
32
|
{% endcomment %}
|
33
33
|
<script>
|
34
|
-
|
34
|
+
window.addEventListener('load', function() {
|
35
|
+
document.body.classList.remove('is-loading');
|
36
|
+
});
|
35
37
|
</script>
|
36
38
|
</body>
|
37
39
|
</html>
|
data/_sass/commons/icon.sass
CHANGED
@@ -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/pages/index.sass
CHANGED
@@ -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
|
data/_sass/tools/variables.sass
CHANGED
@@ -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
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.
|
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-
|
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.
|
162
|
+
rubygems_version: 3.1.6
|
161
163
|
signing_key:
|
162
164
|
specification_version: 4
|
163
165
|
summary: Noesya theme for Jekyll.
|