jekyll-theme-nixer 1.0.6 → 1.0.7

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: bee1d0cefc57095913a0cee26b45b6e13c31e02d90477dc6ce59de26341c65db
4
- data.tar.gz: 6d52661935e39abd8bfe443eabb732aff3d675d593a3414636c47497185e729f
3
+ metadata.gz: bf6c5ec8cc42a9ea746e7b030b51134c0f3b6668b368574b4126b8ae551d20bd
4
+ data.tar.gz: f8466bc0e13b355a04018574b269993343f600678f2f3c143cf84d5339fd4059
5
5
  SHA512:
6
- metadata.gz: 6bb62f25f4043ed214c23153085c322dd123b40befa9a83e1f63e4a6549a5c7e0e19faba001f4c95530f01c324ec97dd9962b6e008ed5d64e651fea8bf21e530
7
- data.tar.gz: 0b1551971bd8d5773789467c9fce472d95dca26076efba2b47912818c79af0e46fbc7a2b732b78415ae13588d375f718ec2c5042b86f638e7f694a79eaedc778
6
+ metadata.gz: 1f7558946746fcbc189eef2e9ad7969040897f7e61793b81297d5cbbcb9b06da9698ad01710e7694193060aa620f0e1555187e00da8f4897f657244c29829dab
7
+ data.tar.gz: b96b85225ef601fc8ea961ffbbb6c3bf21db96f6613336844883bb6838e5ec183a72335fd51914f162e6349b7c837a69f776bf88109bd43a42399909c0f53e66
data/_config.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  ### Remove URL for Github Pages
2
2
  url: https://jekyll-theme-nixer.michaelnordmeyer.com
3
3
  icon: /icon.webp
4
+ icon_dark: /icon-dark.webp
4
5
  icon_type: image/webp
5
6
  title: Jekyll Theme Nixer
6
7
  description: "An even more barebones theme for Jekyll"
@@ -3,7 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="icon" type="{{ site.icon_type }}" href="{{ site.icon | relative_url }}">
6
+ <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: light)" href="{{ site.icon | relative_url }}">
7
+ <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: dark)" href="{{ site.icon_dark | relative_url }}">
7
8
  <style>
8
9
  :root { color-scheme: light dark; }
9
10
  html {
@@ -21,9 +22,10 @@
21
22
  blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
22
23
  sub, sup { line-height: 0; }
23
24
  hr { border: 0; border-top: 1px solid; }
25
+ h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
24
26
  h1 { font-size: 2rem; text-align: center; }
25
27
  body > main > ul { padding: 0; }
26
- body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25em; }
28
+ body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25; }
27
29
  @media (prefers-color-scheme: dark) {
28
30
  html { background-color: black; color: white; }
29
31
  a { color: lightskyblue; }
data/_layouts/error.html CHANGED
@@ -3,7 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="icon" type="{{ site.icon_type }}" href="{{ site.icon | relative_url }}">
6
+ <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: light)" href="{{ site.icon | relative_url }}">
7
+ <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: dark)" href="{{ site.icon_dark | relative_url }}">
7
8
  <style>
8
9
  :root { color-scheme: light dark; }
9
10
  html {
@@ -13,7 +14,7 @@
13
14
  font: 1rem / 1.5 sans-serif;
14
15
  }
15
16
  body { margin: 0; }
16
- h1 { margin-block-start: 0.83em; margin-block-end: 0.83em; text-align: center; }
17
+ h1 { margin-block-start: 0.83em; margin-block-end: 0.83em; text-align: center; line-height: 1.2; }
17
18
  @media (prefers-color-scheme: dark) {
18
19
  html { background-color: black; color: white; }
19
20
  a { color: lightskyblue; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nixer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-05 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll