jekyll-bonsai 0.0.3 → 0.0.7
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/LICENSE +676 -0
- data/README.md +3 -5
- data/_config.yml +173 -76
- data/_data/emoji.yml +45 -0
- data/_data/themes.yml +145 -0
- data/_includes/anchor-headings.html +5 -1
- data/_includes/btn_state.html +14 -0
- data/_includes/connect.html +11 -9
- data/_includes/cookie-consent.html +79 -0
- data/_includes/dates.html +22 -0
- data/_includes/hp-tooltip.html +106 -0
- data/_includes/img/bullet-net-web.svg +1 -1
- data/_includes/img/bullet-tree.svg +1 -1
- data/_includes/img/pencil-filter.svg +17 -0
- data/_includes/share.html +10 -8
- data/_includes/site-nav.html +83 -37
- data/_includes/tags.html +49 -0
- data/_includes/themes.scss.liquid +80 -0
- data/_includes/toc.html +187 -0
- data/_layouts/404.html +10 -0
- data/_layouts/about.html +14 -0
- data/_layouts/archive.html +77 -0
- data/_layouts/base.html +68 -0
- data/_layouts/book.html +40 -0
- data/_layouts/entry.html +238 -93
- data/_layouts/home.html +96 -0
- data/_layouts/post.html +30 -22
- data/_layouts/privacy.html +15 -0
- data/_layouts/recent.html +66 -0
- data/_layouts/state.html +54 -43
- data/_sass/base/_code.scss +133 -0
- data/_sass/base/_layout.scss +30 -29
- data/_sass/base/_link.scss +105 -0
- data/_sass/base/_main.scss +19 -126
- data/_sass/base/_markdown.scss +281 -0
- data/_sass/base/_typography.scss +81 -67
- data/_sass/base/code_themes/_gruvbox.scss +92 -0
- data/_sass/base/code_themes/_monokai.scss +217 -0
- data/_sass/base/code_themes/_solarized.scss +84 -0
- data/_sass/components/_btn.scss +95 -0
- data/_sass/components/_infobox.scss +48 -0
- data/_sass/components/_item.scss +28 -0
- data/_sass/components/_search.scss +61 -0
- data/_sass/components/_tag_pills.scss +24 -0
- data/_sass/components/_visited.scss +42 -0
- data/_sass/includes/_anchor_headings.scss +36 -0
- data/_sass/includes/_connect.scss +8 -0
- data/_sass/includes/_cookie_consent.scss +46 -0
- data/_sass/includes/_dates.scss +6 -0
- data/_sass/includes/_hp_tooltip.scss +41 -0
- data/_sass/includes/_share.scss +10 -0
- data/_sass/includes/_site_nav.scss +26 -150
- data/_sass/includes/_svg.scss +89 -0
- data/_sass/includes/_toc.scss +38 -0
- data/_sass/layouts/_404.scss +3 -0
- data/_sass/layouts/_about.scss +3 -0
- data/_sass/layouts/_archive.scss +26 -0
- data/_sass/layouts/_book.scss +17 -0
- data/_sass/layouts/_entry.scss +140 -0
- data/_sass/layouts/_home.scss +75 -0
- data/_sass/layouts/_post.scss +17 -0
- data/_sass/layouts/_privacy.scss +3 -0
- data/_sass/layouts/_recent.scss +77 -0
- data/_sass/layouts/_state.scss +98 -0
- data/_sass/main.scss +72 -0
- data/_sass/{support → util}/_functions.scss +0 -0
- data/_sass/{support → util}/_variables.scss +21 -87
- data/_sass/{support → util}/mixins/_buttons.scss +0 -0
- data/_sass/util/mixins/_layout.scss +81 -0
- data/_sass/{support → util}/mixins/_typography.scss +0 -0
- data/assets/css/styles.scss +29 -6
- data/assets/img/bonsai-star.png +0 -0
- data/assets/img/bonsai-star.svg +1 -0
- data/assets/img/books/the-ancient-art-of-bonsai.png +0 -0
- data/assets/img/nav-base-star.svg +1 -0
- data/assets/img/nav-bonsai-star.svg +1 -0
- data/assets/js/entry.js +33 -5
- data/assets/js/graph.js +21 -509
- data/assets/js/scripts.js +41 -57
- data/assets/js/search.js +165 -0
- data/assets/js/site-nav.js +99 -99
- data/assets/js/theme-colors.js +23 -37
- data/assets/js/vendor/lunr.js +3475 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/visited-nav.js +65 -0
- metadata +145 -150
- data/_entries/digital-garden.bonsai.md +0 -36
- data/_entries/digital-garden.field-logs.md +0 -10
- data/_entries/digital-garden.fork.md +0 -10
- data/_entries/digital-garden.md +0 -17
- data/_entries/digital-garden.path.md +0 -11
- data/_entries/digital-garden.plants.md +0 -12
- data/_entries/digital-garden.pollinate.md +0 -10
- data/_entries/digital-garden.steps.md +0 -10
- data/_entries/digital-garden.stream.md +0 -12
- data/_entries/digital-garden.sweep.md +0 -12
- data/_entries/digital-garden.weather.md +0 -12
- data/_entries/features.md +0 -10
- data/_entries/features.notes.hover-preview.md +0 -10
- data/_entries/features.notes.md +0 -12
- data/_entries/features.notes.note-body.md +0 -12
- data/_entries/features.notes.note-body.share.md +0 -10
- data/_entries/features.notes.note-body.sidenotes.md +0 -52
- data/_entries/features.notes.note-foot.links.md +0 -10
- data/_entries/features.notes.note-foot.md +0 -11
- data/_entries/features.notes.note-foot.posts.md +0 -10
- data/_entries/features.notes.note-foot.webmentions.md +0 -10
- data/_entries/features.notes.note-head.md +0 -10
- data/_entries/features.pages.field-blogs.md +0 -10
- data/_entries/features.pages.md +0 -12
- data/_entries/features.pages.recent.md +0 -10
- data/_entries/features.pages.status-tags.md +0 -10
- data/_entries/features.site-nav.graph.links.md +0 -10
- data/_entries/features.site-nav.graph.links.namespacing.md +0 -14
- data/_entries/features.site-nav.graph.links.wikilinks.md +0 -25
- data/_entries/features.site-nav.graph.md +0 -12
- data/_entries/features.site-nav.graph.nodes.current-note.md +0 -10
- data/_entries/features.site-nav.graph.nodes.md +0 -12
- data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +0 -20
- data/_entries/features.site-nav.graph.nodes.visited-status.md +0 -10
- data/_entries/features.site-nav.graph.toggle-graph.md +0 -13
- data/_entries/features.site-nav.graph.type.md +0 -16
- data/_entries/features.site-nav.graph.type.net-web.md +0 -10
- data/_entries/features.site-nav.graph.type.tree.md +0 -12
- data/_entries/features.site-nav.md +0 -10
- data/_entries/features.site-nav.visited.md +0 -14
- data/_entries/features.tags.md +0 -13
- data/_entries/features.themes.dark.md +0 -12
- data/_entries/features.themes.light.md +0 -10
- data/_entries/features.themes.md +0 -12
- data/_entries/features.visited.delete-data.md +0 -10
- data/_entries/features.visited.md +0 -12
- data/_entries/features.visitor-preferences.md +0 -27
- data/_entries/feedback.md +0 -10
- data/_entries/people.creator.md +0 -12
- data/_entries/people.md +0 -13
- data/_entries/people.visitors.md +0 -12
- data/_entries/plugins.jekyll-wikilinks.md +0 -10
- data/_entries/plugins.md +0 -10
- data/_entries/root.md +0 -26
- data/_includes/entry-attrs.html +0 -27
- data/_includes/head.html +0 -23
- data/_includes/hover-preview.html +0 -84
- data/_includes/metrics.html +0 -10
- data/_includes/styles.scss.liquid +0 -3
- data/_layouts/default.html +0 -39
- data/_pages/about.md +0 -7
- data/_pages/posts.html +0 -19
- data/_pages/recent.html +0 -48
- data/_plugins/doc_filters.rb +0 -44
- data/_plugins/prep_entry.rb +0 -43
- data/_plugins/sidenote.rb +0 -123
- data/_plugins/tags.rb +0 -52
- data/_sass/base/base.scss +0 -3
- data/_sass/color/dark.scss +0 -58
- data/_sass/color/light.scss +0 -58
- data/_sass/includes/_btn.scss +0 -106
- data/_sass/includes/_graph.scss +0 -69
- data/_sass/includes/_nav.scss +0 -89
- data/_sass/includes/_tooltip.scss +0 -29
- data/_sass/includes/includes.scss +0 -9
- data/_sass/markdown/_code.scss +0 -340
- data/_sass/markdown/_content.scss +0 -400
- data/_sass/markdown/_tables.scss +0 -60
- data/_sass/markdown/markdown.scss +0 -7
- data/_sass/modules.scss +0 -14
- data/_sass/pages/_index.scss +0 -72
- data/_sass/pages/_posts.scss +0 -17
- data/_sass/pages/_recent.scss +0 -26
- data/_sass/pages/_state.scss +0 -72
- data/_sass/pages/pages.scss +0 -4
- data/_sass/support/mixins/_layout.scss +0 -56
- data/_sass/support/mixins/mixins.scss +0 -3
- data/_sass/support/support.scss +0 -3
- data/_states/bamboo.md +0 -8
- data/_states/berry.md +0 -8
- data/_states/bloom.md +0 -8
- data/_states/bud.md +0 -6
- data/_states/fruit.md +0 -8
- data/_states/melon.md +0 -8
- data/_states/pot-bamboo.md +0 -8
- data/_states/seed.md +0 -8
- data/_states/sprout.md +0 -8
- data/_states/tags.md +0 -8
- data/_states/tea.md +0 -8
- data/assets/css/styles-dark.scss +0 -3
- data/assets/css/styles-light.scss +0 -3
- data/assets/img/nav-dot-dark.svg +0 -1
- data/assets/img/nav-dot-light.svg +0 -1
- data/assets/img/nav-wiki-links-dark.svg +0 -1
- data/assets/img/nav-wiki-links-light.svg +0 -1
- data/index.html +0 -82
data/_sass/markdown/_code.scss
DELETED
@@ -1,340 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Code and syntax highlighting
|
3
|
-
//
|
4
|
-
// stylelint-disable selector-no-qualifying-type, declaration-block-semicolon-newline-after,declaration-block-single-line-max-declarations, selector-no-type, selector-max-type
|
5
|
-
|
6
|
-
code {
|
7
|
-
padding: 0.2em 0.15em;
|
8
|
-
font-weight: 400;
|
9
|
-
background-color: $code-background-color;
|
10
|
-
border: $border $border-color;
|
11
|
-
border-radius: $border-radius;
|
12
|
-
}
|
13
|
-
|
14
|
-
// Avoid appearance of dark border around visited code links in Safari
|
15
|
-
a:visited code {
|
16
|
-
border-color: $border-color;
|
17
|
-
}
|
18
|
-
|
19
|
-
// Content structure for highlighted code blocks using fences or Liquid
|
20
|
-
//
|
21
|
-
// ```[LANG]...```, no kramdown line_numbers:
|
22
|
-
// div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
|
23
|
-
//
|
24
|
-
// ```[LANG]...```, kramdown line_numbers = true:
|
25
|
-
// div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
|
26
|
-
// > div.table-wrapper > table.rouge-table > tbody > tr
|
27
|
-
// > td.rouge-gutter.gl > pre.lineno
|
28
|
-
// | td.rouge-code > pre
|
29
|
-
//
|
30
|
-
// {% highlight LANG %}...{% endhighlight %}:
|
31
|
-
// figure.highlight > pre > code.language-LANG
|
32
|
-
//
|
33
|
-
// {% highlight LANG linenos %}...{% endhighlight %}:
|
34
|
-
// figure.highlight > pre > code.language-LANG
|
35
|
-
// > div.table-wrapper > table.rouge-table > tbody > tr
|
36
|
-
// > td.gutter.gl > pre.lineno
|
37
|
-
// | td.code > pre
|
38
|
-
//
|
39
|
-
// fix_linenos removes the outermost pre when it encloses table.rouge-table
|
40
|
-
//
|
41
|
-
// See docs/index-test.md for some tests.
|
42
|
-
//
|
43
|
-
// No kramdown line_numbers: fences and Liquid highlighting look the same.
|
44
|
-
// Kramdown line_numbers = true: fences have a wider gutter than with Liquid?
|
45
|
-
|
46
|
-
// ```[LANG]...```
|
47
|
-
div.highlighter-rouge {
|
48
|
-
padding: $sp-3;
|
49
|
-
margin-top: 0;
|
50
|
-
margin-bottom: $sp-3;
|
51
|
-
overflow-x: auto;
|
52
|
-
background-color: $code-background-color;
|
53
|
-
border-radius: $border-radius;
|
54
|
-
box-shadow: none;
|
55
|
-
-webkit-overflow-scrolling: touch;
|
56
|
-
|
57
|
-
div.highlight,
|
58
|
-
pre.highlight,
|
59
|
-
code {
|
60
|
-
padding: 0;
|
61
|
-
margin: 0;
|
62
|
-
border: 0;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
// {% highlight LANG %}...{% endhighlight %},
|
67
|
-
// {% highlight LANG linenos %}...{% endhighlight %}:
|
68
|
-
figure.highlight {
|
69
|
-
padding: $sp-3;
|
70
|
-
margin-top: 0;
|
71
|
-
margin-bottom: $sp-3;
|
72
|
-
background-color: $code-background-color;
|
73
|
-
border-radius: $border-radius;
|
74
|
-
box-shadow: none;
|
75
|
-
-webkit-overflow-scrolling: touch;
|
76
|
-
|
77
|
-
pre,
|
78
|
-
code {
|
79
|
-
padding: 0;
|
80
|
-
margin: 0;
|
81
|
-
border: 0;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
// ```[LANG]...```, kramdown line_numbers = true,
|
86
|
-
// {% highlight LANG linenos %}...{% endhighlight %}:
|
87
|
-
.highlight .table-wrapper {
|
88
|
-
padding: 0;
|
89
|
-
margin: 0;
|
90
|
-
border: 0;
|
91
|
-
box-shadow: none;
|
92
|
-
|
93
|
-
td,
|
94
|
-
pre {
|
95
|
-
@include fs-2;
|
96
|
-
min-width: 0;
|
97
|
-
padding: 0;
|
98
|
-
background-color: $code-background-color;
|
99
|
-
border: 0;
|
100
|
-
}
|
101
|
-
|
102
|
-
td.gl {
|
103
|
-
padding-right: $sp-3;
|
104
|
-
}
|
105
|
-
|
106
|
-
pre {
|
107
|
-
margin: 0;
|
108
|
-
line-height: 2;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
.highlight .c {
|
113
|
-
color: #586e75;
|
114
|
-
} // comment //
|
115
|
-
.highlight .err {
|
116
|
-
color: #93a1a1;
|
117
|
-
} // error //
|
118
|
-
.highlight .g {
|
119
|
-
color: #93a1a1;
|
120
|
-
} // generic //
|
121
|
-
.highlight .k {
|
122
|
-
color: #859900;
|
123
|
-
} // keyword //
|
124
|
-
.highlight .l {
|
125
|
-
color: #93a1a1;
|
126
|
-
} // literal //
|
127
|
-
.highlight .n {
|
128
|
-
color: #93a1a1;
|
129
|
-
} // name //
|
130
|
-
.highlight .o {
|
131
|
-
color: #859900;
|
132
|
-
} // operator //
|
133
|
-
.highlight .x {
|
134
|
-
color: #cb4b16;
|
135
|
-
} // other //
|
136
|
-
.highlight .p {
|
137
|
-
color: #93a1a1;
|
138
|
-
} // punctuation //
|
139
|
-
.highlight .cm {
|
140
|
-
color: #586e75;
|
141
|
-
} // comment.multiline //
|
142
|
-
.highlight .cp {
|
143
|
-
color: #859900;
|
144
|
-
} // comment.preproc //
|
145
|
-
.highlight .c1 {
|
146
|
-
color: #586e75;
|
147
|
-
} // comment.single //
|
148
|
-
.highlight .cs {
|
149
|
-
color: #859900;
|
150
|
-
} // comment.special //
|
151
|
-
.highlight .gd {
|
152
|
-
color: #2aa198;
|
153
|
-
} // generic.deleted //
|
154
|
-
.highlight .ge {
|
155
|
-
font-style: italic;
|
156
|
-
color: #93a1a1;
|
157
|
-
} // generic.emph //
|
158
|
-
.highlight .gr {
|
159
|
-
color: #dc322f;
|
160
|
-
} // generic.error //
|
161
|
-
.highlight .gh {
|
162
|
-
color: #cb4b16;
|
163
|
-
} // generic.heading //
|
164
|
-
.highlight .gi {
|
165
|
-
color: #859900;
|
166
|
-
} // generic.inserted //
|
167
|
-
.highlight .go {
|
168
|
-
color: #93a1a1;
|
169
|
-
} // generic.output //
|
170
|
-
.highlight .gp {
|
171
|
-
color: #93a1a1;
|
172
|
-
} // generic.prompt //
|
173
|
-
.highlight .gs {
|
174
|
-
font-weight: bold;
|
175
|
-
color: #93a1a1;
|
176
|
-
} // generic.strong //
|
177
|
-
.highlight .gu {
|
178
|
-
color: #cb4b16;
|
179
|
-
} // generic.subheading //
|
180
|
-
.highlight .gt {
|
181
|
-
color: #93a1a1;
|
182
|
-
} // generic.traceback //
|
183
|
-
.highlight .kc {
|
184
|
-
color: #cb4b16;
|
185
|
-
} // keyword.constant //
|
186
|
-
.highlight .kd {
|
187
|
-
color: #268bd2;
|
188
|
-
} // keyword.declaration //
|
189
|
-
.highlight .kn {
|
190
|
-
color: #859900;
|
191
|
-
} // keyword.namespace //
|
192
|
-
.highlight .kp {
|
193
|
-
color: #859900;
|
194
|
-
} // keyword.pseudo //
|
195
|
-
.highlight .kr {
|
196
|
-
color: #268bd2;
|
197
|
-
} // keyword.reserved //
|
198
|
-
.highlight .kt {
|
199
|
-
color: #dc322f;
|
200
|
-
} // keyword.type //
|
201
|
-
.highlight .ld {
|
202
|
-
color: #93a1a1;
|
203
|
-
} // literal.date //
|
204
|
-
.highlight .m {
|
205
|
-
color: #2aa198;
|
206
|
-
} // literal.number //
|
207
|
-
.highlight .s {
|
208
|
-
color: #2aa198;
|
209
|
-
} // literal.string //
|
210
|
-
.highlight .na {
|
211
|
-
color: #555;
|
212
|
-
} // name.attribute //
|
213
|
-
.highlight .nb {
|
214
|
-
color: #b58900;
|
215
|
-
} // name.builtin //
|
216
|
-
.highlight .nc {
|
217
|
-
color: #268bd2;
|
218
|
-
} // name.class //
|
219
|
-
.highlight .no {
|
220
|
-
color: #cb4b16;
|
221
|
-
} // name.constant //
|
222
|
-
.highlight .nd {
|
223
|
-
color: #268bd2;
|
224
|
-
} // name.decorator //
|
225
|
-
.highlight .ni {
|
226
|
-
color: #cb4b16;
|
227
|
-
} // name.entity //
|
228
|
-
.highlight .ne {
|
229
|
-
color: #cb4b16;
|
230
|
-
} // name.exception //
|
231
|
-
.highlight .nf {
|
232
|
-
color: #268bd2;
|
233
|
-
} // name.function //
|
234
|
-
.highlight .nl {
|
235
|
-
color: #555;
|
236
|
-
} // name.label //
|
237
|
-
.highlight .nn {
|
238
|
-
color: #93a1a1;
|
239
|
-
} // name.namespace //
|
240
|
-
.highlight .nx {
|
241
|
-
color: #555;
|
242
|
-
} // name.other //
|
243
|
-
.highlight .py {
|
244
|
-
color: #93a1a1;
|
245
|
-
} // name.property //
|
246
|
-
.highlight .nt {
|
247
|
-
color: #268bd2;
|
248
|
-
} // name.tag //
|
249
|
-
.highlight .nv {
|
250
|
-
color: #268bd2;
|
251
|
-
} // name.variable //
|
252
|
-
.highlight .ow {
|
253
|
-
color: #859900;
|
254
|
-
} // operator.word //
|
255
|
-
.highlight .w {
|
256
|
-
color: #93a1a1;
|
257
|
-
} // text.whitespace //
|
258
|
-
.highlight .mf {
|
259
|
-
color: #2aa198;
|
260
|
-
} // literal.number.float //
|
261
|
-
.highlight .mh {
|
262
|
-
color: #2aa198;
|
263
|
-
} // literal.number.hex //
|
264
|
-
.highlight .mi {
|
265
|
-
color: #2aa198;
|
266
|
-
} // literal.number.integer //
|
267
|
-
.highlight .mo {
|
268
|
-
color: #2aa198;
|
269
|
-
} // literal.number.oct //
|
270
|
-
.highlight .sb {
|
271
|
-
color: #586e75;
|
272
|
-
} // literal.string.backtick //
|
273
|
-
.highlight .sc {
|
274
|
-
color: #2aa198;
|
275
|
-
} // literal.string.char //
|
276
|
-
.highlight .sd {
|
277
|
-
color: #93a1a1;
|
278
|
-
} // literal.string.doc //
|
279
|
-
.highlight .s2 {
|
280
|
-
color: #2aa198;
|
281
|
-
} // literal.string.double //
|
282
|
-
.highlight .se {
|
283
|
-
color: #cb4b16;
|
284
|
-
} // literal.string.escape //
|
285
|
-
.highlight .sh {
|
286
|
-
color: #93a1a1;
|
287
|
-
} // literal.string.heredoc //
|
288
|
-
.highlight .si {
|
289
|
-
color: #2aa198;
|
290
|
-
} // literal.string.interpol //
|
291
|
-
.highlight .sx {
|
292
|
-
color: #2aa198;
|
293
|
-
} // literal.string.other //
|
294
|
-
.highlight .sr {
|
295
|
-
color: #dc322f;
|
296
|
-
} // literal.string.regex //
|
297
|
-
.highlight .s1 {
|
298
|
-
color: #2aa198;
|
299
|
-
} // literal.string.single //
|
300
|
-
.highlight .ss {
|
301
|
-
color: #2aa198;
|
302
|
-
} // literal.string.symbol //
|
303
|
-
.highlight .bp {
|
304
|
-
color: #268bd2;
|
305
|
-
} // name.builtin.pseudo //
|
306
|
-
.highlight .vc {
|
307
|
-
color: #268bd2;
|
308
|
-
} // name.variable.class //
|
309
|
-
.highlight .vg {
|
310
|
-
color: #268bd2;
|
311
|
-
} // name.variable.global //
|
312
|
-
.highlight .vi {
|
313
|
-
color: #268bd2;
|
314
|
-
} // name.variable.instance //
|
315
|
-
.highlight .il {
|
316
|
-
color: #2aa198;
|
317
|
-
} // literal.number.integer.long //
|
318
|
-
|
319
|
-
//
|
320
|
-
// Code examples (rendered)
|
321
|
-
//
|
322
|
-
|
323
|
-
.code-example {
|
324
|
-
padding: $sp-3;
|
325
|
-
margin-bottom: $sp-3;
|
326
|
-
overflow: auto;
|
327
|
-
border: 1px solid $border-color;
|
328
|
-
border-radius: $border-radius;
|
329
|
-
|
330
|
-
+ .highlighter-rouge,
|
331
|
-
+ figure.highlight {
|
332
|
-
position: relative;
|
333
|
-
margin-top: -$sp-4;
|
334
|
-
border-right: 1px solid $border-color;
|
335
|
-
border-bottom: 1px solid $border-color;
|
336
|
-
border-left: 1px solid $border-color;
|
337
|
-
border-top-left-radius: 0;
|
338
|
-
border-top-right-radius: 0;
|
339
|
-
}
|
340
|
-
}
|
@@ -1,400 +0,0 @@
|
|
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
|
-
.main-content {
|
9
|
-
flex: 1 0 auto;
|
10
|
-
|
11
|
-
line-height: $content-line-height;
|
12
|
-
counter-reset: sidenote-counter;
|
13
|
-
|
14
|
-
ol,
|
15
|
-
ul,
|
16
|
-
dl,
|
17
|
-
pre,
|
18
|
-
address,
|
19
|
-
blockquote,
|
20
|
-
.table-wrapper {
|
21
|
-
margin-top: 0.5em;
|
22
|
-
}
|
23
|
-
|
24
|
-
a {
|
25
|
-
overflow: hidden;
|
26
|
-
text-overflow: ellipsis;
|
27
|
-
white-space: nowrap;
|
28
|
-
|
29
|
-
&:not(.wiki-link):not(.wiki-link-embed-link):not(.sem-tag):not(.stat-tag):not(.anchor-heading):not(.footnote):not(.reversefootnote):after {
|
30
|
-
@include fs-3;
|
31
|
-
font-family: $mono-font-family;
|
32
|
-
position: relative;
|
33
|
-
top: -0.5em; // sass variable not working here
|
34
|
-
content: "↗";
|
35
|
-
color: #aaaaaa;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
ul,
|
40
|
-
ol {
|
41
|
-
padding-left: 1.5em;
|
42
|
-
}
|
43
|
-
|
44
|
-
li {
|
45
|
-
.highlight {
|
46
|
-
margin-top: $sp-1;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
ol {
|
51
|
-
list-style-type: none;
|
52
|
-
counter-reset: step-counter;
|
53
|
-
|
54
|
-
> li {
|
55
|
-
position: relative;
|
56
|
-
|
57
|
-
&::before {
|
58
|
-
position: absolute;
|
59
|
-
top: 0.2em;
|
60
|
-
left: -1.6em;
|
61
|
-
color: $grey-dk-000;
|
62
|
-
content: counter(step-counter);
|
63
|
-
counter-increment: step-counter;
|
64
|
-
@include fs-3;
|
65
|
-
|
66
|
-
@include mq(sm) {
|
67
|
-
top: 0.11em;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
ol {
|
72
|
-
counter-reset: sub-counter;
|
73
|
-
|
74
|
-
li {
|
75
|
-
&::before {
|
76
|
-
content: counter(sub-counter, lower-alpha);
|
77
|
-
counter-increment: sub-counter;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
ul {
|
85
|
-
list-style: none;
|
86
|
-
|
87
|
-
> li {
|
88
|
-
&::before {
|
89
|
-
position: absolute;
|
90
|
-
margin-left: -1.4em;
|
91
|
-
color: $grey-dk-000;
|
92
|
-
content: "•";
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
.task-list {
|
98
|
-
padding-left: 0;
|
99
|
-
}
|
100
|
-
|
101
|
-
.task-list-item {
|
102
|
-
display: flex;
|
103
|
-
align-items: center;
|
104
|
-
|
105
|
-
&::before {
|
106
|
-
content: "";
|
107
|
-
}
|
108
|
-
}
|
109
|
-
|
110
|
-
.task-list-item-checkbox {
|
111
|
-
margin-right: 0.6em;
|
112
|
-
}
|
113
|
-
|
114
|
-
hr {
|
115
|
-
background-color: $separator-color;
|
116
|
-
|
117
|
-
+ * {
|
118
|
-
margin-top: 0;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
dl {
|
123
|
-
display: grid;
|
124
|
-
grid-template: auto / 10em 1fr;
|
125
|
-
}
|
126
|
-
|
127
|
-
dt,
|
128
|
-
dd {
|
129
|
-
margin: 0.25em 0;
|
130
|
-
}
|
131
|
-
|
132
|
-
dt {
|
133
|
-
grid-column: 1;
|
134
|
-
font-weight: 500;
|
135
|
-
text-align: right;
|
136
|
-
&::after {
|
137
|
-
content: ":";
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
dd {
|
142
|
-
grid-column: 2;
|
143
|
-
margin-bottom: 0;
|
144
|
-
margin-left: 1em;
|
145
|
-
blockquote,
|
146
|
-
div,
|
147
|
-
dl,
|
148
|
-
dt,
|
149
|
-
h1,
|
150
|
-
h2,
|
151
|
-
h3,
|
152
|
-
h4,
|
153
|
-
h5,
|
154
|
-
h6,
|
155
|
-
li,
|
156
|
-
ol,
|
157
|
-
p,
|
158
|
-
pre,
|
159
|
-
table,
|
160
|
-
ul,
|
161
|
-
.table-wrapper {
|
162
|
-
&:first-child {
|
163
|
-
margin-top: 0;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
dd,
|
169
|
-
ol,
|
170
|
-
ul {
|
171
|
-
dl:first-child {
|
172
|
-
dt:first-child,
|
173
|
-
dd:nth-child(2) {
|
174
|
-
margin-top: 0;
|
175
|
-
}
|
176
|
-
}
|
177
|
-
}
|
178
|
-
|
179
|
-
.anchor-heading {
|
180
|
-
position: absolute;
|
181
|
-
right: -$sp-4;
|
182
|
-
width: $sp-5;
|
183
|
-
height: 100%;
|
184
|
-
padding-right: $sp-1;
|
185
|
-
padding-left: $sp-1;
|
186
|
-
overflow: visible;
|
187
|
-
|
188
|
-
@include mq(md) {
|
189
|
-
right: auto;
|
190
|
-
left: -$sp-5;
|
191
|
-
}
|
192
|
-
|
193
|
-
.anchor-tag {
|
194
|
-
@include fs-3;
|
195
|
-
display: flex;
|
196
|
-
opacity: 0;
|
197
|
-
|
198
|
-
&:hover {
|
199
|
-
filter: drop-shadow(0 0 0.7mm $drop-shadow-yellow);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
|
204
|
-
.anchor-heading:hover,
|
205
|
-
h1:hover > .anchor-heading,
|
206
|
-
h2:hover > .anchor-heading,
|
207
|
-
h3:hover > .anchor-heading,
|
208
|
-
h4:hover > .anchor-heading,
|
209
|
-
h5:hover > .anchor-heading,
|
210
|
-
h6:hover > .anchor-heading {
|
211
|
-
.anchor-tag {
|
212
|
-
opacity: 1;
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
|
-
summary {
|
217
|
-
cursor: pointer;
|
218
|
-
}
|
219
|
-
|
220
|
-
h1,
|
221
|
-
h2,
|
222
|
-
h3,
|
223
|
-
h4,
|
224
|
-
h5,
|
225
|
-
h6 {
|
226
|
-
position: relative;
|
227
|
-
margin-top: 0.25em;
|
228
|
-
margin-bottom: 0.25em;
|
229
|
-
|
230
|
-
&:first-child {
|
231
|
-
margin-top: $sp-2;
|
232
|
-
}
|
233
|
-
|
234
|
-
+ table,
|
235
|
-
+ .table-wrapper,
|
236
|
-
+ .code-example,
|
237
|
-
+ .highlighter-rouge {
|
238
|
-
margin-top: 1em;
|
239
|
-
}
|
240
|
-
|
241
|
-
+ p {
|
242
|
-
margin-top: 0;
|
243
|
-
}
|
244
|
-
}
|
245
|
-
|
246
|
-
// from:
|
247
|
-
// - https://codepen.io/jimmycow/pen/LmjVaz
|
248
|
-
// - https://codepen.io/JoeHastings/pen/MOdRVm
|
249
|
-
blockquote {
|
250
|
-
@include fs-3;
|
251
|
-
font-family: 'Special Elite', cursive;
|
252
|
-
max-width: $content-width;
|
253
|
-
// line-height: 1.4;
|
254
|
-
position: relative;
|
255
|
-
margin: 0;
|
256
|
-
padding: $sp-2;
|
257
|
-
|
258
|
-
border-left: $sp-1 solid $blockquote-border-color;
|
259
|
-
|
260
|
-
& p {
|
261
|
-
padding-left: $sp-6;
|
262
|
-
}
|
263
|
-
|
264
|
-
&:before {
|
265
|
-
@include fs-10;
|
266
|
-
font-family: 'Special Elite', cursive;
|
267
|
-
position: absolute;
|
268
|
-
color: $blockquote-quote-color;
|
269
|
-
width: 4rem;
|
270
|
-
height: 4rem;
|
271
|
-
|
272
|
-
font-family: 'Special Elite', cursive;
|
273
|
-
content: '“';
|
274
|
-
}
|
275
|
-
}
|
276
|
-
|
277
|
-
.footnotes {
|
278
|
-
border-top: double $separator-color;
|
279
|
-
}
|
280
|
-
|
281
|
-
.footnote, .reversefootnote {
|
282
|
-
color: $wiki-link-color;
|
283
|
-
}
|
284
|
-
|
285
|
-
// Sidenotes
|
286
|
-
// more on sidenote implementation: https://www.gwern.net/Sidenotes
|
287
|
-
|
288
|
-
// right-sidenote
|
289
|
-
.rsn {
|
290
|
-
@include sidenote-container;
|
291
|
-
display: none;
|
292
|
-
word-wrap: break-word;
|
293
|
-
|
294
|
-
@include mq(lg) {
|
295
|
-
display: block;
|
296
|
-
float: right;
|
297
|
-
clear: right;
|
298
|
-
|
299
|
-
margin-right: -$content-sidenote-width;
|
300
|
-
width: $content-sidenote-width;
|
301
|
-
margin-top: $sp-1;
|
302
|
-
margin-bottom: 0;
|
303
|
-
font-size: $font-size-2;
|
304
|
-
// line-height: 1.3;
|
305
|
-
vertical-align: baseline;
|
306
|
-
position: relative;
|
307
|
-
}
|
308
|
-
}
|
309
|
-
|
310
|
-
// left-sidenote
|
311
|
-
.lsn {
|
312
|
-
@include sidenote-container;
|
313
|
-
display: none;
|
314
|
-
word-wrap: break-word;
|
315
|
-
|
316
|
-
@include mq(lg) {
|
317
|
-
display: block;
|
318
|
-
float: left;
|
319
|
-
clear: left;
|
320
|
-
|
321
|
-
margin-left: -$content-sidenote-width;
|
322
|
-
width: $content-sidenote-width;
|
323
|
-
margin-top: $sp-1;
|
324
|
-
margin-bottom: 0;
|
325
|
-
font-size: $font-size-2;
|
326
|
-
// line-height: 1.3;
|
327
|
-
vertical-align: baseline;
|
328
|
-
position: relative;
|
329
|
-
}
|
330
|
-
}
|
331
|
-
|
332
|
-
// all sidenotes
|
333
|
-
.sidenote-toggle:checked + .rsn,
|
334
|
-
.sidenote-toggle:checked + .lsn {
|
335
|
-
display: block;
|
336
|
-
float: left;
|
337
|
-
left: 1rem;
|
338
|
-
clear: both;
|
339
|
-
width: 95%;
|
340
|
-
margin: 1rem 2.5%;
|
341
|
-
vertical-align: baseline;
|
342
|
-
position: relative;
|
343
|
-
}
|
344
|
-
|
345
|
-
label.sidenote-toggle:not(.sidenote-number) {
|
346
|
-
display: inline;
|
347
|
-
}
|
348
|
-
|
349
|
-
.sidenote-number {
|
350
|
-
counter-increment: sidenote-counter;
|
351
|
-
}
|
352
|
-
|
353
|
-
input.sidenote-toggle {
|
354
|
-
display: none;
|
355
|
-
}
|
356
|
-
|
357
|
-
label.sidenote-number {
|
358
|
-
display: inline;
|
359
|
-
}
|
360
|
-
|
361
|
-
label.sidenote-toggle:not(.sidenote-number) {
|
362
|
-
display: none;
|
363
|
-
}
|
364
|
-
|
365
|
-
.sidenote-number:after,
|
366
|
-
.rsn:before,
|
367
|
-
.lsn:before {
|
368
|
-
position: relative;
|
369
|
-
vertical-align: baseline;
|
370
|
-
}
|
371
|
-
|
372
|
-
.sidenote-number:after {
|
373
|
-
content: counter(sidenote-counter);
|
374
|
-
color: $wiki-link-color;
|
375
|
-
cursor: pointer;
|
376
|
-
font-size: $font-size-2;
|
377
|
-
top: -$sp-1-75;
|
378
|
-
left: $sp-0-75;
|
379
|
-
padding-right: $sp-0-75;
|
380
|
-
}
|
381
|
-
|
382
|
-
.rsn:before,
|
383
|
-
.lsn:before {
|
384
|
-
content: counter(sidenote-counter) " ";
|
385
|
-
font-size: $font-size-2;
|
386
|
-
top: -$sp-2;
|
387
|
-
}
|
388
|
-
|
389
|
-
// blockquote .rsn,
|
390
|
-
// blockquote .lsn {
|
391
|
-
// margin-right: -82%;
|
392
|
-
// min-width: 59%;
|
393
|
-
// text-align: left;
|
394
|
-
// }
|
395
|
-
|
396
|
-
.rsn > code,
|
397
|
-
.lsn > code {
|
398
|
-
font-size: $font-size-2;
|
399
|
-
}
|
400
|
-
}
|