jekyll-theme-nixer 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0082f9a5a3a82d153c7119fec16b579e312408c138be0a06daaf4769b53968f6'
4
- data.tar.gz: 5a8dcf6ad279dd523f4162183d1b919f872beaf0884ce54f33cdc93dfde18860
3
+ metadata.gz: bf6c5ec8cc42a9ea746e7b030b51134c0f3b6668b368574b4126b8ae551d20bd
4
+ data.tar.gz: f8466bc0e13b355a04018574b269993343f600678f2f3c143cf84d5339fd4059
5
5
  SHA512:
6
- metadata.gz: a3e607c0374d4e512a5e1a80f53e760ef8892a79a3bb11e1137d83b5dc1459e59a0d32379e7ed4035ed1d7b45793cf56b4fa2761110fe5ad456c9d6422818c25
7
- data.tar.gz: 54272a0007c9f9e3dd7a87789c46c086bf62e59a30b66cfbcaee23054b92daf2bf5cfe83ee8fff26a72e17dbc2724d91ab99e2cd75ff27d450d8657901de96f2
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 {
@@ -15,23 +16,23 @@
15
16
  body { margin: 0; }
16
17
  img, table { margin: 0 auto; }
17
18
  table { border-collapse: collapse; }
18
- th, td { padding: 0.25em 0.5em; border-bottom: 1px solid lightgrey; }
19
+ th, td { padding: 0.25em; border: 1px solid lightgrey; }
19
20
  img { display: block; max-width: 100%; height: auto; }
20
21
  figure { margin: 0; text-align: center; font-size: small; }
21
22
  blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
22
- code { font-size: 1.125em; }
23
23
  sub, sup { line-height: 0; }
24
24
  hr { border: 0; border-top: 1px solid; }
25
+ h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
25
26
  h1 { font-size: 2rem; text-align: center; }
26
27
  body > main > ul { padding: 0; }
27
- 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; }
28
29
  @media (prefers-color-scheme: dark) {
29
30
  html { background-color: black; color: white; }
30
31
  a { color: lightskyblue; }
31
32
  a:visited { color: plum; }
32
33
  th, td { border-color: grey; }
33
34
  }
34
- .footnotes p { margin: 0; font-size: small; }
35
+ .footnotes { margin: 0; font-size: small; }
35
36
  </style>
36
37
  <meta name="theme-color" content="#white">
37
38
  <title>{%- if page.title -%}{{ page.title | smartify }}{%- else -%}{{ site.title | smartify }}{%- endif -%}</title>
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.5
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