jekyll-theme-nyx 0.2.0 → 0.2.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/_config.yml +14 -3
- data/_layouts/default.html +0 -1
- data/_layouts/post.md +16 -3
- data/_posts/2026-01-02-markdown-showcase.md +0 -1
- data/_sass/nyx/_code.scss +11 -9
- data/_sass/nyx/_layout.scss +1 -1
- data/{assets/css/rouge.css → _sass/nyx/_rouge.scss} +62 -66
- data/assets/css/nyx.scss +2 -1
- data/jekyll-theme-nyx.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84549c6a1c8208e2801009d9ea2359be3f6c6ed090d4f0c9a0c2ad98ef2bbb58
|
|
4
|
+
data.tar.gz: f594f9ff61f931087c16aeac0ccd8d6f11693053a0f811505c456812a5303d4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d4279705b1c8c1f2c5b20ff676f0c1e6411ab379edeb0a48343dbe7f394c0e1cc1983b379e488956ec9245e059947bd6a4d4b7861d9e01c914b4dac3a093de7
|
|
7
|
+
data.tar.gz: 112c924fec3724d2f04274530a5163e6a7abe9474a359c2a67e4f1872bd2ec649211abf5d43a56ad58c3aefb8dd8cfd586c29e36c90a5b883c37d4b7565a7a5a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/_config.yml
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
title:
|
|
1
|
+
title: Nyx Demo
|
|
2
2
|
theme: jekyll-theme-nyx
|
|
3
3
|
|
|
4
4
|
markdown: kramdown
|
|
5
5
|
|
|
6
|
+
|
|
6
7
|
kramdown:
|
|
7
8
|
syntax_highlighter: rouge
|
|
8
9
|
syntax_highlighter_opts:
|
|
9
10
|
css_class: highlight
|
|
10
|
-
|
|
11
|
-
line_numbers: true
|
|
11
|
+
block:
|
|
12
|
+
line_numbers: true
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exclude:
|
|
16
|
+
- "*.gem"
|
|
17
|
+
- "*.gemspec"
|
|
18
|
+
- README.md
|
|
19
|
+
- LICENSE
|
|
20
|
+
- Rakefile
|
|
21
|
+
- CHANGELOG.md
|
|
22
|
+
- CODE_OF_CONDUCT.md
|
data/_layouts/default.html
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<link rel="stylesheet" href="{{ "/assets/css/rouge.css" | relative_url }}">
|
|
7
6
|
<link rel="stylesheet" href="{{ "/assets/css/nyx.css" | relative_url }}">
|
|
8
7
|
<title>{{ site.title }}</title>
|
|
9
8
|
</head>
|
data/_layouts/post.md
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
4
|
+
<header>
|
|
5
|
+
<h1>{{ page.title }}</h1>
|
|
6
|
+
<p>{{ page.date | date: "%B %d, %Y" }} – Written by {{ page.author }}</p>
|
|
7
|
+
</header>
|
|
7
8
|
<main>
|
|
8
9
|
{{ content }}
|
|
9
10
|
</main>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
document.addEventListener("DOMContentLoaded", () => {
|
|
14
|
+
document.querySelectorAll('div.highlighter-rouge').forEach(wrapper => {
|
|
15
|
+
const parent = wrapper.parentNode;
|
|
16
|
+
const inner = wrapper.querySelector('.highlight');
|
|
17
|
+
if (inner && parent) {
|
|
18
|
+
parent.replaceChild(inner, wrapper);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
</script>
|
data/_sass/nyx/_code.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* Wrapper for code blocks */
|
|
1
2
|
.highlight {
|
|
2
3
|
background: #0f111a;
|
|
3
4
|
border-radius: 0.5rem;
|
|
@@ -8,23 +9,19 @@
|
|
|
8
9
|
font-size: 0.9rem;
|
|
9
10
|
line-height: 1.4;
|
|
10
11
|
color: #f8f8f2;
|
|
12
|
+
margin: 0;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
width: 100%;
|
|
15
|
-
table-layout: fixed;
|
|
16
|
-
border-collapse: collapse;
|
|
17
|
-
}
|
|
18
|
-
|
|
15
|
+
/* Gutter (line numbers) */
|
|
19
16
|
.rouge-gutter {
|
|
20
17
|
user-select: none;
|
|
21
18
|
text-align: right;
|
|
22
|
-
padding: 0.75rem 0.75rem 0.75rem 1rem;
|
|
23
19
|
background: rgba(255, 255, 255, 0.04);
|
|
24
20
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
21
|
+
font-size: 0.9rem;
|
|
22
|
+
line-height: 1.4;
|
|
25
23
|
vertical-align: top;
|
|
26
24
|
white-space: nowrap;
|
|
27
|
-
font-size: 0.8rem;
|
|
28
25
|
color: #6b7089;
|
|
29
26
|
}
|
|
30
27
|
|
|
@@ -32,6 +29,7 @@
|
|
|
32
29
|
margin: 0;
|
|
33
30
|
}
|
|
34
31
|
|
|
32
|
+
/* Code area */
|
|
35
33
|
.rouge-code {
|
|
36
34
|
overflow-x: auto;
|
|
37
35
|
padding: 0.75rem 1rem;
|
|
@@ -42,4 +40,8 @@
|
|
|
42
40
|
font-family: inherit;
|
|
43
41
|
line-height: inherit;
|
|
44
42
|
white-space: pre;
|
|
45
|
-
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.rouge-table td {
|
|
46
|
+
padding: 0;
|
|
47
|
+
}
|
data/_sass/nyx/_layout.scss
CHANGED
|
@@ -1,217 +1,213 @@
|
|
|
1
1
|
.highlight table td { padding: 5px; }
|
|
2
2
|
.highlight table pre { margin: 0; }
|
|
3
|
-
|
|
3
|
+
.c, .ch, .cd, .cpf {
|
|
4
4
|
color: #75715e;
|
|
5
5
|
font-style: italic;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
.cm {
|
|
8
8
|
color: #75715e;
|
|
9
9
|
font-style: italic;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
.c1 {
|
|
12
12
|
color: #75715e;
|
|
13
13
|
font-style: italic;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
.cp {
|
|
16
16
|
color: #75715e;
|
|
17
17
|
font-weight: bold;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
.cs {
|
|
20
20
|
color: #75715e;
|
|
21
21
|
font-weight: bold;
|
|
22
22
|
font-style: italic;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
.err {
|
|
25
25
|
color: #960050;
|
|
26
26
|
background-color: #1e0010;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
.gi {
|
|
29
29
|
color: #ffffff;
|
|
30
30
|
background-color: #324932;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
.gd {
|
|
33
33
|
color: #ffffff;
|
|
34
34
|
background-color: #493131;
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
.ge {
|
|
37
37
|
font-style: italic;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
.ges {
|
|
40
40
|
font-weight: bold;
|
|
41
41
|
font-style: italic;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
.gr {
|
|
44
44
|
color: #aa0000;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
.gt {
|
|
47
47
|
color: #aa0000;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
.gh {
|
|
50
50
|
color: #999999;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
.go {
|
|
53
53
|
color: #888888;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
.gp {
|
|
56
56
|
color: #555555;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
.gs {
|
|
59
59
|
font-weight: bold;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
.gu {
|
|
62
62
|
color: #aaaaaa;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
.k, .kv {
|
|
65
65
|
color: #66d9ef;
|
|
66
66
|
font-weight: bold;
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
.kc {
|
|
69
69
|
color: #66d9ef;
|
|
70
70
|
font-weight: bold;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
.kd {
|
|
73
73
|
color: #66d9ef;
|
|
74
74
|
font-weight: bold;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
.kp {
|
|
77
77
|
color: #66d9ef;
|
|
78
78
|
font-weight: bold;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
.kr {
|
|
81
81
|
color: #66d9ef;
|
|
82
82
|
font-weight: bold;
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
.kt {
|
|
85
85
|
color: #66d9ef;
|
|
86
86
|
font-weight: bold;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
.kn {
|
|
89
89
|
color: #f92672;
|
|
90
90
|
font-weight: bold;
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
.ow {
|
|
93
93
|
color: #f92672;
|
|
94
94
|
font-weight: bold;
|
|
95
95
|
}
|
|
96
|
-
|
|
96
|
+
.o {
|
|
97
97
|
color: #f92672;
|
|
98
98
|
font-weight: bold;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
.mf {
|
|
101
101
|
color: #ae81ff;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
.mh {
|
|
104
104
|
color: #ae81ff;
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
.il {
|
|
107
107
|
color: #ae81ff;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
.mi {
|
|
110
110
|
color: #ae81ff;
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
.mo {
|
|
113
113
|
color: #ae81ff;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
.m, .mb, .mx {
|
|
116
116
|
color: #ae81ff;
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
.se {
|
|
119
119
|
color: #ae81ff;
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
.sa {
|
|
122
122
|
color: #66d9ef;
|
|
123
123
|
font-weight: bold;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
.sb {
|
|
126
126
|
color: #e6db74;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
.sc {
|
|
129
129
|
color: #e6db74;
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
.sd {
|
|
132
132
|
color: #e6db74;
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
.s2 {
|
|
135
135
|
color: #e6db74;
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
.sh {
|
|
138
138
|
color: #e6db74;
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
.si {
|
|
141
141
|
color: #e6db74;
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
.sx {
|
|
144
144
|
color: #e6db74;
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
.sr {
|
|
147
147
|
color: #e6db74;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
.s1 {
|
|
150
150
|
color: #e6db74;
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
.ss {
|
|
153
153
|
color: #e6db74;
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
.s, .dl {
|
|
156
156
|
color: #e6db74;
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
.na {
|
|
159
159
|
color: #a6e22e;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
.nc {
|
|
162
162
|
color: #a6e22e;
|
|
163
163
|
font-weight: bold;
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
.nd {
|
|
166
166
|
color: #a6e22e;
|
|
167
167
|
font-weight: bold;
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
.ne {
|
|
170
170
|
color: #a6e22e;
|
|
171
171
|
font-weight: bold;
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
.nf, .fm {
|
|
174
174
|
color: #a6e22e;
|
|
175
175
|
font-weight: bold;
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
.no {
|
|
178
178
|
color: #66d9ef;
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
.bp {
|
|
181
181
|
color: #f8f8f2;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
.nb {
|
|
184
184
|
color: #f8f8f2;
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
.ni {
|
|
187
187
|
color: #f8f8f2;
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
.nn {
|
|
190
190
|
color: #f8f8f2;
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
.vc {
|
|
193
193
|
color: #f8f8f2;
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
.vg {
|
|
196
196
|
color: #f8f8f2;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
.vi {
|
|
199
199
|
color: #f8f8f2;
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
.nv, .vm {
|
|
202
202
|
color: #f8f8f2;
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
.w {
|
|
205
205
|
color: #f8f8f2;
|
|
206
206
|
}
|
|
207
|
-
|
|
207
|
+
.nl {
|
|
208
208
|
color: #f8f8f2;
|
|
209
209
|
font-weight: bold;
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
.nt {
|
|
212
212
|
color: #f92672;
|
|
213
213
|
}
|
|
214
|
-
.highlight {
|
|
215
|
-
color: #f8f8f2;
|
|
216
|
-
background-color: #49483e;
|
|
217
|
-
}
|
data/assets/css/nyx.scss
CHANGED
data/jekyll-theme-nyx.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-nyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Slavetomints
|
|
@@ -46,10 +46,10 @@ files:
|
|
|
46
46
|
- _sass/nyx/_base.scss
|
|
47
47
|
- _sass/nyx/_code.scss
|
|
48
48
|
- _sass/nyx/_layout.scss
|
|
49
|
+
- _sass/nyx/_rouge.scss
|
|
49
50
|
- _sass/nyx/_typography.scss
|
|
50
51
|
- _sass/nyx/_variables.scss
|
|
51
52
|
- assets/css/nyx.scss
|
|
52
|
-
- assets/css/rouge.css
|
|
53
53
|
- assets/img/black-logo.svg
|
|
54
54
|
- assets/img/white-logo.svg
|
|
55
55
|
- index.md
|