jekyll-theme-nixer 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: 7084cfbab5d13dc00681b9a45b7142bd8e6995924ecc573f81f32aa064cf2ea4
4
- data.tar.gz: '0849dec04f35a0fc246778b161b1587b66882a976efee288708c3a45557817d8'
3
+ metadata.gz: 8d844c44586cd13fada1649d5ab24e7d6b15e5dcffdf8e63e36f4bdd9dab3dfd
4
+ data.tar.gz: 27ef986712ec2c0bd500908c0a5579efa57d71494ff12e2b2ebaff591063a1aa
5
5
  SHA512:
6
- metadata.gz: 91f25338ee86d575ab94ff5fd05e5884058a3018aef2d231607911cc6450229ba5b02ab036e1d6a32b40b8b06c5ea5759e2dbcf4532eec48ccb97ce237b1bd9d
7
- data.tar.gz: bc4982af7f3ee68dd07746e876e17fe78052b6b7c126e37bb7f849d495c056c731617c7369769041308d4379b065af86e2b4f6dc86944182516ce6c3144895c1
6
+ metadata.gz: fdb602702adb15ac4cd13f24d675daedbb22fe25202697a308e50ebef039efbe360ebbb71bc9c3aac4bb0efc70c2669bf86757d2b80142925ed01baaac61a0f8
7
+ data.tar.gz: '0619a4b4ac30612afdbb38bb9c5f1a04081fe5bb2806a2e5577f9bd603ba507bd7d6c30dddfc04d4abed4f95bd79d097fd980cb840eaa680f1824087e0186f83'
data/README.md CHANGED
@@ -14,9 +14,11 @@ It is meant for people, who are aware that nobody is using RSS feeds anymore. Ei
14
14
 
15
15
  And people coming from hacker news or related sites know how to change the URL in the browser's address bar.
16
16
 
17
+ If this theme feels to bloated to you, you can try [“Nixest”](https://github.com/michaelnordmeyer/jekyll-theme-nixest), the even less functional version of “Nixer”.
18
+
17
19
  If you think this goes too far, use the above mentioned [Jekyll theme “Nix”](https://github.com/michaelnordmeyer/jekyll-theme-nix) instead.
18
20
 
19
- [I wrote up what inspired me to create both themes](https://michaelnordmeyer.com/i-created-two-ultra-minimalistic-jekyll-themes).
21
+ [I wrote up what inspired me to create the three themes](https://michaelnordmeyer.com/i-created-three-ultra-minimalistic-jekyll-themes).
20
22
 
21
23
  ## Limited Features
22
24
 
@@ -40,7 +42,7 @@ Rest assured, this is the only bloat, as we already removed the date with the re
40
42
 
41
43
  ### Default Colors
42
44
 
43
- The default colors are the colors of the respective browsers, both in light mode and in dark mode.
45
+ The default colors are the colors of the respective browsers, both in light and in dark mode.
44
46
 
45
47
  ### Favicon
46
48
 
data/_config.yml CHANGED
@@ -28,7 +28,7 @@ sass:
28
28
  strict_front_matter: true # default: false
29
29
  # remote_theme: michaelnordmeyer/jekyll-theme-nixer
30
30
  # theme: jekyll-theme-nixer
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
  lang: en-US # default: en (is not by Jekyll, but used by many other plugins)
@@ -42,6 +42,10 @@ theme_settings:
42
42
  # redirect_page_to: "to" # default: "to"
43
43
  # redirect_page_text: "Click here if you are not being redirected." # default: "Click here if you are not being redirected.""
44
44
 
45
+ ## Plugin jekyll-redirect-from settings
46
+ redirect_from:
47
+ json: false
48
+
45
49
  ## https://jekyllrb.com/docs/configuration/front-matter-defaults/
46
50
  # Only works for all posts, but can work for a subset of pages
47
51
  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,12 +29,13 @@
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); text-align: center; }
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); text-align: center; }
35
37
  body > main > ul { padding: 0; }
36
38
  body > main > ul > li { margin: calc(var(--spacing) * 1/2) 0; list-style-type: none; line-height: 1.25; }
37
39
  hr:has(+div[role="doc-endnotes"]) { margin-bottom: var(--spacing); }
38
40
  div[role="doc-endnotes"] { margin-top: 0; font-size: var(--small-font-size); line-height: var(--line-height); }
39
- </style>
41
+ </style>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nixer
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'
@@ -135,9 +135,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 3.4.0
139
139
  requirements: []
140
- rubygems_version: 3.6.3
140
+ rubygems_version: 3.7.1
141
141
  specification_version: 4
142
142
  summary: A hard-core minimalist, single-author Jekyll theme with almost default browser
143
143
  styling, and a dark mode. Just a post list and posts, no menu, header, footer, or