jekyll-theme-zer0 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.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +499 -0
  4. data/_includes/branding.html +43 -0
  5. data/_includes/breadcrumbs.html +31 -0
  6. data/_includes/dev-shortcuts.html +57 -0
  7. data/_includes/footer.html +57 -0
  8. data/_includes/giscus.html +16 -0
  9. data/_includes/google-analytics.html +9 -0
  10. data/_includes/google-tag-manager-body.html +8 -0
  11. data/_includes/google-tag-manager-head.html +10 -0
  12. data/_includes/halfmoon.html +35 -0
  13. data/_includes/head.html +95 -0
  14. data/_includes/header.html +79 -0
  15. data/_includes/info-section.html +33 -0
  16. data/_includes/intro.html +27 -0
  17. data/_includes/js-cdn.html +24 -0
  18. data/_includes/nav_list.html +63 -0
  19. data/_includes/navbar.html +34 -0
  20. data/_includes/powered-by.html +22 -0
  21. data/_includes/quick-index.html +17 -0
  22. data/_includes/searchbar.html +10 -0
  23. data/_includes/seo.html +131 -0
  24. data/_includes/sidebar-categories.html +21 -0
  25. data/_includes/sidebar-folders.html +107 -0
  26. data/_includes/sidebar-left.html +41 -0
  27. data/_includes/sidebar-right.html +47 -0
  28. data/_includes/sitemap.html +123 -0
  29. data/_includes/style.html +1574 -0
  30. data/_includes/svg.html +81 -0
  31. data/_includes/toc +7 -0
  32. data/_includes/toc.html +182 -0
  33. data/_includes/zer0-env-var.html +88 -0
  34. data/_layouts/collection.html +42 -0
  35. data/_layouts/default.html +37 -0
  36. data/_layouts/home.html +16 -0
  37. data/_layouts/index.html +8 -0
  38. data/_layouts/javascript.html +8 -0
  39. data/_layouts/journals.html +41 -0
  40. data/_layouts/root.html +54 -0
  41. data/_sass/custom.scss +331 -0
  42. data/_sass/it-journey/_docs.scss +3219 -0
  43. data/_sass/it-journey/_syntax.scss +342 -0
  44. data/_sass/it-journey/_theme.scss +247 -0
  45. data/_sass/it-journey/_variables.scss +521 -0
  46. data/_sass/it-journey/code-copy.scss +105 -0
  47. data/assets/.DS_Store +0 -0
  48. data/assets/css/custom.css +120 -0
  49. data/assets/css/main.scss +22 -0
  50. data/assets/images/favicon_gpt_computer_retro.png +0 -0
  51. data/assets/images/gravatar-small.png +0 -0
  52. data/assets/images/gravatar.png +0 -0
  53. data/assets/images/info-banner-mountain-wizard.png +0 -0
  54. data/assets/images/wizard-on-journey.png +0 -0
  55. data/assets/images/zer0-checkpoint-1.png +0 -0
  56. data/assets/images/zer0-checkpoint-2.png +0 -0
  57. data/assets/js/auto-hide-nav.js +18 -0
  58. data/assets/js/back-to-top.js +24 -0
  59. data/assets/js/cheetsheet.js +73 -0
  60. data/assets/js/code-copy.js +27 -0
  61. data/assets/js/color-modes.js +80 -0
  62. data/assets/js/docs.min.js +1 -0
  63. data/assets/js/halfmoon.js +80 -0
  64. data/assets/js/myScript.js +12 -0
  65. data/assets/js/nanobar.min.js +1 -0
  66. data/assets/js/particles-source.js +888 -0
  67. data/assets/js/particles.js +133 -0
  68. data/assets/js/side-bar-folders.js +12 -0
  69. data/assets/particles.json +110 -0
  70. metadata +153 -0
@@ -0,0 +1,342 @@
1
+ /* ==========================================================================
2
+ Syntax highlighting
3
+ ========================================================================== */
4
+
5
+ // div.highlighter-rouge,
6
+ // figure.highlight {
7
+ // position: relative;
8
+ // margin-bottom: 1em;
9
+ // background: $base00;
10
+ // color: $base05;
11
+ // font-family: $monospace;
12
+ // font-size: $type-size-6;
13
+ // line-height: 1.8;
14
+ // border-radius: $border-radius;
15
+
16
+ // > pre,
17
+ // pre.highlight {
18
+ // margin: 0;
19
+ // padding: 1em;
20
+ // }
21
+ // }
22
+
23
+ // .highlight table {
24
+ // margin-bottom: 0;
25
+ // font-size: 1em;
26
+ // border: 0;
27
+
28
+ // td {
29
+ // padding: 0;
30
+ // width: calc(100% - 1em);
31
+ // border: 0;
32
+
33
+ // /* line numbers*/
34
+ // &.gutter,
35
+ // &.rouge-gutter {
36
+ // padding-right: 1em;
37
+ // width: 1em;
38
+ // color: $base04;
39
+ // border-right: 1px solid $base04;
40
+ // text-align: right;
41
+ // }
42
+
43
+ // /* code */
44
+ // &.code,
45
+ // &.rouge-code {
46
+ // padding-left: 1em;
47
+ // }
48
+ // }
49
+
50
+ // pre {
51
+ // margin: 0;
52
+ // }
53
+ // }
54
+
55
+ /* syntax highlighting (base16) */
56
+ $base00: #263238 !default;
57
+ $base01: #2e3c43 !default;
58
+ $base02: #314549 !default;
59
+ $base03: #546e7a !default;
60
+ $base04: #b2ccd6 !default;
61
+ $base05: #eeffff !default;
62
+ $base06: #eeffff !default;
63
+ $base07: #ffffff !default;
64
+ $base08: #f07178 !default;
65
+ $base09: #f78c6c !default;
66
+ $base0a: #ffcb6b !default;
67
+ $base0b: #c3e88d !default;
68
+ $base0c: #89ddff !default;
69
+ $base0d: #82aaff !default;
70
+ $base0e: #c792ea !default;
71
+ $base0f: #ff5370 !default;
72
+
73
+ .highlight pre {
74
+ width: 100%;
75
+ }
76
+
77
+ .highlight .hll {
78
+ background-color: $base06;
79
+ }
80
+ .highlight {
81
+ .c {
82
+ /* Comment */
83
+ color: $base04;
84
+ }
85
+ .err {
86
+ /* Error */
87
+ color: $base08;
88
+ }
89
+ .k {
90
+ /* Keyword */
91
+ color: $base0e;
92
+ }
93
+ .l {
94
+ /* Literal */
95
+ color: $base09;
96
+ }
97
+ .n {
98
+ /* Name */
99
+ color: $base05;
100
+ }
101
+ .o {
102
+ /* Operator */
103
+ color: $base0c;
104
+ }
105
+ .p {
106
+ /* Punctuation */
107
+ color: $base05;
108
+ }
109
+ .cm {
110
+ /* Comment.Multiline */
111
+ color: $base04;
112
+ }
113
+ .cp {
114
+ /* Comment.Preproc */
115
+ color: $base04;
116
+ }
117
+ .c1 {
118
+ /* Comment.Single */
119
+ color: $base04;
120
+ }
121
+ .cs {
122
+ /* Comment.Special */
123
+ color: $base04;
124
+ }
125
+ .gd {
126
+ /* Generic.Deleted */
127
+ color: $base08;
128
+ }
129
+ .ge {
130
+ /* Generic.Emph */
131
+ font-style: italic;
132
+ }
133
+ .gh {
134
+ /* Generic.Heading */
135
+ color: $base05;
136
+ font-weight: bold;
137
+ }
138
+ .gi {
139
+ /* Generic.Inserted */
140
+ color: $base0b;
141
+ }
142
+ .gp {
143
+ /* Generic.Prompt */
144
+ color: $base04;
145
+ font-weight: bold;
146
+ }
147
+ .gs {
148
+ /* Generic.Strong */
149
+ font-weight: bold;
150
+ }
151
+ .gu {
152
+ /* Generic.Subheading */
153
+ color: $base0c;
154
+ font-weight: bold;
155
+ }
156
+ .kc {
157
+ /* Keyword.Constant */
158
+ color: $base0e;
159
+ }
160
+ .kd {
161
+ /* Keyword.Declaration */
162
+ color: $base0e;
163
+ }
164
+ .kn {
165
+ /* Keyword.Namespace */
166
+ color: $base0c;
167
+ }
168
+ .kp {
169
+ /* Keyword.Pseudo */
170
+ color: $base0e;
171
+ }
172
+ .kr {
173
+ /* Keyword.Reserved */
174
+ color: $base0e;
175
+ }
176
+ .kt {
177
+ /* Keyword.Type */
178
+ color: $base0a;
179
+ }
180
+ .ld {
181
+ /* Literal.Date */
182
+ color: $base0b;
183
+ }
184
+ .m {
185
+ /* Literal.Number */
186
+ color: $base09;
187
+ }
188
+ .s {
189
+ /* Literal.String */
190
+ color: $base0b;
191
+ }
192
+ .na {
193
+ /* Name.Attribute */
194
+ color: $base0d;
195
+ }
196
+ .nb {
197
+ /* Name.Builtin */
198
+ color: $base05;
199
+ }
200
+ .nc {
201
+ /* Name.Class */
202
+ color: $base0a;
203
+ }
204
+ .no {
205
+ /* Name.Constant */
206
+ color: $base08;
207
+ }
208
+ .nd {
209
+ /* Name.Decorator */
210
+ color: $base0c;
211
+ }
212
+ .ni {
213
+ /* Name.Entity */
214
+ color: $base05;
215
+ }
216
+ .ne {
217
+ /* Name.Exception */
218
+ color: $base08;
219
+ }
220
+ .nf {
221
+ /* Name.Function */
222
+ color: $base0d;
223
+ }
224
+ .nl {
225
+ /* Name.Label */
226
+ color: $base05;
227
+ }
228
+ .nn {
229
+ /* Name.Namespace */
230
+ color: $base0a;
231
+ }
232
+ .nx {
233
+ /* Name.Other */
234
+ color: $base0d;
235
+ }
236
+ .py {
237
+ /* Name.Property */
238
+ color: $base05;
239
+ }
240
+ .nt {
241
+ /* Name.Tag */
242
+ color: $base0c;
243
+ }
244
+ .nv {
245
+ /* Name.Variable */
246
+ color: $base08;
247
+ }
248
+ .ow {
249
+ /* Operator.Word */
250
+ color: $base0c;
251
+ }
252
+ .w {
253
+ /* Text.Whitespace */
254
+ color: $base05;
255
+ }
256
+ .mf {
257
+ /* Literal.Number.Float */
258
+ color: $base09;
259
+ }
260
+ .mh {
261
+ /* Literal.Number.Hex */
262
+ color: $base09;
263
+ }
264
+ .mi {
265
+ /* Literal.Number.Integer */
266
+ color: $base09;
267
+ }
268
+ .mo {
269
+ /* Literal.Number.Oct */
270
+ color: $base09;
271
+ }
272
+ .sb {
273
+ /* Literal.String.Backtick */
274
+ color: $base0b;
275
+ }
276
+ .sc {
277
+ /* Literal.String.Char */
278
+ color: $base05;
279
+ }
280
+ .sd {
281
+ /* Literal.String.Doc */
282
+ color: $base04;
283
+ }
284
+ .s2 {
285
+ /* Literal.String.Double */
286
+ color: $base0b;
287
+ }
288
+ .se {
289
+ /* Literal.String.Escape */
290
+ color: $base09;
291
+ }
292
+ .sh {
293
+ /* Literal.String.Heredoc */
294
+ color: $base0b;
295
+ }
296
+ .si {
297
+ /* Literal.String.Interpol */
298
+ color: $base09;
299
+ }
300
+ .sx {
301
+ /* Literal.String.Other */
302
+ color: $base0b;
303
+ }
304
+ .sr {
305
+ /* Literal.String.Regex */
306
+ color: $base0b;
307
+ }
308
+ .s1 {
309
+ /* Literal.String.Single */
310
+ color: $base0b;
311
+ }
312
+ .ss {
313
+ /* Literal.String.Symbol */
314
+ color: $base0b;
315
+ }
316
+ .bp {
317
+ /* Name.Builtin.Pseudo */
318
+ color: $base05;
319
+ }
320
+ .vc {
321
+ /* Name.Variable.Class */
322
+ color: $base08;
323
+ }
324
+ .vg {
325
+ /* Name.Variable.Global */
326
+ color: $base08;
327
+ }
328
+ .vi {
329
+ /* Name.Variable.Instance */
330
+ color: $base08;
331
+ }
332
+ .il {
333
+ /* Literal.Number.Integer.Long */
334
+ color: $base09;
335
+ }
336
+ }
337
+
338
+ .gist {
339
+ th, td {
340
+ border-bottom: 0;
341
+ }
342
+ }
@@ -0,0 +1,247 @@
1
+ // # Font Settings ---------------------------------------------------------------
2
+
3
+ // # Color Settings --------------------------------------------------------------
4
+
5
+ // ## Color Schema Override
6
+ // https://meodai.github.io/poline/
7
+
8
+ // Harbour Mirror
9
+ // Harbour Blue
10
+ // Dark Blue
11
+
12
+
13
+ $blue-400: #073781;
14
+ $blue-500: #073781;
15
+ $blue-600: #346182;
16
+ $blue-700: #346182;
17
+
18
+ // Smoking Mirror
19
+ // 3d7695
20
+ // 2f5877
21
+ // a19587
22
+
23
+ // https://getbootstrap.com/docs/5.3/customize/color-modes/#custom-color-modes
24
+ // Custom Theme
25
+
26
+ [data-bs-theme="wizard"] {
27
+ --bs-body-color: var(--bs-white);
28
+ --bs-body-color-rgb: #{to-rgb($white)};
29
+ --bs-body-bg: var(--bs-blue);
30
+ --bs-body-bg-rgb: #{to-rgb($blue)};
31
+ --bs-tertiary-bg: #{$blue-600};
32
+
33
+ .dropdown-menu {
34
+ --bs-dropdown-bg: #{mix($blue-500, $blue-600)};
35
+ --bs-dropdown-link-active-bg: #{$blue-700};
36
+ }
37
+
38
+ .btn-secondary {
39
+ --bs-btn-bg: #{mix($gray-600, $blue-400, .5)};
40
+ --bs-btn-border-color: #{rgba($white, .25)};
41
+ --bs-btn-hover-bg: #{darken(mix($gray-600, $blue-400, .5), 5%)};
42
+ --bs-btn-hover-border-color: #{rgba($white, .25)};
43
+ --bs-btn-active-bg: #{darken(mix($gray-600, $blue-400, .5), 10%)};
44
+ --bs-btn-active-border-color: #{rgba($white, .5)};
45
+ --bs-btn-focus-border-color: #{rgba($white, .5)};
46
+ --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .2);
47
+ }
48
+ }
49
+
50
+
51
+ :root,[data-bs-theme="light"] {
52
+ --bd-purple: #4c0bce;
53
+ --bd-violet: #712cf9;
54
+ --bd-accent: #ffe484;
55
+ --bd-violet-rgb: 112.520718,44.062154,249.437846;
56
+ --bd-accent-rgb: 255,228,132;
57
+ --bd-pink-rgb: 214,51,132;
58
+ --bd-teal-rgb: 32,201,151;
59
+ --bd-violet-bg: var(--bd-violet);
60
+ --bd-toc-color: var(--bd-violet);
61
+ --bd-sidebar-link-bg: rgba(var(--bd-violet-rgb), .1);
62
+ --bd-callout-link: 10,88,202;
63
+ --bd-callout-code-color: #ab296a;
64
+ --bd-pre-bg: var(--bs-tertiary-bg)
65
+ }
66
+
67
+ [data-bs-theme="dark"] {
68
+ --bd-violet: #9461fb;
69
+ --bd-violet-bg: #712cf9;
70
+ --bd-toc-color: var(--bs-emphasis-color);
71
+ --bd-sidebar-link-bg: rgba(84,33,187, .5);
72
+ --bd-callout-link: 110,168,254;
73
+ --bd-callout-code-color: #e685b5;
74
+ --bd-pre-bg: #1b1f22
75
+ }
76
+
77
+
78
+
79
+ /* Typography
80
+ ========================================================================== */
81
+
82
+ $doc-font-size: 16 !default;
83
+
84
+ /* paragraph indention */
85
+ $paragraph-indent: false !default; // true, false (default)
86
+ $indent-var: 1.3em !default;
87
+
88
+ $global-font-family: $sans-serif !default;
89
+ $header-font-family: $sans-serif !default;
90
+ $caption-font-family: $serif !default;
91
+ /* Colors
92
+ ========================================================================== */
93
+
94
+ $background-color: #fff !default;
95
+ $code-background-color: #fafafa !default;
96
+ $code-background-color-dark: $light-gray !default;
97
+ $text-color: $dark-gray !default;
98
+ $muted-text-color: mix(#fff, $text-color, 20%) !default;
99
+ $border-color: $lighter-gray !default;
100
+ $form-background-color: $lighter-gray !default;
101
+ $footer-background-color: $lighter-gray !default;
102
+
103
+ $primary-color: #6f777d !default;
104
+ $success-color: #3fa63f !default;
105
+ $warning-color: #d67f05 !default;
106
+ $danger-color: #ee5f5b !default;
107
+ $info-color: #3b9cba !default;
108
+ $focus-color: $primary-color !default;
109
+ $active-color: mix(#fff, $primary-color, 80%) !default;
110
+
111
+ /* links */
112
+ $link-color: mix(#000, $info-color, 20%) !default;
113
+ $link-color-hover: mix(#000, $link-color, 25%) !default;
114
+ $link-color-visited: mix(#fff, $link-color, 15%) !default;
115
+ $masthead-link-color: $primary-color !default;
116
+ $masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
117
+ $navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
118
+
119
+ /* notices */
120
+ $notice-background-mix: 80% !default;
121
+ $code-notice-background-mix: 90% !default;
122
+
123
+ /*
124
+ Other
125
+ ========================================================================== */
126
+
127
+ $border-radius: 4px !default;
128
+ $box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
129
+ $nav-height: 2em !default;
130
+ $nav-toggle-height: 2rem !default;
131
+ $navicon-width: 1.5rem !default;
132
+ $navicon-height: 0.25rem !default;
133
+ $global-transition: all 0.2s ease-in-out !default;
134
+ $intro-transition: intro 0.3s both !default;
135
+
136
+
137
+ // scss-docs-start theme-color-variables
138
+ $primary: $blue !default;
139
+ $secondary: $gray-600 !default;
140
+ $success: $green !default;
141
+ $info: $cyan !default;
142
+ $warning: $yellow !default;
143
+ $danger: $red !default;
144
+ $light: $gray-100 !default;
145
+ $dark: $gray-900 !default;
146
+ // scss-docs-end theme-color-variables
147
+
148
+ // Links
149
+ //
150
+ // Style anchor elements.
151
+
152
+ $link-color: $primary !default;
153
+ $link-decoration: underline !default;
154
+ $link-shade-percentage: 20% !default;
155
+ $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
156
+ $link-hover-decoration: null !default;
157
+
158
+ $stretched-link-pseudo-element: after !default;
159
+ $stretched-link-z-index: 1 !default;
160
+
161
+
162
+ // Body
163
+ //
164
+ // Settings for the `<body>` element.
165
+
166
+ $body-bg: $white !default;
167
+ $body-color: $gray-900 !default;
168
+ $body-text-align: null !default;
169
+
170
+ // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
171
+ // $font-size-base affects the font size of the body text
172
+ $font-size-root: null !default;
173
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
174
+ $font-size-sm: $font-size-base * .875 !default;
175
+ $font-size-lg: $font-size-base * 1.25 !default;
176
+
177
+ $font-weight-lighter: lighter !default;
178
+ $font-weight-light: 300 !default;
179
+ $font-weight-normal: 400 !default;
180
+ $font-weight-bold: 700 !default;
181
+ $font-weight-bolder: bolder !default;
182
+
183
+ $font-weight-base: $font-weight-normal !default;
184
+
185
+ $line-height-base: 1.5 !default;
186
+ $line-height-sm: 1.25 !default;
187
+ $line-height-lg: 2 !default;
188
+
189
+
190
+ // scss-docs-end font-variables
191
+
192
+ $component-active-color: $white !default;
193
+ $component-active-bg: $primary !default;
194
+
195
+ // Buttons
196
+ //
197
+ // For each of Bootstrap's buttons, define text, background, and border color.
198
+
199
+ // scss-docs-start input-btn-variables
200
+ $input-btn-padding-y: .375rem !default;
201
+ $input-btn-padding-x: .75rem !default;
202
+ $input-btn-font-family: null !default;
203
+ $input-btn-font-size: $font-size-base !default;
204
+ $input-btn-line-height: $line-height-base !default;
205
+
206
+ $input-btn-focus-width: .25rem !default;
207
+ $input-btn-focus-color-opacity: .25 !default;
208
+ $input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
209
+ $input-btn-focus-blur: 0 !default;
210
+ $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
211
+
212
+
213
+ $input-btn-border-width: $border-width !default;
214
+ // scss-docs-end input-btn-variables
215
+
216
+
217
+ $btn-link-color: $link-color !default;
218
+ $btn-link-hover-color: $link-hover-color !default;
219
+ $btn-link-disabled-color: $gray-600 !default;
220
+
221
+ // scss-docs-start border-radius-variables
222
+ $border-radius: .25rem !default;
223
+ $border-radius-sm: .2rem !default;
224
+ $border-radius-lg: .3rem !default;
225
+ $border-radius-pill: 50rem !default;
226
+ // scss-docs-end border-radius-variables
227
+
228
+
229
+ // scss-docs-start navbar-theme-variables
230
+ $navbar-dark-color: rgba($white, .55) !default;
231
+ $navbar-dark-hover-color: rgba($white, .75) !default;
232
+ $navbar-dark-active-color: $white !default;
233
+ $navbar-dark-disabled-color: rgba($white, .25) !default;
234
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
235
+ $navbar-dark-toggler-border-color: rgba($white, .1) !default;
236
+
237
+ $navbar-light-color: rgba($black, .55) !default;
238
+ $navbar-light-hover-color: rgba($black, .7) !default;
239
+ $navbar-light-active-color: rgba($black, .9) !default;
240
+ $navbar-light-disabled-color: rgba($black, .3) !default;
241
+ $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
242
+ $navbar-light-toggler-border-color: rgba($black, .1) !default;
243
+
244
+ $navbar-light-brand-color: $navbar-light-active-color !default;
245
+ $navbar-light-brand-hover-color: $navbar-light-active-color !default;
246
+ $navbar-dark-brand-color: $navbar-dark-active-color !default;
247
+ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;