jekyll-theme-switch 0.7.0 → 0.7.2
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/head.html +2 -0
- data/_layouts/rss.html +4 -0
- data/_sass/jekyll-theme-switch/_base.scss +3 -1
- data/_sass/jekyll-theme-switch/_dark.scss +9 -7
- data/_sass/jekyll-theme-switch/_layout.scss +10 -10
- data/assets/css/jekyll-theme-switch.scss +3 -2
- metadata +19 -13
- data/assets/image/arnaud-jaegers-OkXIepDkNBE-unsplash.jpg +0 -0
- data/assets/image/fabian-betto-d3npqyXkaGI-unsplash.jpg +0 -0
- data/assets/image/jonatan-pie-g6tqHx0ME1o-unsplash.jpg +0 -0
- data/assets/image/marek-piwnicki-NPct-Mxw-64-unsplash.jpg +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b35342c62a7d4240519637e8b5825071e76d793574551fa7b55616e959f4c7a
|
4
|
+
data.tar.gz: 1b2a67b4dd3ec0151cf7855bda8261fa4937c399b74d7a6677f01aa17370cef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1777d4033834529a0c488915b0195b87186b70490f48708391392abbaac898c1136c3dc750b45843bef359702927bca1da0447660bae9c650551258ed44192d2
|
7
|
+
data.tar.gz: 300fa232b592344237d5a3c3d511c12e5fd04ba48d6c83a06866627da32a8eaafffd96a1bafdccfcae32e91e6d553218b68735590bf40bbc7b8ce7bd88b360ad
|
data/_includes/head.html
CHANGED
@@ -40,3 +40,5 @@
|
|
40
40
|
<meta property="twitter:description" content="{{ description }}"/>
|
41
41
|
{% if site.twitter_username %}<meta property="twitter:creator" content="@{{ site.twitter_username }}"/>{% endif %}
|
42
42
|
<meta property="twitter:site" content="{{ canonical_url }}"/>
|
43
|
+
|
44
|
+
{% if site.mastodon_profile %}<meta name="fediverse:creator" content="{{ site.mastodon_profile }}">{% endif %}
|
data/_layouts/rss.html
CHANGED
@@ -13,7 +13,11 @@
|
|
13
13
|
<description>
|
14
14
|
{% include rss/post.html %}
|
15
15
|
</description>
|
16
|
+
{% if post.modified_date %}
|
17
|
+
<pubDate>{{ post.modified_date | date_to_rfc822 }}</pubDate>
|
18
|
+
{% else %}
|
16
19
|
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
20
|
+
{% endif %}
|
17
21
|
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
18
22
|
{% if post.lead_image %}
|
19
23
|
<enclosure url="{{ post.lead_image | prepend: site.baseurl | prepend: site.url }}" length="{{ post.lead_image | filesize }}"/>
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use 'sass:color';
|
2
|
+
|
1
3
|
/**
|
2
4
|
* Reset some basic elements
|
3
5
|
*/
|
@@ -152,7 +154,7 @@ a {
|
|
152
154
|
color: $brand-color;
|
153
155
|
|
154
156
|
&:visited {
|
155
|
-
color: adjust
|
157
|
+
color: color.adjust($brand-color, $hue: +120deg, $space: hsl);
|
156
158
|
}
|
157
159
|
|
158
160
|
&:hover {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use 'sass:color';
|
2
|
+
|
1
3
|
@media (prefers-color-scheme: dark) {
|
2
4
|
body {
|
3
5
|
color: $text-color-dark;
|
@@ -29,12 +31,12 @@
|
|
29
31
|
.section-nav,
|
30
32
|
.post-nav,
|
31
33
|
.post-content tbody tr:nth-child(odd) {
|
32
|
-
background-color:
|
34
|
+
background-color: color.adjust($background-color-dark, $lightness: 5%, $space: hsl);
|
33
35
|
}
|
34
36
|
|
35
|
-
.
|
36
|
-
background:
|
37
|
-
box-shadow: 0 -12px 50px 50px
|
37
|
+
.post-list > li article a.read-more {
|
38
|
+
background: color.adjust($background-color-dark, $lightness: 5%, $space: hsl);
|
39
|
+
box-shadow: 0 -12px 50px 50px color.adjust($background-color-dark, $lightness: 5%, $space: hsl);
|
38
40
|
}
|
39
41
|
|
40
42
|
.post-content {
|
@@ -43,7 +45,7 @@
|
|
43
45
|
}
|
44
46
|
|
45
47
|
q {
|
46
|
-
background-color:
|
48
|
+
background-color: color.adjust($background-color-dark, $lightness: 10%, $space: hsl);
|
47
49
|
}
|
48
50
|
}
|
49
51
|
|
@@ -62,7 +64,7 @@
|
|
62
64
|
.highlight,
|
63
65
|
pre,
|
64
66
|
code {
|
65
|
-
background-color:
|
67
|
+
background-color: color.adjust($background-color-dark, $lightness: 10%, $space: hsl);
|
66
68
|
border-color: $grey-color-dark;
|
67
69
|
}
|
68
70
|
|
@@ -70,7 +72,7 @@
|
|
70
72
|
color: $brand-color-dark;
|
71
73
|
|
72
74
|
&:visited {
|
73
|
-
color: adjust
|
75
|
+
color: color.adjust($brand-color-dark, $hue: -120deg, $space: hsl);
|
74
76
|
}
|
75
77
|
|
76
78
|
&:hover {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use 'sass:color';
|
2
|
+
|
1
3
|
/**
|
2
4
|
* Site header
|
3
5
|
*/
|
@@ -85,7 +87,7 @@
|
|
85
87
|
.category-index,
|
86
88
|
.tag-index,
|
87
89
|
.home {
|
88
|
-
padding: $spacing-unit;
|
90
|
+
padding: $spacing-unit 0;
|
89
91
|
|
90
92
|
ul.post-list {
|
91
93
|
display: flex;
|
@@ -111,12 +113,6 @@
|
|
111
113
|
flex-grow: 1;
|
112
114
|
overflow: hidden;
|
113
115
|
}
|
114
|
-
|
115
|
-
a.read-more {
|
116
|
-
background: $background-color;
|
117
|
-
box-shadow: 0 -12px 50px 50px $background-color;
|
118
|
-
padding-top: 8px;
|
119
|
-
}
|
120
116
|
}
|
121
117
|
}
|
122
118
|
}
|
@@ -224,8 +220,12 @@
|
|
224
220
|
}
|
225
221
|
|
226
222
|
a.read-more {
|
227
|
-
|
223
|
+
background: $background-color;
|
224
|
+
box-shadow: 0 -12px 50px 50px $background-color;
|
228
225
|
font-weight: 500;
|
226
|
+
padding-top: 8px;
|
227
|
+
text-transform: uppercase;
|
228
|
+
z-index: 100;
|
229
229
|
}
|
230
230
|
}
|
231
231
|
}
|
@@ -315,7 +315,7 @@
|
|
315
315
|
|
316
316
|
q {
|
317
317
|
font-style: italic;
|
318
|
-
background-color:
|
318
|
+
background-color: color.adjust($background-color, $lightness: -10%, $space: hsl);
|
319
319
|
quotes: "«" "»" "‹" "›";
|
320
320
|
|
321
321
|
&:before {
|
@@ -340,7 +340,7 @@
|
|
340
340
|
}
|
341
341
|
|
342
342
|
tbody tr:nth-child(odd) {
|
343
|
-
background-color:
|
343
|
+
background-color: color.adjust($background-color, $lightness: -5%, $space: hsl);
|
344
344
|
}
|
345
345
|
}
|
346
346
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
---
|
4
4
|
@charset "utf-8";
|
5
5
|
|
6
|
+
@use 'sass:color';
|
6
7
|
|
7
8
|
|
8
9
|
// Our variables
|
@@ -22,8 +23,8 @@ $background-color-dark: #121212;
|
|
22
23
|
$brand-color-dark: #2D9B88;
|
23
24
|
|
24
25
|
$grey-color: #828282;
|
25
|
-
$grey-color-light:
|
26
|
-
$grey-color-dark:
|
26
|
+
$grey-color-light: color.adjust($grey-color, $lightness: 40%, $space: hsl);
|
27
|
+
$grey-color-dark: color.adjust($grey-color, $lightness: -25%, $space: hsl);
|
27
28
|
|
28
29
|
// Width of the content area
|
29
30
|
$content-width: 55em;
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-switch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Luijten
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: jekyll
|
@@ -30,14 +29,14 @@ dependencies:
|
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
32
|
+
version: '13.0'
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
39
|
+
version: '13.0'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: jekyll-paginate
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +121,20 @@ dependencies:
|
|
122
121
|
- - "~>"
|
123
122
|
- !ruby/object:Gem::Version
|
124
123
|
version: 1.4.0
|
125
|
-
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: sass-embedded
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.80'
|
131
|
+
type: :runtime
|
132
|
+
prerelease: false
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "<"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '1.80'
|
126
138
|
email:
|
127
139
|
- christian@luijten.org
|
128
140
|
executables: []
|
@@ -173,15 +185,10 @@ files:
|
|
173
185
|
- _sass/jekyll-theme-switch/_layout.scss
|
174
186
|
- _sass/jekyll-theme-switch/_syntax-highlighting.scss
|
175
187
|
- assets/css/jekyll-theme-switch.scss
|
176
|
-
- assets/image/arnaud-jaegers-OkXIepDkNBE-unsplash.jpg
|
177
|
-
- assets/image/fabian-betto-d3npqyXkaGI-unsplash.jpg
|
178
|
-
- assets/image/jonatan-pie-g6tqHx0ME1o-unsplash.jpg
|
179
|
-
- assets/image/marek-piwnicki-NPct-Mxw-64-unsplash.jpg
|
180
188
|
homepage: https://islandsvinur.gitlab.io/jekyll-theme-switch/
|
181
189
|
licenses:
|
182
190
|
- MIT
|
183
191
|
metadata: {}
|
184
|
-
post_install_message:
|
185
192
|
rdoc_options: []
|
186
193
|
require_paths:
|
187
194
|
- lib
|
@@ -196,8 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
203
|
- !ruby/object:Gem::Version
|
197
204
|
version: '0'
|
198
205
|
requirements: []
|
199
|
-
rubygems_version: 3.
|
200
|
-
signing_key:
|
206
|
+
rubygems_version: 3.6.2
|
201
207
|
specification_version: 4
|
202
208
|
summary: The theme for Logging the Switch.
|
203
209
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|