jekyll-theme-nix 1.1.2 → 1.1.4

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: 84ca04bcd2a552ae5617a8c8db93d3efe43e4c30679366e0281f9fca15568afe
4
- data.tar.gz: ac72b36c0f0538fd41988c00193e7e3a17892fe05e906df77994cc937c7f8f03
3
+ metadata.gz: ae6d37e5c7a701312495685767862253413b77462e593bc0a5e4fffb1d79dfe6
4
+ data.tar.gz: 5054e9fd27866d0aab9cab13f365d6e07b00184205840f90cc5287221844fadd
5
5
  SHA512:
6
- metadata.gz: 6aa074397ff46ab67e139fbaf8ded06955ab28672a01f671e173e2bd625722024cc78392d45b5a808592618cb63ba10635c79435c2ff576c825b61015b32532b
7
- data.tar.gz: 7fec7f165cfe7cbf47c424354fde3af50327622ef8ceee20d937981fe2244b5899ce088be4441e8951461566490f78ae9d1d2cf90b02bc90d1f7a51ed79e5b9c
6
+ metadata.gz: c38998dde2dbb351eb0ef74fb307140e2478b1b48ea2686a6c740b8442cd199149bb1675a29871b6b43bf8c06ba6f119a42536a48922b5952619dff7e2a5b678
7
+ data.tar.gz: 7150b6cb0b3878a858a5766c18563f3b24ac25fca5f1827529b39cc61b21dc2d61b402cd6deade97b4882669bc7c2056014ea8c31fea9de27e9201136eee36db
data/README.md CHANGED
@@ -10,9 +10,9 @@ It also changes as little as possible from the default browser settings to impro
10
10
 
11
11
  ![Screenshot](/screenshot.png)
12
12
 
13
- If this theme feels to bloated to you, you can try [“Nixer”](https://github.com/michaelnordmeyer/jekyll-theme-nixer), the ultra-minimalist version of “Nix”.
13
+ If this theme feels to bloated to you, you can try [“Nixer”](https://github.com/michaelnordmeyer/jekyll-theme-nixer), the ultra-minimalist version of “Nix”, or [“Nixest”](https://github.com/michaelnordmeyer/jekyll-theme-nixest), the even less functional version of “Nixer”.
14
14
 
15
- [I wrote up what inspired me to create both themes](https://michaelnordmeyer.com/i-created-two-ultra-minimalistic-jekyll-themes).
15
+ [I wrote up what inspired me to create the three themes](https://michaelnordmeyer.com/i-created-three-ultra-minimalistic-jekyll-themes).
16
16
 
17
17
  ## Limited Features
18
18
 
@@ -30,7 +30,7 @@ If this theme feels to bloated to you, you can try [“Nixer”](https://github.
30
30
 
31
31
  ### Default Colors
32
32
 
33
- The default colors are the colors of the respective browsers, both in light mode and in dark mode.
33
+ The default colors are the colors of the respective browsers, both in light and in dark mode.
34
34
 
35
35
  ### Favicon
36
36
 
data/_config.yml CHANGED
@@ -28,7 +28,7 @@ sass:
28
28
  strict_front_matter: true # default: false
29
29
  # remote_theme: michaelnordmeyer/jekyll-theme-nix
30
30
  # theme: jekyll-theme-nix
31
- timezone: Europe/Berlin # default: local timezone
31
+ timezone: UTC # default: local timezone
32
32
 
33
33
  ## Custom settings used by plugins and the theme
34
34
  author:
@@ -49,6 +49,10 @@ theme_settings:
49
49
  # redirect_page_to: "to" # default: "to"
50
50
  # redirect_page_text: "Click here if you are not being redirected." # default: "Click here if you are not being redirected.""
51
51
 
52
+ ## Plugin jekyll-redirect-from settings
53
+ redirect_from:
54
+ json: false
55
+
52
56
  ## https://jekyllrb.com/docs/configuration/front-matter-defaults/
53
57
  # Only works for all posts, but can work for a subset of pages
54
58
  defaults:
data/_includes/head.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
3
  <head>
4
4
  <meta charset="utf-8">
data/_includes/style.html CHANGED
@@ -5,11 +5,12 @@
5
5
  --font-family: sans-serif;
6
6
  --spacing: 1em;
7
7
  --line-height: 1.5;
8
+ --reduced-line-height: 1.2;
8
9
  /* Calculate integer pixel values depending on the font size (1rem = 16px) */
9
- --border-size: calc(var(--font-size) * 1/var(--default-font-px));
10
- --x-script: calc(var(--font-size) * 11/var(--default-font-px));
11
- --small-font-size: calc(var(--font-size) * 14/var(--default-font-px));
12
- --big-font-size: calc(var(--font-size) * 32/var(--default-font-px));
10
+ --border-size: calc(var(--font-size) * 1/var(--default-font-px));
11
+ --x-script: calc(var(--font-size) * 11/var(--default-font-px));
12
+ --small-font-size: calc(var(--font-size) * 14/var(--default-font-px));
13
+ --big-font-size: calc(var(--font-size) * 32/var(--default-font-px));
13
14
  }
14
15
  html {
15
16
  max-width: 720px;
@@ -28,21 +29,21 @@
28
29
  img { display: block; max-width: 100%; height: auto; }
29
30
  figure { margin-left: 0; margin-right: 0; max-width: 100%; text-align: center; font-size: var(--small-font-size); line-height: 1; }
30
31
  blockquote { margin: var(--spacing) calc(var(--spacing) * 3/2) var(--spacing) calc(var(--spacing) * 1/2); padding-left: var(--spacing); border-left: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent); }
32
+ pre { overflow-x: auto; tab-size: 2; }
31
33
  sub, sup { font-size: var(--x-script); line-height: 0; }
32
34
  hr { margin: calc(var(--spacing) * 2) 0; border: 0; border-top: var(--border-size) solid; }
33
- h1, h2, h3, h4, h5, h6 { line-height: 1.2; text-wrap: balance; }
34
- h1 { font-size: var(--big-font-size); }
35
- body > header > nav > h1 { margin-bottom: var(--spacing); text-align: center; line-height: 1.2; }
35
+ h1, h2, h3, h4, h5, h6 { line-height: var(--reduced-line-height); text-wrap: balance; }
36
+ h1 { margin-block: 0.67em; font-size: var(--big-font-size); }
37
+ body > header > nav > h1 { margin-bottom: var(--spacing); text-align: center; line-height: var(--reduced-line-height); }
36
38
  body > header a { text-decoration: none; color: currentcolor; }
37
- body > header > nav > a { display: block; margin-block-start: calc(var(--spacing) * 2/3); margin-block-end: var(--spacing); text-align: center; font-size: var(--big-font-size); font-weight: bold; line-height: 1.2; }
39
+ body > header > nav > a { display: block; margin-block-start: calc(var(--spacing) * 2/3); margin-block-end: var(--spacing); text-align: center; font-size: var(--big-font-size); font-weight: bold; line-height: var(--reduced-line-height); }
38
40
  body > header a:visited { color: currentcolor; }
39
41
  body > main > section > ul { padding: 0; }
40
42
  body > main > section > ul > li { margin: calc(var(--spacing) * 1/2) 0; list-style-type: none; line-height: 1.25; }
41
43
  body > main > section > ul > li time { font-size: var(--small-font-size); }
42
44
  article > header { margin-bottom: calc(var(--spacing) * 2); }
43
45
  article > header > h1 { margin-bottom: 0; }
44
- article h1 { font-size: var(--big-font-size); }
45
46
  header > time { display: block; color: color-mix(in srgb, currentcolor 50%, transparent); }
46
47
  hr:has(+div[role="doc-endnotes"]) { margin-bottom: var(--spacing); }
47
48
  div[role="doc-endnotes"] { margin-top: 0; font-size: var(--small-font-size); line-height: var(--line-height); }
48
- </style>
49
+ </style>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: jekyll
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 3.9.3
18
+ version: 3.10.0
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '5.0'
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 3.9.3
28
+ version: 3.10.0
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: '5.0'
@@ -151,9 +151,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: '0'
154
+ version: 3.4.0
155
155
  requirements: []
156
- rubygems_version: 3.6.3
156
+ rubygems_version: 3.7.1
157
157
  specification_version: 4
158
158
  summary: A very minimalist, single-author Jekyll theme with almost default browser
159
159
  styling, and a dark mode.