jekyll-theme-nix 1.1.6 → 1.1.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: 8da4211ac218ed022fed462bff812170e86f1028df37cc53781c31edc0d107b4
4
- data.tar.gz: c92c191f2d19fa000197b6117b8e1104c15331ea48f6480226ae2c58bafb86b6
3
+ metadata.gz: 1ea65542aa76d10ac26ec65fb9201e3617ab42a76e9850c65a17f13d767e478a
4
+ data.tar.gz: 54dcf8615aa732cad95253a4710809f917311d57f003c0253962473751a04d76
5
5
  SHA512:
6
- metadata.gz: b75d1eb1c9fd3fc356fedc65e9bcaa8d1539e2ea33348b052bc589c8342b1b3b64ee41d0dbb0e25642b4dedf22ff2d1634cfb9108b6d6033fcceca4108b015fe
7
- data.tar.gz: 37bc5c8f60fe104f93ed8884fb0261d248796dc1ac57f83fb1f65a94c42405a1623ecda6942ff5aa5e081bfb2457f752652b18c2769443dc6127744e0db1ba72
6
+ metadata.gz: 39ab62dcd1e7535c2739b3383d8c594e827c3b806ca434294b22c48b6245e2e4e8f94329f6fcd569d2baebb97b05a396ea64b7b178393b45d8ed8cb48c20bcc0
7
+ data.tar.gz: 0f4e7cabc1d96cd3329609c38ccbe265736d33893def5f5cddbaf4b808fed876c4001a8d449242d068001d010d11c526d34435fe0b565a978114861a1586886a
data/_includes/style.html CHANGED
@@ -1,138 +1,135 @@
1
- <style>
2
- :root {
3
- color-scheme: light dark;
4
- --font-size: 1rem;
5
- /* Calculate integer pixel values depending on the font size (default: 1rem = 16px) */
6
- --border-size: calc(var(--font-size) * 1/16);
7
- --font-size-script: calc(var(--font-size) * 11/16);
8
- --font-size-small: calc(var(--font-size) * 14/16);
9
- --font-size-big: calc(var(--font-size) * 32/16);
10
- --font-family: sans-serif;
11
- --spacing: 1em;
12
- --line-height: 1.5;
13
- --line-height-reduced: 1.2;
14
- }
15
- html {
16
- max-width: 720px;
17
- margin: 0 auto;
18
- padding: calc(var(--spacing) * 1 / 2);
19
- font: var(--font-size) / var(--line-height) var(--font-family);
20
- /* font-size-adjust: from-font; */
21
- -moz-text-size-adjust: none;
22
- -webkit-text-size-adjust: none;
23
- text-size-adjust: none;
24
- }
25
- body {
26
- margin: 0;
27
- }
28
- img,
29
- table {
30
- margin: 0 auto;
31
- }
32
- table {
33
- border-collapse: collapse;
34
- }
35
- th,
36
- td {
37
- padding: calc(var(--spacing) * 1 / 4);
38
- border: var(--border-size) solid
39
- color-mix(in srgb, currentcolor 50%, transparent);
40
- }
41
- img {
42
- display: block;
43
- max-width: 100%;
44
- height: auto;
45
- }
46
- figure {
47
- margin-left: 0;
48
- margin-right: 0;
49
- max-width: 100%;
50
- text-align: center;
51
- font-size: var(--font-size-small);
52
- line-height: 1;
53
- }
54
- blockquote {
55
- margin: var(--spacing) calc(var(--spacing) * 3 / 2) var(--spacing)
56
- calc(var(--spacing) * 1 / 2);
57
- padding-left: var(--spacing);
58
- border-left: var(--border-size) solid
59
- color-mix(in srgb, currentcolor 50%, transparent);
60
- }
61
- pre {
62
- overflow-x: auto;
63
- tab-size: 2;
64
- }
65
- sub,
66
- sup {
67
- font-size: var(--font-size-script);
68
- line-height: 0;
69
- }
70
- hr {
71
- margin: calc(var(--spacing) * 2) 0;
72
- border: 0;
73
- border-top: var(--border-size) solid;
74
- }
75
- h1,
76
- h2,
77
- h3,
78
- h4,
79
- h5,
80
- h6 {
81
- line-height: var(--line-height-reduced);
82
- text-wrap: balance;
83
- }
84
- h1 {
85
- margin-block: 0.67em;
86
- font-size: var(--font-size-big);
87
- }
88
- body > header > nav > h1 {
89
- margin-bottom: var(--spacing);
90
- text-align: center;
91
- line-height: var(--line-height-reduced);
92
- }
93
- body > header a {
94
- text-decoration: none;
95
- color: currentcolor;
96
- }
97
- body > header > nav > a {
98
- display: block;
99
- margin-block-start: calc(var(--spacing) * 2 / 3);
100
- margin-block-end: var(--spacing);
101
- text-align: center;
102
- font-size: var(--font-size-big);
103
- font-weight: bold;
104
- line-height: var(--line-height-reduced);
105
- }
106
- body > header a:visited {
107
- color: currentcolor;
108
- }
109
- body > main > section > ul {
110
- padding: 0;
111
- }
112
- body > main > section > ul > li {
113
- margin: calc(var(--spacing) * 1 / 2) 0;
114
- list-style-type: none;
115
- line-height: 1.25;
116
- }
117
- body > main > section > ul > li time {
118
- font-size: var(--font-size-small);
119
- }
120
- article > header {
121
- margin-bottom: calc(var(--spacing) * 2);
122
- }
123
- article > header > h1 {
124
- margin-bottom: 0;
125
- }
126
- header > time {
127
- display: block;
128
- color: color-mix(in srgb, currentcolor 50%, transparent);
129
- }
130
- hr:has(+ div[role="doc-endnotes"]) {
131
- margin-bottom: var(--spacing);
132
- }
133
- div[role="doc-endnotes"] {
134
- margin-top: 0;
135
- font-size: var(--font-size-small);
136
- line-height: var(--line-height);
137
- }
138
- </style>
1
+ <style>
2
+ :root {
3
+ color-scheme: light dark;
4
+ --font-size: 1rem;
5
+ /* Calculate integer pixel values depending on the font size (default: 1rem = 16px) */
6
+ --border-size: calc(var(--font-size) * 1/16);
7
+ --font-size-script: calc(var(--font-size) * 11/16);
8
+ --font-size-small: calc(var(--font-size) * 14/16);
9
+ --font-size-big: calc(var(--font-size) * 32/16);
10
+ --font-family: sans-serif;
11
+ --spacing: 1em;
12
+ --line-height: 1.5;
13
+ --line-height-reduced: 1.2;
14
+ }
15
+ html {
16
+ max-width: 720px;
17
+ margin: 0 auto;
18
+ padding: calc(var(--spacing) * 1 / 2);
19
+ font: var(--font-size) / var(--line-height) var(--font-family);
20
+ /* font-size-adjust: from-font; */
21
+ -moz-text-size-adjust: none;
22
+ -webkit-text-size-adjust: none;
23
+ text-size-adjust: none;
24
+ }
25
+ body {
26
+ margin: 0;
27
+ }
28
+ img,
29
+ table {
30
+ margin: 0 auto;
31
+ }
32
+ table {
33
+ border-collapse: collapse;
34
+ }
35
+ th,
36
+ td {
37
+ padding: calc(var(--spacing) * 1 / 4);
38
+ border: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent);
39
+ }
40
+ img {
41
+ display: block;
42
+ max-width: 100%;
43
+ height: auto;
44
+ }
45
+ figure {
46
+ margin-left: 0;
47
+ margin-right: 0;
48
+ max-width: 100%;
49
+ text-align: center;
50
+ font-size: var(--font-size-small);
51
+ line-height: 1;
52
+ }
53
+ blockquote {
54
+ margin: var(--spacing) calc(var(--spacing) * 3 / 2) var(--spacing) calc(var(--spacing) * 1 / 2);
55
+ padding-left: var(--spacing);
56
+ border-left: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent);
57
+ }
58
+ pre {
59
+ overflow-x: auto;
60
+ tab-size: 2;
61
+ }
62
+ sub,
63
+ sup {
64
+ font-size: var(--font-size-script);
65
+ line-height: 0;
66
+ }
67
+ hr {
68
+ margin: calc(var(--spacing) * 2) 0;
69
+ border: 0;
70
+ border-top: var(--border-size) solid;
71
+ }
72
+ h1,
73
+ h2,
74
+ h3,
75
+ h4,
76
+ h5,
77
+ h6 {
78
+ line-height: var(--line-height-reduced);
79
+ text-wrap: balance;
80
+ }
81
+ h1 {
82
+ margin-block: 0.67em;
83
+ font-size: var(--font-size-big);
84
+ }
85
+ body > header > nav > h1 {
86
+ margin-bottom: var(--spacing);
87
+ text-align: center;
88
+ line-height: var(--line-height-reduced);
89
+ }
90
+ body > header a {
91
+ text-decoration: none;
92
+ color: currentcolor;
93
+ }
94
+ body > header > nav > a {
95
+ display: block;
96
+ margin-block-start: calc(var(--spacing) * 2 / 3);
97
+ margin-block-end: var(--spacing);
98
+ text-align: center;
99
+ font-size: var(--font-size-big);
100
+ font-weight: bold;
101
+ line-height: var(--line-height-reduced);
102
+ }
103
+ body > header a:visited {
104
+ color: currentcolor;
105
+ }
106
+ body > main > section > ul {
107
+ padding: 0;
108
+ }
109
+ body > main > section > ul > li {
110
+ margin: calc(var(--spacing) * 1 / 2) 0;
111
+ list-style-type: none;
112
+ line-height: 1.25;
113
+ }
114
+ body > main > section > ul > li time {
115
+ font-size: var(--font-size-small);
116
+ }
117
+ article > header {
118
+ margin-bottom: calc(var(--spacing) * 2);
119
+ }
120
+ article > header > h1 {
121
+ margin-bottom: 0;
122
+ }
123
+ header > time {
124
+ display: block;
125
+ color: color-mix(in srgb, currentcolor 50%, transparent);
126
+ }
127
+ hr:has(+ div[role="doc-endnotes"]) {
128
+ margin-bottom: var(--spacing);
129
+ }
130
+ div[role="doc-endnotes"] {
131
+ margin-top: 0;
132
+ font-size: var(--font-size-small);
133
+ line-height: var(--line-height);
134
+ }
135
+ </style>
@@ -2,8 +2,8 @@
2
2
  <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
3
3
  <head>
4
4
  {% include default-head.html %}
5
- {% feed_meta %}
6
- {% include seo.html %}
5
+ {% feed_meta -%}
6
+ {% include seo.html %}
7
7
  {% include_cached style.html %}
8
8
  </head>
9
9
  <body>
data/_layouts/post.html CHANGED
@@ -10,7 +10,7 @@ layout: default
10
10
  <time itemprop="datePublished" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time>
11
11
  </header>
12
12
  <div itemprop="articleBody">
13
- {{ content }}
13
+ {{ content | smartify }}
14
14
  </div>
15
15
  </article>
16
16
  </main>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer