jekyll-theme-noesya 1.0.19 → 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header.html +1 -1
- data/_includes/navigation-between-pages.html +37 -8
- data/_sass/commons/darkmode.sass +1 -1
- data/_sass/commons/header.sass +8 -2
- data/_sass/commons/icon.sass +1 -1
- data/_sass/components/menu.sass +3 -3
- data/_sass/main.sass +1 -0
- data/_sass/pages/index.sass +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8cd28b444923d4c6dc7703a70a69f5b9cc4aae9afca08dca776d0f17f34e3a7
|
4
|
+
data.tar.gz: 9029039e680a56d65314480d3a5a7b96d74c9dd53961ec1711f76687c5363ea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf365d48f08d6a02494faa78cb3fa8d0dc50c5a55938de23c76af6e92e215880163acb99c4da125df370499087d7449ae8c7622f7e3edde9ad486b66d61b4990
|
7
|
+
data.tar.gz: 3c47c1cec2fa4e21b7c72cbdb24355b3ce77d864ceb9971cf5dcbb52f99015bec9c503a49c8424961013c8c1faf36945dc2946b95aa7b0e43ca516c809fa3043
|
data/_includes/header.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<header id="header"{% unless site.options.menu_burger %} class="
|
1
|
+
<header id="header"{% unless site.options.menu_burger %} class="menu-burger-only-mobile"{% endunless %}>
|
2
2
|
<a href="/">
|
3
3
|
<img src="https://assets.noesya.coop/images/logos/logo-noesya.svg" alt="{{ site.title }}" width="100" height="26">
|
4
4
|
</a>
|
@@ -1,16 +1,45 @@
|
|
1
|
+
{% assign previous = false %}
|
2
|
+
{% assign next = false %}
|
1
3
|
{% if page.nav %}
|
2
|
-
|
4
|
+
{% assign previous = page.nav.previous %}
|
5
|
+
{% assign next = page.nav.next %}
|
6
|
+
{% elsif include.auto %}
|
7
|
+
{% assign collection = site[page.collection] %}
|
8
|
+
|
9
|
+
{% for item in collection %}
|
10
|
+
{% if item.title == page.title %}
|
11
|
+
{% unless forloop.first %}
|
12
|
+
{% assign previous = iterator %}
|
13
|
+
{% endunless %}
|
14
|
+
{% unless forloop.last %}
|
15
|
+
{% assign next = collection[forloop.index] %}
|
16
|
+
{% endunless %}
|
17
|
+
{% endif %}
|
18
|
+
{% assign iterator = item %}
|
19
|
+
{% endfor %}
|
20
|
+
|
21
|
+
{% unless previous %}
|
22
|
+
{% assign previous = collection | last %}
|
23
|
+
{% endunless %}
|
24
|
+
|
25
|
+
{% unless next %}
|
26
|
+
{% assign next = collection | first %}
|
27
|
+
{% endunless %}
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if previous and next %}
|
31
|
+
<nav>
|
3
32
|
<ul>
|
4
33
|
<li data-link-delay="3">
|
5
|
-
<a href="{{
|
6
|
-
<span>{{
|
7
|
-
{{-
|
34
|
+
<a href="{{previous.url}}">
|
35
|
+
<span>{{previous.text | default: 'Précédent'}}</span><br>
|
36
|
+
{{- previous.title -}}
|
8
37
|
</a>
|
9
38
|
</li>
|
10
|
-
<li
|
11
|
-
<a href="{{
|
12
|
-
<span>{{
|
13
|
-
{{-
|
39
|
+
<li data-link-delay="3">
|
40
|
+
<a href="{{next.url}}">
|
41
|
+
<span>{{next.text | default: 'Suivant'}}</span><br>
|
42
|
+
{{- next.title -}}
|
14
43
|
</a>
|
15
44
|
</li>
|
16
45
|
</ul>
|
data/_sass/commons/darkmode.sass
CHANGED
data/_sass/commons/header.sass
CHANGED
@@ -10,8 +10,10 @@ body > header
|
|
10
10
|
z-index: 2
|
11
11
|
@include media-breakpoint-up(md)
|
12
12
|
padding-top: $grid-gutter * 2
|
13
|
-
&.
|
13
|
+
&.menu-burger-only-mobile
|
14
14
|
margin-top: -3px
|
15
|
+
nav
|
16
|
+
margin-top: -3px
|
15
17
|
a
|
16
18
|
text-decoration: none
|
17
19
|
// Logo
|
@@ -30,8 +32,12 @@ body > header
|
|
30
32
|
flex-shrink: 0
|
31
33
|
font-size: px2rem(25)
|
32
34
|
margin-left: $grid-gutter
|
33
|
-
margin-top: -
|
35
|
+
margin-top: -4px
|
34
36
|
vertical-align: middle
|
37
|
+
@media (max-width: 350px)
|
38
|
+
font-size: px2rem(20)
|
39
|
+
margin-left: 15px
|
40
|
+
|
35
41
|
@include media-breakpoint-up(lg)
|
36
42
|
width: calc(8.3333% + 9px)
|
37
43
|
img
|
data/_sass/commons/icon.sass
CHANGED
@@ -1,4 +1,4 @@
|
|
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", "ecologique": "\e901", "economique": "\e903", "ethique": "\e905", "juridique": "\e907", "strategique": "\e909")
|
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
2
|
|
3
3
|
@mixin icon
|
4
4
|
-moz-osx-font-smoothing: grayscale
|
data/_sass/components/menu.sass
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
right: 35px
|
33
33
|
top: 35px
|
34
34
|
@include media-breakpoint-up(lg)
|
35
|
-
.
|
35
|
+
.menu-burger-only-mobile &
|
36
36
|
display: none
|
37
37
|
i, &::after, &::before
|
38
38
|
background: $primary
|
@@ -87,7 +87,7 @@
|
|
87
87
|
width: calc(50vw + min(1040px, calc(100vw - 390px)) / 2)
|
88
88
|
@include media-breakpoint-up(lg)
|
89
89
|
width: calc(50vw + min(1010px, calc((100vw - 100px) * (10/12) - 110px)) / 2)
|
90
|
-
.
|
90
|
+
.menu-burger-only-mobile &
|
91
91
|
background: transparent
|
92
92
|
margin-left: auto
|
93
93
|
padding-top: 0
|
@@ -113,7 +113,7 @@
|
|
113
113
|
text-decoration: underline 1px
|
114
114
|
text-underline-offset: 5px
|
115
115
|
@include media-breakpoint-up(lg)
|
116
|
-
.
|
116
|
+
.menu-burger-only-mobile &
|
117
117
|
li:not(:first-child)
|
118
118
|
margin-left: $grid-gutter * 2
|
119
119
|
|
data/_sass/main.sass
CHANGED
data/_sass/pages/index.sass
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.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Moulène
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.1.
|
160
|
+
rubygems_version: 3.1.4
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Noesya theme for Jekyll.
|