jekyll-wikibonsai 0.0.8 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +57 -0
  4. data/_config.yml +269 -0
  5. data/_data/emoji.yml +46 -0
  6. data/_data/themes.yml +145 -0
  7. data/_includes/anchor-headings.html +156 -0
  8. data/_includes/branch.html +18 -0
  9. data/_includes/btn_state.html +14 -0
  10. data/_includes/connect.html +46 -0
  11. data/_includes/cookie-consent.html +79 -0
  12. data/_includes/dates.html +22 -0
  13. data/_includes/hp-tooltip.html +106 -0
  14. data/_includes/img/bullet-ancestor.svg +5 -0
  15. data/_includes/img/bullet-branch.svg +7 -0
  16. data/_includes/img/bullet-net-web.svg +9 -0
  17. data/_includes/img/bullet-tree.svg +9 -0
  18. data/_includes/img/pencil-filter.svg +17 -0
  19. data/_includes/share.html +47 -0
  20. data/_includes/site-nav.html +100 -0
  21. data/_includes/tags.html +49 -0
  22. data/_includes/themes.scss.liquid +80 -0
  23. data/_includes/toc.html +187 -0
  24. data/_layouts/404.html +10 -0
  25. data/_layouts/about.html +14 -0
  26. data/_layouts/archive.html +77 -0
  27. data/_layouts/base.html +68 -0
  28. data/_layouts/book.html +40 -0
  29. data/_layouts/entry.html +269 -0
  30. data/_layouts/home.html +96 -0
  31. data/_layouts/map.html +17 -0
  32. data/_layouts/post.html +37 -0
  33. data/_layouts/privacy.html +15 -0
  34. data/_layouts/recent.html +66 -0
  35. data/_layouts/state.html +70 -0
  36. data/_layouts/table-wrappers.html +7 -0
  37. data/_layouts/vendor/compress.html +10 -0
  38. data/_sass/base/_code.scss +133 -0
  39. data/_sass/base/_layout.scss +55 -0
  40. data/_sass/base/_link.scss +105 -0
  41. data/_sass/base/_main.scss +96 -0
  42. data/_sass/base/_markdown.scss +281 -0
  43. data/_sass/base/_typography.scss +89 -0
  44. data/_sass/base/code_themes/_gruvbox.scss +92 -0
  45. data/_sass/base/code_themes/_monokai.scss +217 -0
  46. data/_sass/base/code_themes/_solarized.scss +84 -0
  47. data/_sass/components/_btn.scss +95 -0
  48. data/_sass/components/_infobox.scss +48 -0
  49. data/_sass/components/_item.scss +28 -0
  50. data/_sass/components/_search.scss +61 -0
  51. data/_sass/components/_tag_pills.scss +24 -0
  52. data/_sass/components/_visited.scss +42 -0
  53. data/_sass/includes/_anchor_headings.scss +36 -0
  54. data/_sass/includes/_connect.scss +8 -0
  55. data/_sass/includes/_cookie_consent.scss +46 -0
  56. data/_sass/includes/_dates.scss +6 -0
  57. data/_sass/includes/_hp_tooltip.scss +41 -0
  58. data/_sass/includes/_share.scss +10 -0
  59. data/_sass/includes/_site_nav.scss +97 -0
  60. data/_sass/includes/_svg.scss +89 -0
  61. data/_sass/includes/_toc.scss +38 -0
  62. data/_sass/layouts/_404.scss +3 -0
  63. data/_sass/layouts/_about.scss +3 -0
  64. data/_sass/layouts/_archive.scss +26 -0
  65. data/_sass/layouts/_book.scss +17 -0
  66. data/_sass/layouts/_entry.scss +156 -0
  67. data/_sass/layouts/_home.scss +75 -0
  68. data/_sass/layouts/_map.scss +3 -0
  69. data/_sass/layouts/_post.scss +17 -0
  70. data/_sass/layouts/_privacy.scss +3 -0
  71. data/_sass/layouts/_recent.scss +77 -0
  72. data/_sass/layouts/_state.scss +98 -0
  73. data/_sass/main.scss +73 -0
  74. data/_sass/util/_functions.scss +9 -0
  75. data/_sass/util/_variables.scss +113 -0
  76. data/_sass/util/mixins/_buttons.scss +27 -0
  77. data/_sass/util/mixins/_layout.scss +81 -0
  78. data/_sass/util/mixins/_typography.scss +84 -0
  79. data/_sass/vendor/normalize.scss/README.md +7 -0
  80. data/_sass/vendor/normalize.scss/normalize.scss +349 -0
  81. data/assets/css/styles.scss +31 -0
  82. data/assets/font/Cutive_Mono/CutiveMono-Regular.ttf +0 -0
  83. data/assets/font/Cutive_Mono/OFL.txt +93 -0
  84. data/assets/font/Old_Standard_TT/OFL.txt +93 -0
  85. data/assets/font/Old_Standard_TT/OldStandardTT-Bold.ttf +0 -0
  86. data/assets/font/Old_Standard_TT/OldStandardTT-Italic.ttf +0 -0
  87. data/assets/font/Old_Standard_TT/OldStandardTT-Regular.ttf +0 -0
  88. data/assets/font/exo2/Exo2-Italic-VariableFont_wght.ttf +0 -0
  89. data/assets/font/exo2/Exo2-VariableFont_wght.ttf +0 -0
  90. data/assets/font/exo2/OFL.txt +93 -0
  91. data/assets/font/exo2/README.txt +81 -0
  92. data/assets/font/exo2/static/Exo2-Black.ttf +0 -0
  93. data/assets/font/exo2/static/Exo2-BlackItalic.ttf +0 -0
  94. data/assets/font/exo2/static/Exo2-Bold.ttf +0 -0
  95. data/assets/font/exo2/static/Exo2-BoldItalic.ttf +0 -0
  96. data/assets/font/exo2/static/Exo2-ExtraBold.ttf +0 -0
  97. data/assets/font/exo2/static/Exo2-ExtraBoldItalic.ttf +0 -0
  98. data/assets/font/exo2/static/Exo2-ExtraLight.ttf +0 -0
  99. data/assets/font/exo2/static/Exo2-ExtraLightItalic.ttf +0 -0
  100. data/assets/font/exo2/static/Exo2-Italic.ttf +0 -0
  101. data/assets/font/exo2/static/Exo2-Light.ttf +0 -0
  102. data/assets/font/exo2/static/Exo2-LightItalic.ttf +0 -0
  103. data/assets/font/exo2/static/Exo2-Medium.ttf +0 -0
  104. data/assets/font/exo2/static/Exo2-MediumItalic.ttf +0 -0
  105. data/assets/font/exo2/static/Exo2-Regular.ttf +0 -0
  106. data/assets/font/exo2/static/Exo2-SemiBold.ttf +0 -0
  107. data/assets/font/exo2/static/Exo2-SemiBoldItalic.ttf +0 -0
  108. data/assets/font/exo2/static/Exo2-Thin.ttf +0 -0
  109. data/assets/font/exo2/static/Exo2-ThinItalic.ttf +0 -0
  110. data/assets/img/bonsai-dark.png +0 -0
  111. data/assets/img/bonsai-dark.svg +106 -0
  112. data/assets/img/bonsai-light.png +0 -0
  113. data/assets/img/bonsai-light.svg +81 -0
  114. data/assets/img/bonsai-star.png +0 -0
  115. data/assets/img/bonsai-star.svg +1 -0
  116. data/assets/img/books/the-ancient-art-of-bonsai.png +0 -0
  117. data/assets/img/favicon-dark.png +0 -0
  118. data/assets/img/favicon-light.png +0 -0
  119. data/assets/img/nav-base-dark.svg +1 -0
  120. data/assets/img/nav-base-light.svg +1 -0
  121. data/assets/img/nav-base-star.svg +1 -0
  122. data/assets/img/nav-bonsai-dark.svg +1 -0
  123. data/assets/img/nav-bonsai-light.svg +1 -0
  124. data/assets/img/nav-bonsai-star.svg +1 -0
  125. data/assets/js/entry.js +130 -0
  126. data/assets/js/graph.js +64 -0
  127. data/assets/js/scripts.js +64 -0
  128. data/assets/js/search.js +165 -0
  129. data/assets/js/site-nav.js +132 -0
  130. data/assets/js/theme-colors.js +57 -0
  131. data/assets/js/vendor/lunr.js +3475 -0
  132. data/assets/js/vendor/lunr.min.js +6 -0
  133. data/assets/js/visited-nav.js +65 -0
  134. metadata +289 -4
  135. data/lib/jekyll-wikibonsai/version.rb +0 -9
  136. data/lib/jekyll-wikibonsai.rb +0 -10
@@ -0,0 +1,96 @@
1
+ //
2
+ // Base element style overrides
3
+ //
4
+ // stylelint-disable selector-no-type, selector-max-type
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ ::selection {
11
+ background: var(--selection-color);
12
+ }
13
+
14
+ html {
15
+ @include fs-4;
16
+ scroll-behavior: smooth;
17
+ }
18
+
19
+ body {
20
+ font-family: $body-font-family;
21
+ font-size: inherit;
22
+ line-height: $body-line-height;
23
+ color: var(--body-text-color);
24
+ background-color: var(--body-background-color);
25
+ }
26
+
27
+ ol,
28
+ ul,
29
+ dl,
30
+ pre,
31
+ address,
32
+ blockquote,
33
+ table,
34
+ div,
35
+ hr,
36
+ form,
37
+ fieldset,
38
+ noscript .table-wrapper {
39
+ margin-top: 0;
40
+ }
41
+
42
+ h1,
43
+ h2,
44
+ h3,
45
+ h4,
46
+ h5,
47
+ h6 {
48
+ // margin-top: 0;
49
+ // margin-bottom: 1em;
50
+ font-weight: 500;
51
+ line-height: $body-heading-line-height;
52
+ color: var(--small-heading-color);
53
+ }
54
+
55
+ p {
56
+ margin-top: 1em;
57
+ margin-bottom: 1em;
58
+ }
59
+
60
+ code {
61
+ font-family: $mono-font-family;
62
+ font-size: 0.75em;
63
+ line-height: $body-line-height;
64
+ }
65
+
66
+ figure,
67
+ pre {
68
+ margin: 0;
69
+ }
70
+
71
+ ul {
72
+ margin-bottom: 0;
73
+ padding: $sp-2;
74
+
75
+ li {
76
+ padding: $sp-1;
77
+ list-style-type: none !important;
78
+
79
+ &::before {
80
+ content: "" !important;
81
+ }
82
+ }
83
+ }
84
+
85
+ img {
86
+ max-width: 100%;
87
+ height: auto;
88
+ }
89
+
90
+ hr {
91
+ height: 1px;
92
+ padding: 0;
93
+ margin: $sp-6 0;
94
+ background-color: var(--accent-light-color);
95
+ border: 0;
96
+ }
@@ -0,0 +1,281 @@
1
+ @charset "UTF-8";
2
+
3
+ //
4
+ // Styles for rendered markdown in the .main-content container
5
+ //
6
+ // stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type
7
+
8
+ .markdown {
9
+ line-height: $content-line-height;
10
+
11
+ ol,
12
+ ul,
13
+ dl,
14
+ pre,
15
+ address,
16
+ blockquote,
17
+ .table-wrapper {
18
+ margin-top: 0.5em;
19
+ }
20
+
21
+ a {
22
+ overflow: hidden;
23
+ text-overflow: ellipsis;
24
+ white-space: nowrap;
25
+
26
+ &.web-link:after {
27
+ @include fs-3;
28
+ font-family: $mono-font-family;
29
+ position: relative;
30
+ top: -0.5em; // sass variable not working here
31
+ content: "↗";
32
+ color: #aaaaaa;
33
+ }
34
+ }
35
+
36
+ ul,
37
+ ol {
38
+ padding-left: 1.5em;
39
+ }
40
+
41
+ li {
42
+ .highlight {
43
+ margin-top: $sp-1;
44
+ }
45
+ }
46
+
47
+ ol {
48
+ list-style-type: none;
49
+ counter-reset: step-counter;
50
+
51
+ > li {
52
+ position: relative;
53
+
54
+ &::before {
55
+ position: absolute;
56
+ top: 0.2em;
57
+ left: -1.6em;
58
+ color: $accent-txt-color;
59
+ content: counter(step-counter);
60
+ counter-increment: step-counter;
61
+ @include fs-3;
62
+
63
+ @include mq(sm) {
64
+ top: 0.11em;
65
+ }
66
+ }
67
+
68
+ ol {
69
+ counter-reset: sub-counter;
70
+
71
+ li {
72
+ &::before {
73
+ content: counter(sub-counter, lower-alpha);
74
+ counter-increment: sub-counter;
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ ul {
82
+ margin-top: 0;
83
+ list-style: none !important;
84
+
85
+ > li {
86
+ &::before {
87
+ position: absolute;
88
+ margin-left: -1.4em;
89
+ color: $accent-txt-color;
90
+ content: "•" !important;
91
+ }
92
+ }
93
+ }
94
+
95
+ .task-list {
96
+ padding-left: 0;
97
+ }
98
+
99
+ .task-list-item {
100
+ display: flex;
101
+ align-items: center;
102
+
103
+ &::before {
104
+ content: "";
105
+ }
106
+ }
107
+
108
+ .task-list-item-checkbox {
109
+ margin-right: 0.6em;
110
+ }
111
+
112
+ hr {
113
+ background-color: var(--accent-light-color);
114
+
115
+ + * {
116
+ margin-top: 0;
117
+ }
118
+ }
119
+
120
+ dl {
121
+ display: grid;
122
+ grid-template: auto / 10em 1fr;
123
+ }
124
+
125
+ dt,
126
+ dd {
127
+ margin: 0.25em 0;
128
+ }
129
+
130
+ dt {
131
+ grid-column: 1;
132
+ font-weight: 500;
133
+ text-align: right;
134
+ &::after {
135
+ content: ":";
136
+ }
137
+ }
138
+
139
+ dd {
140
+ grid-column: 2;
141
+ margin-bottom: 0;
142
+ margin-left: 1em;
143
+ blockquote,
144
+ div,
145
+ dl,
146
+ dt,
147
+ h1,
148
+ h2,
149
+ h3,
150
+ h4,
151
+ h5,
152
+ h6,
153
+ li,
154
+ ol,
155
+ p,
156
+ pre,
157
+ table,
158
+ ul,
159
+ .table-wrapper {
160
+ &:first-child {
161
+ margin-top: 0;
162
+ }
163
+ }
164
+ }
165
+
166
+ dd,
167
+ ol,
168
+ ul {
169
+ dl:first-child {
170
+ dt:first-child,
171
+ dd:nth-child(2) {
172
+ margin-top: 0;
173
+ }
174
+ }
175
+ }
176
+
177
+ summary {
178
+ cursor: pointer;
179
+ }
180
+
181
+ h1,
182
+ h2,
183
+ h3,
184
+ h4,
185
+ h5,
186
+ h6 {
187
+ position: relative;
188
+ margin-top: 0.25em;
189
+ margin-bottom: 0.25em;
190
+
191
+ // &:first-child {
192
+ // margin-top: $sp-2;
193
+ // }
194
+
195
+ + table,
196
+ + .table-wrapper,
197
+ + .code-example,
198
+ + .highlighter-rouge {
199
+ margin-top: 1em;
200
+ }
201
+ }
202
+
203
+ // from:
204
+ // - https://codepen.io/jimmycow/pen/LmjVaz
205
+ // - https://codepen.io/JoeHastings/pen/MOdRVm
206
+ blockquote {
207
+ @include fs-3;
208
+ margin: 0;
209
+ padding: $sp-2;
210
+
211
+ border-left: $sp-1 solid var(--accent-light-color);
212
+
213
+ & p {
214
+ padding-left: $sp-6;
215
+ }
216
+
217
+ &:before {
218
+ @include fs-10;
219
+ font-family: 'Special Elite', cursive;
220
+ position: absolute;
221
+ color: var(--accent-light-color);
222
+ width: 4rem;
223
+ height: 4rem;
224
+
225
+ content: '“';
226
+ }
227
+ }
228
+
229
+ .footnotes {
230
+ border-top: double var(--accent-light-color);
231
+ }
232
+
233
+ .footnote, .reversefootnote {
234
+ color: var(--wiki-link-color);
235
+ }
236
+
237
+ // tables
238
+ table {
239
+ display: table;
240
+ width: 100%;
241
+ border-collapse: separate;
242
+ }
243
+
244
+ th,
245
+ td {
246
+ @include fs-3;
247
+ min-width: 120px;
248
+ padding-top: $sp-2;
249
+ padding-bottom: $sp-2;
250
+ padding-right: $sp-3;
251
+ padding-left: $sp-3;
252
+ background-color: var(--accent-dark-color);
253
+ border-bottom: $border rgba(var(--accent-light-color), 0.5);
254
+ border-left: $border var(--accent-light-color);
255
+
256
+ &:first-of-type {
257
+ border-left: 0;
258
+ }
259
+ }
260
+
261
+ tbody {
262
+ tr {
263
+ &:last-of-type {
264
+ th,
265
+ td {
266
+ border-bottom: 0;
267
+ }
268
+
269
+ td {
270
+ padding-bottom: $sp-3;
271
+ }
272
+ }
273
+ }
274
+ }
275
+
276
+ thead {
277
+ th {
278
+ border-bottom: $border var(--accent-light-color);
279
+ }
280
+ }
281
+ }
@@ -0,0 +1,89 @@
1
+ //
2
+ // Typography
3
+ //
4
+ // stylelint-disable primer/selector-no-utility, primer/no-override, selector-no-type, selector-max-type
5
+
6
+ body {
7
+ line-height: $content-line-height;
8
+ }
9
+
10
+ h1,
11
+ h2,
12
+ h3,
13
+ h4,
14
+ h5,
15
+ h6 {
16
+ position: relative;
17
+ margin-top: 0.25em;
18
+ margin-bottom: 0.25em;
19
+ padding-top: $sp-2;
20
+ }
21
+
22
+ h1,
23
+ .text-alpha {
24
+ @include fs-10;
25
+ }
26
+
27
+ h2,
28
+ .text-beta {
29
+ @include fs-8;
30
+ }
31
+
32
+ h3,
33
+ .text-gamma {
34
+ @include fs-7;
35
+ }
36
+
37
+ h4,
38
+ .text-delta {
39
+ @include fs-6;
40
+ }
41
+
42
+ h4 code {
43
+ text-transform: none;
44
+ }
45
+
46
+ h5,
47
+ .text-epsilon {
48
+ @include fs-5;
49
+ color: $accent-txt-color;
50
+ }
51
+
52
+ h6,
53
+ .text-zeta {
54
+ @include fs-4;
55
+ color: $accent-txt-color;
56
+ }
57
+
58
+ .text {
59
+
60
+ &--center {
61
+ text-align: center !important;
62
+ }
63
+
64
+ &--date {
65
+ @include fs-4;
66
+ color: $accent-txt-color;
67
+ }
68
+
69
+ &--small {
70
+ @include fs-2;
71
+ color: $accent-txt-color;
72
+ }
73
+
74
+ // &--left {
75
+ // text-align: left !important;
76
+ // }
77
+
78
+ // &--mono {
79
+ // font-family: $mono-font-family !important;
80
+ // }
81
+
82
+ &--no-point {
83
+ pointer-events: none;
84
+ }
85
+
86
+ // &--right {
87
+ // text-align: right !important;
88
+ // }
89
+ }
@@ -0,0 +1,92 @@
1
+ // gruvbox
2
+
3
+ .highlight {
4
+
5
+ table td { padding: 5px; }
6
+ table pre { margin: 0; }
7
+ .w {
8
+ color: #fbf1c7;
9
+ // background-color: #282828;
10
+ }
11
+ .err {
12
+ color: #fb4934;
13
+ // background-color: #282828;
14
+ font-weight: bold;
15
+ }
16
+ .c, .ch, .cd, .cm, .cpf, .c1, .cs {
17
+ color: #928374;
18
+ font-style: italic;
19
+ }
20
+ .cp {
21
+ color: #8ec07c;
22
+ }
23
+ .nt {
24
+ color: #fb4934;
25
+ }
26
+ .o, .ow {
27
+ color: #fbf1c7;
28
+ }
29
+ .p, .pi {
30
+ color: #fbf1c7;
31
+ }
32
+ .gi {
33
+ color: #b8bb26;
34
+ background-color: #282828;
35
+ }
36
+ .gd {
37
+ color: #fb4934;
38
+ background-color: #282828;
39
+ }
40
+ .gh {
41
+ color: #b8bb26;
42
+ font-weight: bold;
43
+ }
44
+ .k, .kn, .kp, .kr, .kv {
45
+ color: #fb4934;
46
+ }
47
+ .kc {
48
+ color: #d3869b;
49
+ }
50
+ .kt {
51
+ color: #fabd2f;
52
+ }
53
+ .kd {
54
+ color: #fe8019;
55
+ }
56
+ .s, .sb, .sc, .dl, .sd, .s2, .sh, .sx, .s1 {
57
+ color: #b8bb26;
58
+ font-style: italic;
59
+ }
60
+ .si {
61
+ color: #b8bb26;
62
+ font-style: italic;
63
+ }
64
+ .sr {
65
+ color: #b8bb26;
66
+ font-style: italic;
67
+ }
68
+ .sa {
69
+ color: #fb4934;
70
+ }
71
+ .se {
72
+ color: #fe8019;
73
+ }
74
+ .nn {
75
+ color: #8ec07c;
76
+ }
77
+ .nc {
78
+ color: #8ec07c;
79
+ }
80
+ .no {
81
+ color: #d3869b;
82
+ }
83
+ .na {
84
+ color: #b8bb26;
85
+ }
86
+ .m, .mb, .mf, .mh, .mi, .il, .mo, .mx {
87
+ color: #d3869b;
88
+ }
89
+ .ss {
90
+ color: #83a598;
91
+ }
92
+ }