jekyll-theme-switch 0.7.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72360b2ea402212bd3900e3402262b2f4f7f2d3aa010cffdc340d4901f6b5d48
4
- data.tar.gz: d180c69e48eb4fefbe378c1058d3a374434b91cc91d1f271ee49261a61b7adc8
3
+ metadata.gz: 0b35342c62a7d4240519637e8b5825071e76d793574551fa7b55616e959f4c7a
4
+ data.tar.gz: 1b2a67b4dd3ec0151cf7855bda8261fa4937c399b74d7a6677f01aa17370cef5
5
5
  SHA512:
6
- metadata.gz: 300fdb702ea2faf318d1d23eae8120e09c289999370f89f0f805d7c3da2306e1c04270c99eecbfd145a2344859886d8ce1afac233b9279a46bc052c8a2f2e6f7
7
- data.tar.gz: 5b5242a4ddffabbcd14f110a2fbe6fd783a89e2629b08cd9acec94941b3c40a3f8b49b894bcd84aa5c08b1f6c9b52cdd72fafa16fcf3d63d47ad9003276f5d6e
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-hue($brand-color, +120deg);
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: lighten($background-color-dark, 5%);
34
+ background-color: color.adjust($background-color-dark, $lightness: 5%, $space: hsl);
33
35
  }
34
36
 
35
- .category-index ul.post-list > li article a.read-more, .tag-index ul.post-list > li article a.read-more, .home ul.post-list > li article a.read-more {
36
- background: lighten($background-color-dark, 5%);
37
- box-shadow: 0 -12px 50px 50px lighten($background-color-dark, 5%);
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: lighten($background-color-dark, 10);
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: lighten($background-color-dark, 10%);
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-hue($brand-color-dark, -120deg);
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
- text-transform: uppercase;
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: darken($background-color, 10);
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: darken($background-color, 5%);
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: lighten($grey-color, 40%);
26
- $grey-color-dark: darken($grey-color, 25%);
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.1
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: 2024-02-21 00:00:00.000000000 Z
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: '12.0'
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: '12.0'
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
- description:
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: []
@@ -177,7 +189,6 @@ homepage: https://islandsvinur.gitlab.io/jekyll-theme-switch/
177
189
  licenses:
178
190
  - MIT
179
191
  metadata: {}
180
- post_install_message:
181
192
  rdoc_options: []
182
193
  require_paths:
183
194
  - lib
@@ -192,8 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
203
  - !ruby/object:Gem::Version
193
204
  version: '0'
194
205
  requirements: []
195
- rubygems_version: 3.3.26
196
- signing_key:
206
+ rubygems_version: 3.6.2
197
207
  specification_version: 4
198
208
  summary: The theme for Logging the Switch.
199
209
  test_files: []