jekyll-theme-nocturne 0.1.0

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.
@@ -0,0 +1,366 @@
1
+ // Normalize.css for Nocturne theme
2
+ // Provides consistent cross-browser styling
3
+
4
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
5
+
6
+ /* Document
7
+ /**
8
+ * 1. Correct the line height in all browsers.
9
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
+ */
11
+
12
+ html {
13
+ line-height: 1.15;
14
+ /* 1 */
15
+ -webkit-text-size-adjust: 100%;
16
+ /* 2 */
17
+ }
18
+
19
+ /* Sections
20
+ /**
21
+ * Remove the margin in all browsers.
22
+ */
23
+
24
+ body {
25
+ margin: 0;
26
+ }
27
+
28
+ /**
29
+ * Render the `main` element consistently in IE.
30
+ */
31
+
32
+ main {
33
+ display: block;
34
+ }
35
+
36
+ /**
37
+ * Correct the font size and margin on `h1` elements within `section` and
38
+ * `article` contexts in Chrome, Firefox, and Safari.
39
+ */
40
+
41
+ h1 {
42
+ font-size: 2em;
43
+ margin: 0.67em 0;
44
+ }
45
+
46
+ /* Grouping content
47
+ /**
48
+ * 1. Add the correct box sizing in Firefox.
49
+ * 2. Show the overflow in Edge and IE.
50
+ */
51
+
52
+ hr {
53
+ box-sizing: content-box;
54
+ /* 1 */
55
+ height: 0;
56
+ /* 1 */
57
+ overflow: visible;
58
+ /* 2 */
59
+ }
60
+
61
+ /**
62
+ * 1. Correct the inheritance and scaling of font size in all browsers.
63
+ * 2. Correct the odd `em` font sizing in all browsers.
64
+ */
65
+
66
+ pre {
67
+ font-family: monospace, monospace;
68
+ /* 1 */
69
+ font-size: 1em;
70
+ /* 2 */
71
+ }
72
+
73
+ /* Text-level semantics
74
+ /**
75
+ * Remove the gray background on active links in IE 10.
76
+ */
77
+
78
+ a {
79
+ background-color: transparent;
80
+ }
81
+
82
+ /**
83
+ * 1. Remove the bottom border in Chrome 57-
84
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
85
+ */
86
+
87
+ abbr[title] {
88
+ border-bottom: none;
89
+ /* 1 */
90
+ text-decoration: underline;
91
+ /* 2 */
92
+ text-decoration: underline dotted;
93
+ /* 2 */
94
+ }
95
+
96
+ /**
97
+ * Add the correct font weight in Chrome, Edge, and Safari.
98
+ */
99
+
100
+ b,
101
+ strong {
102
+ font-weight: bolder;
103
+ }
104
+
105
+ /**
106
+ * 1. Correct the inheritance and scaling of font size in all browsers.
107
+ * 2. Correct the odd `em` font sizing in all browsers.
108
+ */
109
+
110
+ code,
111
+ kbd,
112
+ samp {
113
+ font-family: monospace, monospace;
114
+ /* 1 */
115
+ font-size: 1em;
116
+ /* 2 */
117
+ }
118
+
119
+ /**
120
+ * Add the correct font size in all browsers.
121
+ */
122
+
123
+ small {
124
+ font-size: 80%;
125
+ }
126
+
127
+ /**
128
+ * Prevent `sub` and `sup` elements from affecting the line height in
129
+ * all browsers.
130
+ */
131
+
132
+ sub,
133
+ sup {
134
+ font-size: 75%;
135
+ line-height: 0;
136
+ position: relative;
137
+ vertical-align: baseline;
138
+ }
139
+
140
+ sub {
141
+ bottom: -0.25em;
142
+ }
143
+
144
+ sup {
145
+ top: -0.5em;
146
+ }
147
+
148
+ /* Embedded content
149
+ /**
150
+ * Remove the border on images inside links in IE 10.
151
+ */
152
+
153
+ img {
154
+ border-style: none;
155
+ }
156
+
157
+ /* Forms
158
+ /**
159
+ * 1. Change the font styles in all browsers.
160
+ * 2. Remove the margin in Firefox and Safari.
161
+ */
162
+
163
+ button,
164
+ input,
165
+ optgroup,
166
+ select,
167
+ textarea {
168
+ font-family: inherit;
169
+ /* 1 */
170
+ font-size: 100%;
171
+ /* 1 */
172
+ line-height: 1.15;
173
+ /* 1 */
174
+ margin: 0;
175
+ /* 2 */
176
+ }
177
+
178
+ /**
179
+ * Show the overflow in IE.
180
+ * 1. Show the overflow in Edge.
181
+ */
182
+
183
+ button,
184
+ input {
185
+ /* 1 */
186
+ overflow: visible;
187
+ }
188
+
189
+ /**
190
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
191
+ * 1. Remove the inheritance of text transform in Firefox.
192
+ */
193
+
194
+ button,
195
+ select {
196
+ /* 1 */
197
+ text-transform: none;
198
+ }
199
+
200
+ /**
201
+ * Correct the inability to style clickable types in iOS and Safari.
202
+ */
203
+
204
+ button,
205
+ [type="button"],
206
+ [type="reset"],
207
+ [type="submit"] {
208
+ -webkit-appearance: button;
209
+ }
210
+
211
+ /**
212
+ * Remove the inner border and padding in Firefox.
213
+ */
214
+
215
+ button::-moz-focus-inner,
216
+ [type="button"]::-moz-focus-inner,
217
+ [type="reset"]::-moz-focus-inner,
218
+ [type="submit"]::-moz-focus-inner {
219
+ border-style: none;
220
+ padding: 0;
221
+ }
222
+
223
+ /**
224
+ * Restore the focus styles unset by the previous rule.
225
+ */
226
+
227
+ button:-moz-focusring,
228
+ [type="button"]:-moz-focusring,
229
+ [type="reset"]:-moz-focusring,
230
+ [type="submit"]:-moz-focusring {
231
+ outline: 1px dotted ButtonText;
232
+ }
233
+
234
+ /**
235
+ * Correct the padding in Firefox.
236
+ */
237
+
238
+ fieldset {
239
+ padding: 0.35em 0.75em 0.625em;
240
+ }
241
+
242
+ /**
243
+ * 1. Correct the text wrapping in Edge and IE.
244
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
245
+ * 3. Remove the padding so developers are not caught out when they zero out
246
+ * `fieldset` elements in all browsers.
247
+ */
248
+
249
+ legend {
250
+ box-sizing: border-box;
251
+ /* 1 */
252
+ color: inherit;
253
+ /* 2 */
254
+ display: table;
255
+ /* 1 */
256
+ max-width: 100%;
257
+ /* 1 */
258
+ padding: 0;
259
+ /* 3 */
260
+ white-space: normal;
261
+ /* 1 */
262
+ }
263
+
264
+ /**
265
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
266
+ */
267
+
268
+ progress {
269
+ vertical-align: baseline;
270
+ }
271
+
272
+ /**
273
+ * Remove the default vertical scrollbar in IE 10+.
274
+ */
275
+
276
+ textarea {
277
+ overflow: auto;
278
+ }
279
+
280
+ /**
281
+ * 1. Add the correct box sizing in IE 10.
282
+ * 2. Remove the padding in IE 10.
283
+ */
284
+
285
+ [type="checkbox"],
286
+ [type="radio"] {
287
+ box-sizing: border-box;
288
+ /* 1 */
289
+ padding: 0;
290
+ /* 2 */
291
+ }
292
+
293
+ /**
294
+ * Correct the cursor style of increment and decrement buttons in Chrome.
295
+ */
296
+
297
+ [type="number"]::-webkit-inner-spin-button,
298
+ [type="number"]::-webkit-outer-spin-button {
299
+ height: auto;
300
+ }
301
+
302
+ /**
303
+ * 1. Correct the odd appearance in Chrome and Safari.
304
+ * 2. Correct the outline style in Safari.
305
+ */
306
+
307
+ [type="search"] {
308
+ -webkit-appearance: textfield;
309
+ /* 1 */
310
+ outline-offset: -2px;
311
+ /* 2 */
312
+ }
313
+
314
+ /**
315
+ * Remove the inner padding in Chrome and Safari on macOS.
316
+ */
317
+
318
+ [type="search"]::-webkit-search-decoration {
319
+ -webkit-appearance: none;
320
+ }
321
+
322
+ /**
323
+ * 1. Correct the inability to style clickable types in iOS and Safari.
324
+ * 2. Change font properties to `inherit` in Safari.
325
+ */
326
+
327
+ ::-webkit-file-upload-button {
328
+ -webkit-appearance: button;
329
+ /* 1 */
330
+ font: inherit;
331
+ /* 2 */
332
+ }
333
+
334
+ /* Interactive
335
+ /*
336
+ * Add the correct display in Edge, IE 10+, and Firefox.
337
+ */
338
+
339
+ details {
340
+ display: block;
341
+ }
342
+
343
+ /*
344
+ * Add the correct display in all browsers.
345
+ */
346
+
347
+ summary {
348
+ display: list-item;
349
+ }
350
+
351
+ /* Misc
352
+ /**
353
+ * Add the correct display in IE 10+.
354
+ */
355
+
356
+ template {
357
+ display: none;
358
+ }
359
+
360
+ /**
361
+ * Add the correct display in IE 10.
362
+ */
363
+
364
+ [hidden] {
365
+ display: none;
366
+ }
@@ -0,0 +1,386 @@
1
+ .highlight {
2
+ background: #2a2a3e;
3
+ border: 1px solid #3a3a4e;
4
+ border-radius: 8px;
5
+ padding: 1rem;
6
+ margin: 1.5rem 0;
7
+ overflow-x: auto;
8
+
9
+ .c {
10
+ color: #565f89;
11
+ font-style: italic;
12
+ }
13
+
14
+ // Comment
15
+ .err {
16
+ color: #ef4444;
17
+ background-color: #1e293b;
18
+ }
19
+
20
+ // Error
21
+ .k {
22
+ color: #7aa2f7;
23
+ font-weight: bold;
24
+ }
25
+
26
+ // Keyword
27
+ .l {
28
+ color: #fbbf24;
29
+ }
30
+
31
+ // Literal
32
+ .n {
33
+ color: #f0f0f0;
34
+ }
35
+
36
+ // Name
37
+ .o {
38
+ color: #9aa5ce;
39
+ font-weight: bold;
40
+ }
41
+
42
+ // Operator
43
+ .p {
44
+ color: #f0f0f0;
45
+ }
46
+
47
+ // Punctuation
48
+ .cm {
49
+ color: #565f89;
50
+ font-style: italic;
51
+ }
52
+
53
+ // Comment.Multiline
54
+ .cp {
55
+ color: #565f89;
56
+ font-style: italic;
57
+ }
58
+
59
+ // Comment.Preproc
60
+ .c1 {
61
+ color: #565f89;
62
+ font-style: italic;
63
+ }
64
+
65
+ // Comment.Single
66
+ .cs {
67
+ color: #565f89;
68
+ font-weight: bold;
69
+ font-style: italic;
70
+ }
71
+
72
+ // Comment.Special
73
+ .gd {
74
+ color: #ef4444;
75
+ }
76
+
77
+ // Generic.Deleted
78
+ .ge {
79
+ font-style: italic;
80
+ }
81
+
82
+ // Generic.Emph
83
+ .gr {
84
+ color: #ef4444;
85
+ }
86
+
87
+ // Generic.Error
88
+ .gh {
89
+ color: #9aa5ce;
90
+ font-weight: bold;
91
+ }
92
+
93
+ // Generic.Heading
94
+ .gi {
95
+ color: #10b981;
96
+ }
97
+
98
+ // Generic.Inserted
99
+ .go {
100
+ color: #6b7280;
101
+ }
102
+
103
+ // Generic.Output
104
+ .gp {
105
+ color: #9aa5ce;
106
+ font-weight: bold;
107
+ }
108
+
109
+ // Generic.Prompt
110
+ .gs {
111
+ font-weight: bold;
112
+ }
113
+
114
+ // Generic.Strong
115
+ .gu {
116
+ color: #9aa5ce;
117
+ font-weight: bold;
118
+ }
119
+
120
+ // Generic.Subheading
121
+ .gt {
122
+ color: #ef4444;
123
+ }
124
+
125
+ // Generic.Traceback
126
+ .kc {
127
+ color: #7aa2f7;
128
+ font-weight: bold;
129
+ }
130
+
131
+ // Keyword.Constant
132
+ .kd {
133
+ color: #7aa2f7;
134
+ font-weight: bold;
135
+ }
136
+
137
+ // Keyword.Declaration
138
+ .kn {
139
+ color: #9aa5ce;
140
+ font-weight: bold;
141
+ }
142
+
143
+ // Keyword.Namespace
144
+ .kp {
145
+ color: #7aa2f7;
146
+ }
147
+
148
+ // Keyword.Pseudo
149
+ .kr {
150
+ color: #7aa2f7;
151
+ font-weight: bold;
152
+ }
153
+
154
+ // Keyword.Reserved
155
+ .kt {
156
+ color: #3b82f6;
157
+ font-weight: bold;
158
+ }
159
+
160
+ // Keyword.Type
161
+ .ld {
162
+ color: #10b981;
163
+ }
164
+
165
+ // Literal.Date
166
+ .m {
167
+ color: #fbbf24;
168
+ }
169
+
170
+ // Literal.Number
171
+ .s {
172
+ color: #10b981;
173
+ }
174
+
175
+ // Literal.String
176
+ .na {
177
+ color: #fbbf24;
178
+ }
179
+
180
+ // Name.Attribute
181
+ .nb {
182
+ color: #fbbf24;
183
+ }
184
+
185
+ // Name.Builtin
186
+ .nc {
187
+ color: #3b82f6;
188
+ font-weight: bold;
189
+ }
190
+
191
+ // Name.Class
192
+ .no {
193
+ color: #7aa2f7;
194
+ }
195
+
196
+ // Name.Constant
197
+ .nd {
198
+ color: #9aa5ce;
199
+ font-weight: bold;
200
+ }
201
+
202
+ // Name.Decorator
203
+ .ni {
204
+ color: #f0f0f0;
205
+ }
206
+
207
+ // Name.Entity
208
+ .ne {
209
+ color: #ef4444;
210
+ font-weight: bold;
211
+ }
212
+
213
+ // Name.Exception
214
+ .nf {
215
+ color: #bb9af7;
216
+ }
217
+
218
+ // Name.Function
219
+ .nl {
220
+ color: #f0f0f0;
221
+ }
222
+
223
+ // Name.Label
224
+ .nn {
225
+ color: #f0f0f0;
226
+ }
227
+
228
+ // Name.Namespace
229
+ .nx {
230
+ color: #f0f0f0;
231
+ }
232
+
233
+ // Name.Other
234
+ .py {
235
+ color: #f0f0f0;
236
+ }
237
+
238
+ // Name.Property
239
+ .nt {
240
+ color: #ef4444;
241
+ font-weight: bold;
242
+ }
243
+
244
+ // Name.Tag
245
+ .nv {
246
+ color: #fbbf24;
247
+ }
248
+
249
+ // Name.Variable
250
+ .ow {
251
+ color: #9aa5ce;
252
+ font-weight: bold;
253
+ }
254
+
255
+ // Operator.Word
256
+ .w {
257
+ color: #bbbbbb;
258
+ }
259
+
260
+ // Text.Whitespace
261
+ .mb {
262
+ color: #fbbf24;
263
+ }
264
+
265
+ // Literal.Number.Bin
266
+ .mf {
267
+ color: #fbbf24;
268
+ }
269
+
270
+ // Literal.Number.Float
271
+ .mh {
272
+ color: #fbbf24;
273
+ }
274
+
275
+ // Literal.Number.Hex
276
+ .mi {
277
+ color: #fbbf24;
278
+ }
279
+
280
+ // Literal.Number.Integer
281
+ .mo {
282
+ color: #fbbf24;
283
+ }
284
+
285
+ // Literal.Number.Oct
286
+ .sa {
287
+ color: #10b981;
288
+ }
289
+
290
+ // Literal.String.Affix
291
+ .sb {
292
+ color: #10b981;
293
+ }
294
+
295
+ // Literal.String.Backtick
296
+ .sc {
297
+ color: #10b981;
298
+ }
299
+
300
+ // Literal.String.Char
301
+ .dl {
302
+ color: #10b981;
303
+ }
304
+
305
+ // Literal.String.Delimiter
306
+ .sd {
307
+ color: #10b981;
308
+ }
309
+
310
+ // Literal.String.Doc
311
+ .s2 {
312
+ color: #10b981;
313
+ }
314
+
315
+ // Literal.String.Double
316
+ .se {
317
+ color: #fbbf24;
318
+ }
319
+
320
+ // Literal.String.Escape
321
+ .sh {
322
+ color: #10b981;
323
+ }
324
+
325
+ // Literal.String.Heredoc
326
+ .si {
327
+ color: #fbbf24;
328
+ }
329
+
330
+ // Literal.String.Interpol
331
+ .sx {
332
+ color: #10b981;
333
+ }
334
+
335
+ // Literal.String.Other
336
+ .sr {
337
+ color: #10b981;
338
+ }
339
+
340
+ // Literal.String.Regex
341
+ .s1 {
342
+ color: #10b981;
343
+ }
344
+
345
+ // Literal.String.Single
346
+ .ss {
347
+ color: #10b981;
348
+ }
349
+
350
+ // Literal.String.Symbol
351
+ .bp {
352
+ color: #f0f0f0;
353
+ }
354
+
355
+ // Name.Builtin.Pseudo
356
+ .fm {
357
+ color: #bb9af7;
358
+ }
359
+
360
+ // Name.Function.Magic
361
+ .vc {
362
+ color: #fbbf24;
363
+ }
364
+
365
+ // Name.Variable.Class
366
+ .vg {
367
+ color: #fbbf24;
368
+ }
369
+
370
+ // Name.Variable.Global
371
+ .vi {
372
+ color: #fbbf24;
373
+ }
374
+
375
+ // Name.Variable.Instance
376
+ .vm {
377
+ color: #fbbf24;
378
+ }
379
+
380
+ // Name.Variable.Magic
381
+ .il {
382
+ color: #fbbf24;
383
+ }
384
+
385
+ // Literal.Number.Integer.Long
386
+ }