jekyll-bonsai 0.0.3

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 (177) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +674 -0
  3. data/README.md +11 -0
  4. data/_config.yml +155 -0
  5. data/_entries/digital-garden.bonsai.md +36 -0
  6. data/_entries/digital-garden.field-logs.md +10 -0
  7. data/_entries/digital-garden.fork.md +10 -0
  8. data/_entries/digital-garden.md +17 -0
  9. data/_entries/digital-garden.path.md +11 -0
  10. data/_entries/digital-garden.plants.md +12 -0
  11. data/_entries/digital-garden.pollinate.md +10 -0
  12. data/_entries/digital-garden.steps.md +10 -0
  13. data/_entries/digital-garden.stream.md +12 -0
  14. data/_entries/digital-garden.sweep.md +12 -0
  15. data/_entries/digital-garden.weather.md +12 -0
  16. data/_entries/features.md +10 -0
  17. data/_entries/features.notes.hover-preview.md +10 -0
  18. data/_entries/features.notes.md +12 -0
  19. data/_entries/features.notes.note-body.md +12 -0
  20. data/_entries/features.notes.note-body.share.md +10 -0
  21. data/_entries/features.notes.note-body.sidenotes.md +52 -0
  22. data/_entries/features.notes.note-foot.links.md +10 -0
  23. data/_entries/features.notes.note-foot.md +11 -0
  24. data/_entries/features.notes.note-foot.posts.md +10 -0
  25. data/_entries/features.notes.note-foot.webmentions.md +10 -0
  26. data/_entries/features.notes.note-head.md +10 -0
  27. data/_entries/features.pages.field-blogs.md +10 -0
  28. data/_entries/features.pages.md +12 -0
  29. data/_entries/features.pages.recent.md +10 -0
  30. data/_entries/features.pages.status-tags.md +10 -0
  31. data/_entries/features.site-nav.graph.links.md +10 -0
  32. data/_entries/features.site-nav.graph.links.namespacing.md +14 -0
  33. data/_entries/features.site-nav.graph.links.wikilinks.md +25 -0
  34. data/_entries/features.site-nav.graph.md +12 -0
  35. data/_entries/features.site-nav.graph.nodes.current-note.md +10 -0
  36. data/_entries/features.site-nav.graph.nodes.md +12 -0
  37. data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +20 -0
  38. data/_entries/features.site-nav.graph.nodes.visited-status.md +10 -0
  39. data/_entries/features.site-nav.graph.toggle-graph.md +13 -0
  40. data/_entries/features.site-nav.graph.type.md +16 -0
  41. data/_entries/features.site-nav.graph.type.net-web.md +10 -0
  42. data/_entries/features.site-nav.graph.type.tree.md +12 -0
  43. data/_entries/features.site-nav.md +10 -0
  44. data/_entries/features.site-nav.visited.md +14 -0
  45. data/_entries/features.tags.md +13 -0
  46. data/_entries/features.themes.dark.md +12 -0
  47. data/_entries/features.themes.light.md +10 -0
  48. data/_entries/features.themes.md +12 -0
  49. data/_entries/features.visited.delete-data.md +10 -0
  50. data/_entries/features.visited.md +12 -0
  51. data/_entries/features.visitor-preferences.md +27 -0
  52. data/_entries/feedback.md +10 -0
  53. data/_entries/people.creator.md +12 -0
  54. data/_entries/people.md +13 -0
  55. data/_entries/people.visitors.md +12 -0
  56. data/_entries/plugins.jekyll-wikilinks.md +10 -0
  57. data/_entries/plugins.md +10 -0
  58. data/_entries/root.md +26 -0
  59. data/_includes/anchor-headings.html +152 -0
  60. data/_includes/connect.html +44 -0
  61. data/_includes/entry-attrs.html +27 -0
  62. data/_includes/head.html +23 -0
  63. data/_includes/hover-preview.html +84 -0
  64. data/_includes/img/bullet-ancestor.svg +5 -0
  65. data/_includes/img/bullet-net-web.svg +9 -0
  66. data/_includes/img/bullet-tree.svg +9 -0
  67. data/_includes/metrics.html +10 -0
  68. data/_includes/share.html +45 -0
  69. data/_includes/site-nav.html +48 -0
  70. data/_includes/styles.scss.liquid +3 -0
  71. data/_layouts/default.html +39 -0
  72. data/_layouts/entry.html +124 -0
  73. data/_layouts/post.html +29 -0
  74. data/_layouts/state.html +59 -0
  75. data/_layouts/table-wrappers.html +7 -0
  76. data/_layouts/vendor/compress.html +10 -0
  77. data/_pages/about.md +7 -0
  78. data/_pages/posts.html +19 -0
  79. data/_pages/recent.html +48 -0
  80. data/_plugins/doc_filters.rb +44 -0
  81. data/_plugins/prep_entry.rb +43 -0
  82. data/_plugins/sidenote.rb +123 -0
  83. data/_plugins/tags.rb +52 -0
  84. data/_sass/base/_layout.scss +54 -0
  85. data/_sass/base/_main.scss +203 -0
  86. data/_sass/base/_typography.scss +75 -0
  87. data/_sass/base/base.scss +3 -0
  88. data/_sass/color/dark.scss +58 -0
  89. data/_sass/color/light.scss +58 -0
  90. data/_sass/includes/_btn.scss +106 -0
  91. data/_sass/includes/_graph.scss +69 -0
  92. data/_sass/includes/_nav.scss +89 -0
  93. data/_sass/includes/_site_nav.scss +221 -0
  94. data/_sass/includes/_tooltip.scss +29 -0
  95. data/_sass/includes/includes.scss +9 -0
  96. data/_sass/markdown/_code.scss +340 -0
  97. data/_sass/markdown/_content.scss +400 -0
  98. data/_sass/markdown/_tables.scss +60 -0
  99. data/_sass/markdown/markdown.scss +7 -0
  100. data/_sass/modules.scss +14 -0
  101. data/_sass/pages/_index.scss +72 -0
  102. data/_sass/pages/_posts.scss +17 -0
  103. data/_sass/pages/_recent.scss +26 -0
  104. data/_sass/pages/_state.scss +72 -0
  105. data/_sass/pages/pages.scss +4 -0
  106. data/_sass/support/_functions.scss +9 -0
  107. data/_sass/support/_variables.scss +179 -0
  108. data/_sass/support/mixins/_buttons.scss +27 -0
  109. data/_sass/support/mixins/_layout.scss +56 -0
  110. data/_sass/support/mixins/_typography.scss +84 -0
  111. data/_sass/support/mixins/mixins.scss +3 -0
  112. data/_sass/support/support.scss +3 -0
  113. data/_sass/vendor/normalize.scss/README.md +7 -0
  114. data/_sass/vendor/normalize.scss/normalize.scss +349 -0
  115. data/_states/bamboo.md +8 -0
  116. data/_states/berry.md +8 -0
  117. data/_states/bloom.md +8 -0
  118. data/_states/bud.md +6 -0
  119. data/_states/fruit.md +8 -0
  120. data/_states/melon.md +8 -0
  121. data/_states/pot-bamboo.md +8 -0
  122. data/_states/seed.md +8 -0
  123. data/_states/sprout.md +8 -0
  124. data/_states/tags.md +8 -0
  125. data/_states/tea.md +8 -0
  126. data/assets/css/styles-dark.scss +3 -0
  127. data/assets/css/styles-light.scss +3 -0
  128. data/assets/css/styles.scss +8 -0
  129. data/assets/font/Cutive_Mono/CutiveMono-Regular.ttf +0 -0
  130. data/assets/font/Cutive_Mono/OFL.txt +93 -0
  131. data/assets/font/Old_Standard_TT/OFL.txt +93 -0
  132. data/assets/font/Old_Standard_TT/OldStandardTT-Bold.ttf +0 -0
  133. data/assets/font/Old_Standard_TT/OldStandardTT-Italic.ttf +0 -0
  134. data/assets/font/Old_Standard_TT/OldStandardTT-Regular.ttf +0 -0
  135. data/assets/font/exo2/Exo2-Italic-VariableFont_wght.ttf +0 -0
  136. data/assets/font/exo2/Exo2-VariableFont_wght.ttf +0 -0
  137. data/assets/font/exo2/OFL.txt +93 -0
  138. data/assets/font/exo2/README.txt +81 -0
  139. data/assets/font/exo2/static/Exo2-Black.ttf +0 -0
  140. data/assets/font/exo2/static/Exo2-BlackItalic.ttf +0 -0
  141. data/assets/font/exo2/static/Exo2-Bold.ttf +0 -0
  142. data/assets/font/exo2/static/Exo2-BoldItalic.ttf +0 -0
  143. data/assets/font/exo2/static/Exo2-ExtraBold.ttf +0 -0
  144. data/assets/font/exo2/static/Exo2-ExtraBoldItalic.ttf +0 -0
  145. data/assets/font/exo2/static/Exo2-ExtraLight.ttf +0 -0
  146. data/assets/font/exo2/static/Exo2-ExtraLightItalic.ttf +0 -0
  147. data/assets/font/exo2/static/Exo2-Italic.ttf +0 -0
  148. data/assets/font/exo2/static/Exo2-Light.ttf +0 -0
  149. data/assets/font/exo2/static/Exo2-LightItalic.ttf +0 -0
  150. data/assets/font/exo2/static/Exo2-Medium.ttf +0 -0
  151. data/assets/font/exo2/static/Exo2-MediumItalic.ttf +0 -0
  152. data/assets/font/exo2/static/Exo2-Regular.ttf +0 -0
  153. data/assets/font/exo2/static/Exo2-SemiBold.ttf +0 -0
  154. data/assets/font/exo2/static/Exo2-SemiBoldItalic.ttf +0 -0
  155. data/assets/font/exo2/static/Exo2-Thin.ttf +0 -0
  156. data/assets/font/exo2/static/Exo2-ThinItalic.ttf +0 -0
  157. data/assets/img/bonsai-dark.png +0 -0
  158. data/assets/img/bonsai-dark.svg +106 -0
  159. data/assets/img/bonsai-light.png +0 -0
  160. data/assets/img/bonsai-light.svg +81 -0
  161. data/assets/img/favicon-dark.png +0 -0
  162. data/assets/img/favicon-light.png +0 -0
  163. data/assets/img/nav-base-dark.svg +1 -0
  164. data/assets/img/nav-base-light.svg +1 -0
  165. data/assets/img/nav-bonsai-dark.svg +1 -0
  166. data/assets/img/nav-bonsai-light.svg +1 -0
  167. data/assets/img/nav-dot-dark.svg +1 -0
  168. data/assets/img/nav-dot-light.svg +1 -0
  169. data/assets/img/nav-wiki-links-dark.svg +1 -0
  170. data/assets/img/nav-wiki-links-light.svg +1 -0
  171. data/assets/js/entry.js +102 -0
  172. data/assets/js/graph.js +552 -0
  173. data/assets/js/scripts.js +80 -0
  174. data/assets/js/site-nav.js +132 -0
  175. data/assets/js/theme-colors.js +71 -0
  176. data/index.html +82 -0
  177. metadata +360 -0
@@ -0,0 +1,221 @@
1
+ // site (bonsai/garden) nav -- which houses the 'svg-graph'
2
+
3
+ .site-nav {
4
+ display: none;
5
+ width: 100%;
6
+
7
+ &.nav-open {
8
+ display: flex;
9
+ height: 100vh;
10
+ width: 100vw;
11
+ }
12
+
13
+ @include mq(md) {
14
+ display: block;
15
+ flex: 1 1 auto;
16
+ }
17
+
18
+ header {
19
+ @include fs-5;
20
+ display: flex;
21
+ justify-content: flex-start;
22
+ position: absolute;
23
+ top: 0;
24
+ width: 100%;
25
+ z-index: 4;
26
+ padding: $sp-2;
27
+ color: $grey-dk-000;
28
+ cursor: pointer;
29
+ user-select: none;
30
+ }
31
+
32
+ footer {
33
+ position: absolute;
34
+ width: 100%;
35
+ z-index: 4;
36
+ bottom: 0;
37
+ left: 0;
38
+ padding: $sp-3;
39
+ }
40
+ }
41
+
42
+ .dropdown {
43
+ border: none;
44
+ background: none;
45
+ }
46
+
47
+ .dropdown:hover .dropdown-content {
48
+ display: flex;
49
+ flex-direction: column;
50
+ }
51
+
52
+ .dropdown-content {
53
+ display: none;
54
+ }
55
+
56
+ .dropdown-btn {
57
+ @include fs-6;
58
+ display: flex;
59
+ cursor: pointer;
60
+ user-select: none;
61
+ padding: $sp-2;
62
+ border: none;
63
+ background: none;
64
+ display: table-cell;
65
+ vertical-align: middle;
66
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
67
+ }
68
+
69
+ .dropbtn {
70
+ @include fs-6;
71
+ cursor: pointer;
72
+ user-select: none;
73
+ padding: $sp-2;
74
+ transition: all .2s ease-in-out;
75
+ border: none;
76
+ background: none;
77
+ display: table-cell;
78
+ vertical-align: middle;
79
+ transition: all .2s ease-in-out;
80
+
81
+ &:hover {
82
+ transform: scale(1.5);
83
+ }
84
+
85
+ #posts-emoji-span {
86
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-purple);
87
+ }
88
+
89
+ #recent-emoji-span {
90
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
91
+ }
92
+
93
+ #stat-tags-emoji-span {
94
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
95
+ }
96
+ }
97
+
98
+ .site-nav-btn {
99
+ @include fs-6;
100
+ display: flex;
101
+ cursor: pointer;
102
+ user-select: none;
103
+ padding: $sp-2;
104
+ transition: all .2s ease-in-out;
105
+ border: none;
106
+ background: none;
107
+ display: table-cell;
108
+ vertical-align: middle;
109
+
110
+ &:hover {
111
+ transform: scale(1.5);
112
+ }
113
+
114
+ #search-emoji-span {
115
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
116
+ }
117
+
118
+ #visited-emoji-span {
119
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-orange);
120
+ }
121
+ }
122
+
123
+ .delete-btn {
124
+ @include fs-3;
125
+ display: flex;
126
+ cursor: pointer;
127
+ user-select: none;
128
+ transition: all .2s ease-in-out;
129
+ border: none;
130
+ background: none;
131
+ display: table-cell;
132
+ vertical-align: middle;
133
+
134
+ &:hover {
135
+ transform: scale(1.5);
136
+ }
137
+
138
+ #delete-emoji-span {
139
+ filter: drop-shadow(0 0 0.8mm $drop-shadow-red);
140
+ }
141
+ }
142
+
143
+ // visited nav (user-path)
144
+
145
+ .visited-nav {
146
+ z-index: 3;
147
+ position:relative;
148
+ height: 100%;
149
+ width: 100%;
150
+ padding-top: $sp-10;
151
+ padding-bottom: $sp-10;
152
+ overflow-y: scroll;
153
+
154
+ .visited-nav-list {
155
+ padding-left: $sp-1 !important;
156
+ list-style: none;
157
+
158
+ .visited-nav-list-item {
159
+ @include fs-4;
160
+ display: flex;
161
+ width: 80%;
162
+ padding: $sp-2;
163
+ margin-top: $sp-2;
164
+ margin-bottom: $sp-2;
165
+ border-radius: 16px;
166
+ // both animation and transform rely on this transition setting (according to: https://stackoverflow.com/a/20903041)
167
+ transition: all 0.15s ease-in-out;
168
+
169
+ &:hover {
170
+ transform: scale(1.1);
171
+ }
172
+
173
+ &::before {
174
+ content: "🥾";
175
+ }
176
+
177
+ button {
178
+ justify-content: flex-end;
179
+ }
180
+ }
181
+ }
182
+ }
183
+
184
+ .hide {
185
+ position: absolute !important;
186
+ top: -9999px !important;
187
+ left: -9999px !important;
188
+
189
+ // animation-name: animateShow;
190
+ // animation-duration: 100ms;
191
+ // animation-timing-function: ease-in-out;
192
+ }
193
+
194
+ // @keyframes animateHide {
195
+ // 0% {
196
+ // opacity: 1;
197
+ // }
198
+
199
+ // 100% {
200
+ // opacity: 0;
201
+ // }
202
+ // }
203
+
204
+ // .show {
205
+ // animation-name: animateShow;
206
+ // animation-duration: 250ms;
207
+ // animation-delay: calc(var(--animation-show-order) * 100ms);
208
+ // animation-fill-mode: both;
209
+ // animation-timing-function: ease-in-out;
210
+ // }
211
+
212
+ // // from: https://css-tricks.com/different-approaches-for-creating-a-staggered-animation/#how-about-custom-properties
213
+ // @keyframes animateShow {
214
+ // 0% {
215
+ // opacity: 0;
216
+ // }
217
+
218
+ // 100% {
219
+ // opacity: 1;
220
+ // }
221
+ // }
@@ -0,0 +1,29 @@
1
+ //
2
+ // hover-preview tooltip
3
+ //
4
+
5
+ .tooltip-wrapper {
6
+ @include fs-2;
7
+ z-index: 5;
8
+ background: $body-background-color;
9
+ padding: 2em; // don't use sass spacing variables -- it makes hover preview buggy.
10
+ border: 1px solid $border-color;
11
+ border-radius: 15px;
12
+ overflow: hidden;
13
+ position: absolute;
14
+ width: 400px;
15
+ height: 250px;
16
+ box-shadow: 0 1px 2px rgba($box-shadow-color, 0.12), 0 3px 10px rgba($box-shadow-color, 0.08);
17
+ }
18
+
19
+ .tooltip-wrapper:after {
20
+ content: "";
21
+ position: absolute;
22
+ z-index: 5;
23
+ bottom: 0;
24
+ left: 0;
25
+ pointer-events: none;
26
+ background-image: linear-gradient(to bottom, rgba(0,0,0,0), $body-background-color 90%);
27
+ width: 100%;
28
+ height: 75px;
29
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // scss that corresponds to project _includes.
3
+ //
4
+
5
+ @import "./btn";
6
+ @import "./graph";
7
+ @import "./nav";
8
+ @import "./site_nav";
9
+ @import "./tooltip";
@@ -0,0 +1,340 @@
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
+ }