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
data/_sass/custom.scss ADDED
@@ -0,0 +1,331 @@
1
+ html, body {
2
+ max-width: 100%;
3
+ // overflow-x: hidden;
4
+ }
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ .make-me-sticky {
11
+ position: -webkit-sticky;
12
+ position: sticky;
13
+ top: 0;
14
+ padding: 0 15px;
15
+ display: flex;
16
+ flex-wrap: wrap;
17
+ }
18
+
19
+ .bottom-shadow {
20
+ // background-color: rgba(255,255,255,0.95);
21
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35), inset 0 -1px 0 rgba(0, 0, 0, .15);
22
+ }
23
+
24
+ #TableOfContents {
25
+ overflow: hidden;
26
+ text-overflow: ellipsis;
27
+ // white-space: nowrap;
28
+ }
29
+
30
+ .toc {
31
+ grid-area: toc;
32
+ padding-top: 5rem;
33
+ top: 0;
34
+ right: 5rem;
35
+ }
36
+
37
+
38
+ @media (min-width: 992px) {
39
+ .toc {
40
+ position:-webkit-sticky;
41
+ position: sticky;
42
+ top: 5rem;
43
+ right: 5rem;
44
+ z-index: 2;
45
+ height: calc(100vh - 7rem);
46
+ overflow-y: auto
47
+ }
48
+ }
49
+
50
+ .toc nav {
51
+ font-size: .875rem
52
+ }
53
+
54
+ .toc nav ul {
55
+ padding-left: 0;
56
+ margin-bottom: 0;
57
+ list-style: none
58
+ }
59
+
60
+ .toc nav ul ul {
61
+ padding-left: 1rem;
62
+ margin-top: .25rem
63
+ }
64
+
65
+ .toc nav li {
66
+ margin-bottom: .25rem
67
+ }
68
+
69
+ .toc nav a {
70
+ color: inherit
71
+ }
72
+
73
+ .toc nav a:not(:hover) {
74
+ text-decoration: none
75
+ }
76
+
77
+ .toc nav a code {
78
+ font: inherit
79
+ }
80
+
81
+ .toc-toggle {
82
+ display: flex;
83
+ align-items: center
84
+ }
85
+
86
+
87
+ @media (max-width: 989.98px) {
88
+ .toc-collapse nav {
89
+ padding:1.25rem;
90
+ background-color: var(--bs-tertiary-bg);
91
+ border: 1px solid var(--bs-border-color);
92
+ border-radius: var(--bs-border-radius)
93
+ }
94
+ }
95
+
96
+ @media (min-width: 990px) {
97
+ .toc-collapse {
98
+ display:block !important
99
+ }
100
+ }
101
+
102
+
103
+ @media (min-width: 992px) {
104
+ .sidebar {
105
+ position:-webkit-sticky;
106
+ position: sticky;
107
+ top: 5rem;
108
+ display: block !important;
109
+ height: calc(100vh - 6rem);
110
+ padding-left: .25rem;
111
+ margin-left: -.25rem;
112
+ overflow-y: auto
113
+ }
114
+ }
115
+
116
+ @media (max-width: 991.98px) {
117
+ .sidebar .offcanvas-lg {
118
+ border-right-color:var(--bs-border-color);
119
+ box-shadow: 0 1rem 3rem rgba(var(--bs-body-color-rgb), 0.175)
120
+ }
121
+ }
122
+
123
+ .bd-sidebar {
124
+ grid-area: sidebar
125
+ }
126
+
127
+ // https://designkojo.com/add-ellipse-truncated-text-css-single-line-and-multi-line-options
128
+
129
+
130
+ // Floating back to top button
131
+
132
+ #backToTopBtn {
133
+ display: none; /* Hidden by default */
134
+ position: fixed; /* Fixed/sticky position */
135
+ bottom: 20px; /* Place the button at the bottom of the page */
136
+ right: 20px; /* Place the button 30px from the right */
137
+ z-index: 99; /* Make sure it does not overlap */
138
+ border: none; /* Remove borders */
139
+ outline: none; /* Remove outline */
140
+ background-color: $primary; /* Set a background color */
141
+ color: inherit; /* Text color */
142
+ opacity: 25%;
143
+ cursor: pointer; /* Add a mouse pointer on hover */
144
+ padding: 15px; /* Some padding */
145
+ border-radius:10px;/* Rounded corners */
146
+ font-size:18px;/* Increase font size */
147
+ }
148
+
149
+ #backToTopBtn {
150
+ .text {
151
+ display: inline-block;
152
+ }
153
+
154
+ .arrow {
155
+ display: none;
156
+ }
157
+
158
+ @media (max-width: 600px) {
159
+ .text {
160
+ display: none;
161
+ }
162
+
163
+ .arrow {
164
+ display: inline-block;
165
+ }
166
+ }
167
+ }
168
+
169
+ #backToTopBtn:hover {
170
+ background-color: #555; /* Add a dark-grey background on hover */
171
+ opacity: 100%;
172
+ }
173
+
174
+ img {
175
+ display: inline-block;
176
+ max-width: 100%;
177
+ height: auto;
178
+ }
179
+
180
+ #navbar {
181
+ // position: fixed;
182
+ top: 0;
183
+ width: 100%;
184
+ transition: transform 0.3s;
185
+ }
186
+
187
+ .fixed-navbar {
188
+ position: fixed;
189
+ top: 0;
190
+ width: 100%;
191
+ transition: transform 0.3s;
192
+ }
193
+
194
+ .hide-navbar {
195
+ transform: translateY(-100%);
196
+ top: 0px;
197
+ }
198
+
199
+ $enable-cssgrid: true;
200
+ $enable-grid-classes: false;
201
+
202
+ // #box {
203
+ // background:url('data:image/gif;base64,R0lGODlhBgAGAIAAAO7u7t7e3iH5BAAAAAAALAAAAAAGAAYAAAIKhIOXgKGuDIOzAAA7') #eeeff1;
204
+ // }
205
+
206
+ // body {font-size:12px; background:#ffe;}
207
+ // body,
208
+ // textarea {text-align:center; font-family:arial;}
209
+
210
+ // input {}
211
+ // input[type='number'],
212
+ // input[type='color'] {width:5em;}
213
+ // input[type='number'] {padding:0.25em; text-align:right;}
214
+ // select {width:9em; font-size:11px; padding:0.25em 0.2em;}
215
+ // option {padding:0.25em 0.2em;}
216
+ // textarea {resize:none; padding:2.5em; color:#358; background:#eef2f4; font-size:2em; border:0; width:100%;}
217
+
218
+
219
+
220
+ // #set {user-select:none; background:#fff; overflow:hidden;}
221
+ // #set table {border-collapse:collapse; padding:2em; font-size:11px; text-transform:uppercase; margin:2em auto;}
222
+ // #set th,
223
+ // #set td {padding:0.4em 0.5em;}
224
+ // #set th {text-align:right; color:#567;}
225
+ // #set td {text-align:left;}
226
+
227
+
228
+ // /* res beautifier */
229
+ // #res {color:#789; padding:2em; text-align:left; font-family:'Lucida Console', Monaco, monospace;}
230
+ // #res b {font-weight:normal;}
231
+ // #res i {font-style:normal;}
232
+ // #res .obj {color:#789;}
233
+ // #res .obj b {color:#345; font-weight:bold;}
234
+ // #res .key {color:#45a;}
235
+ // #res .num {color:#12a;}
236
+ // #res .txt {color:#9ab;}
237
+ // #res .txt i {color:#384;}
238
+ // #res .clr {color:#9ab;}
239
+ // #res .clr i {color:#731;}
240
+ // #res a {color:#67a;}
241
+ // #res a:hover {color:#67e;}
242
+
243
+
244
+ // #box {overflow:hidden; position:relative; height:300px; padding:3em;}
245
+ // #box svg {display:block; position:absolute; right:50%; bottom:50%; transform:translate( 50%, 50%); cursor:pointer;}
246
+ // #box svg {max-width:100%; max-height:100%;}
247
+
248
+
249
+ // /* minimized options for small screen */
250
+ // .opt {display:block; padding:1em; background:#0ae; color:#fff; text-decoration:none;}
251
+ // .opt:hover {background:#0af;}
252
+
253
+ // #op2.opt {background:#ea0;}
254
+ // #op2.opt:hover {background:#fa0;}
255
+
256
+ // #set table,
257
+ // #set .legend,
258
+ // #set #op2.opt,
259
+ // #set.show #op1.opt {display:none;}
260
+
261
+ // #set.show table {display:table;}
262
+ // #set.show #op2.opt {display:block;}
263
+
264
+ // @media (min-width: 620px) {
265
+
266
+ // html,
267
+ // body,
268
+ // #box,
269
+ // #set,
270
+ // #txt,
271
+ // #msg,
272
+ // #hnt {display:block; position:absolute; top:0; right:0; left:0; bottom:0;}
273
+
274
+ // html,
275
+ // body {overflow:hidden;}
276
+ // #box {height:auto;}
277
+
278
+ // #txt,
279
+ // #hnt {height:250px; top:auto; border-top:3px #eee solid;}
280
+
281
+ // #set,
282
+ // #hnt {width:270px; left:auto;}
283
+ // #set table {font-size:10px;}
284
+
285
+ // #box,
286
+ // #txt {right:270px}
287
+
288
+ // #box,
289
+ // #set {bottom:250px;}
290
+
291
+ // #hnt {overflow:auto;}
292
+ // #msg {width:100%; height:100%;}
293
+
294
+ // #set {overflow-y:auto;}
295
+ // #set .legend {display:block;}
296
+ // #set table {display:table;}
297
+ // #set .opt {display:none !important;}
298
+ // }
299
+
300
+ // @media (min-width:900px) {
301
+
302
+ // #set,
303
+ // #hnt {width:30%}
304
+ // #box,
305
+ // #txt {right:30%}
306
+ // }
307
+
308
+ // @media (min-width:1024px) {
309
+
310
+ // #set table {font-size:11px;}
311
+ // }
312
+
313
+ // @media (min-width:1600px) {
314
+
315
+ // #set,
316
+ // #hnt {width:480px}
317
+ // #box,
318
+ // #txt {right:480px}
319
+ // }
320
+
321
+ // .legend {padding:1.5em 0.5em; border-bottom:1px #eee solid;}
322
+
323
+ .nested-list-group {
324
+ display: none;
325
+ }
326
+ .nested-list-group.show {
327
+ display: block;
328
+ }
329
+ .folder {
330
+ cursor: pointer;
331
+ }