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.
- checksums.yaml +7 -0
- data/LICENSE.txt +674 -0
- data/README.md +11 -0
- data/_config.yml +155 -0
- data/_entries/digital-garden.bonsai.md +36 -0
- data/_entries/digital-garden.field-logs.md +10 -0
- data/_entries/digital-garden.fork.md +10 -0
- data/_entries/digital-garden.md +17 -0
- data/_entries/digital-garden.path.md +11 -0
- data/_entries/digital-garden.plants.md +12 -0
- data/_entries/digital-garden.pollinate.md +10 -0
- data/_entries/digital-garden.steps.md +10 -0
- data/_entries/digital-garden.stream.md +12 -0
- data/_entries/digital-garden.sweep.md +12 -0
- data/_entries/digital-garden.weather.md +12 -0
- data/_entries/features.md +10 -0
- data/_entries/features.notes.hover-preview.md +10 -0
- data/_entries/features.notes.md +12 -0
- data/_entries/features.notes.note-body.md +12 -0
- data/_entries/features.notes.note-body.share.md +10 -0
- data/_entries/features.notes.note-body.sidenotes.md +52 -0
- data/_entries/features.notes.note-foot.links.md +10 -0
- data/_entries/features.notes.note-foot.md +11 -0
- data/_entries/features.notes.note-foot.posts.md +10 -0
- data/_entries/features.notes.note-foot.webmentions.md +10 -0
- data/_entries/features.notes.note-head.md +10 -0
- data/_entries/features.pages.field-blogs.md +10 -0
- data/_entries/features.pages.md +12 -0
- data/_entries/features.pages.recent.md +10 -0
- data/_entries/features.pages.status-tags.md +10 -0
- data/_entries/features.site-nav.graph.links.md +10 -0
- data/_entries/features.site-nav.graph.links.namespacing.md +14 -0
- data/_entries/features.site-nav.graph.links.wikilinks.md +25 -0
- data/_entries/features.site-nav.graph.md +12 -0
- data/_entries/features.site-nav.graph.nodes.current-note.md +10 -0
- data/_entries/features.site-nav.graph.nodes.md +12 -0
- data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +20 -0
- data/_entries/features.site-nav.graph.nodes.visited-status.md +10 -0
- data/_entries/features.site-nav.graph.toggle-graph.md +13 -0
- data/_entries/features.site-nav.graph.type.md +16 -0
- data/_entries/features.site-nav.graph.type.net-web.md +10 -0
- data/_entries/features.site-nav.graph.type.tree.md +12 -0
- data/_entries/features.site-nav.md +10 -0
- data/_entries/features.site-nav.visited.md +14 -0
- data/_entries/features.tags.md +13 -0
- data/_entries/features.themes.dark.md +12 -0
- data/_entries/features.themes.light.md +10 -0
- data/_entries/features.themes.md +12 -0
- data/_entries/features.visited.delete-data.md +10 -0
- data/_entries/features.visited.md +12 -0
- data/_entries/features.visitor-preferences.md +27 -0
- data/_entries/feedback.md +10 -0
- data/_entries/people.creator.md +12 -0
- data/_entries/people.md +13 -0
- data/_entries/people.visitors.md +12 -0
- data/_entries/plugins.jekyll-wikilinks.md +10 -0
- data/_entries/plugins.md +10 -0
- data/_entries/root.md +26 -0
- data/_includes/anchor-headings.html +152 -0
- data/_includes/connect.html +44 -0
- data/_includes/entry-attrs.html +27 -0
- data/_includes/head.html +23 -0
- data/_includes/hover-preview.html +84 -0
- data/_includes/img/bullet-ancestor.svg +5 -0
- data/_includes/img/bullet-net-web.svg +9 -0
- data/_includes/img/bullet-tree.svg +9 -0
- data/_includes/metrics.html +10 -0
- data/_includes/share.html +45 -0
- data/_includes/site-nav.html +48 -0
- data/_includes/styles.scss.liquid +3 -0
- data/_layouts/default.html +39 -0
- data/_layouts/entry.html +124 -0
- data/_layouts/post.html +29 -0
- data/_layouts/state.html +59 -0
- data/_layouts/table-wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_pages/about.md +7 -0
- data/_pages/posts.html +19 -0
- data/_pages/recent.html +48 -0
- data/_plugins/doc_filters.rb +44 -0
- data/_plugins/prep_entry.rb +43 -0
- data/_plugins/sidenote.rb +123 -0
- data/_plugins/tags.rb +52 -0
- data/_sass/base/_layout.scss +54 -0
- data/_sass/base/_main.scss +203 -0
- data/_sass/base/_typography.scss +75 -0
- data/_sass/base/base.scss +3 -0
- data/_sass/color/dark.scss +58 -0
- data/_sass/color/light.scss +58 -0
- data/_sass/includes/_btn.scss +106 -0
- data/_sass/includes/_graph.scss +69 -0
- data/_sass/includes/_nav.scss +89 -0
- data/_sass/includes/_site_nav.scss +221 -0
- data/_sass/includes/_tooltip.scss +29 -0
- data/_sass/includes/includes.scss +9 -0
- data/_sass/markdown/_code.scss +340 -0
- data/_sass/markdown/_content.scss +400 -0
- data/_sass/markdown/_tables.scss +60 -0
- data/_sass/markdown/markdown.scss +7 -0
- data/_sass/modules.scss +14 -0
- data/_sass/pages/_index.scss +72 -0
- data/_sass/pages/_posts.scss +17 -0
- data/_sass/pages/_recent.scss +26 -0
- data/_sass/pages/_state.scss +72 -0
- data/_sass/pages/pages.scss +4 -0
- data/_sass/support/_functions.scss +9 -0
- data/_sass/support/_variables.scss +179 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +56 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +349 -0
- data/_states/bamboo.md +8 -0
- data/_states/berry.md +8 -0
- data/_states/bloom.md +8 -0
- data/_states/bud.md +6 -0
- data/_states/fruit.md +8 -0
- data/_states/melon.md +8 -0
- data/_states/pot-bamboo.md +8 -0
- data/_states/seed.md +8 -0
- data/_states/sprout.md +8 -0
- data/_states/tags.md +8 -0
- data/_states/tea.md +8 -0
- data/assets/css/styles-dark.scss +3 -0
- data/assets/css/styles-light.scss +3 -0
- data/assets/css/styles.scss +8 -0
- data/assets/font/Cutive_Mono/CutiveMono-Regular.ttf +0 -0
- data/assets/font/Cutive_Mono/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Bold.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Italic.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Regular.ttf +0 -0
- data/assets/font/exo2/Exo2-Italic-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/Exo2-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/OFL.txt +93 -0
- data/assets/font/exo2/README.txt +81 -0
- data/assets/font/exo2/static/Exo2-Black.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BlackItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Bold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLight.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Italic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Light.ttf +0 -0
- data/assets/font/exo2/static/Exo2-LightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Medium.ttf +0 -0
- data/assets/font/exo2/static/Exo2-MediumItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Regular.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Thin.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ThinItalic.ttf +0 -0
- data/assets/img/bonsai-dark.png +0 -0
- data/assets/img/bonsai-dark.svg +106 -0
- data/assets/img/bonsai-light.png +0 -0
- data/assets/img/bonsai-light.svg +81 -0
- data/assets/img/favicon-dark.png +0 -0
- data/assets/img/favicon-light.png +0 -0
- data/assets/img/nav-base-dark.svg +1 -0
- data/assets/img/nav-base-light.svg +1 -0
- data/assets/img/nav-bonsai-dark.svg +1 -0
- data/assets/img/nav-bonsai-light.svg +1 -0
- data/assets/img/nav-dot-dark.svg +1 -0
- data/assets/img/nav-dot-light.svg +1 -0
- data/assets/img/nav-wiki-links-dark.svg +1 -0
- data/assets/img/nav-wiki-links-light.svg +1 -0
- data/assets/js/entry.js +102 -0
- data/assets/js/graph.js +552 -0
- data/assets/js/scripts.js +80 -0
- data/assets/js/site-nav.js +132 -0
- data/assets/js/theme-colors.js +71 -0
- data/index.html +82 -0
- metadata +360 -0
@@ -0,0 +1,400 @@
|
|
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
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
//
|
4
|
+
// stylelint-disable max-nesting-depth, selector-no-type, selector-max-type
|
5
|
+
|
6
|
+
.table-wrapper {
|
7
|
+
display: block;
|
8
|
+
min-width: $content-width;
|
9
|
+
max-width: $content-width + $content-sidenote-width;
|
10
|
+
margin-right: -$content-sidenote-width;
|
11
|
+
margin-bottom: $sp-5;
|
12
|
+
overflow-x: auto;
|
13
|
+
border-radius: $border-radius;
|
14
|
+
box-shadow: 0 1px 2px rgba($box-shadow-color, 0.12), 0 3px 10px rgba($box-shadow-color, 0.08);
|
15
|
+
font-family: $click-font-family;
|
16
|
+
}
|
17
|
+
|
18
|
+
table {
|
19
|
+
display: table;
|
20
|
+
width: 100%;
|
21
|
+
border-collapse: separate;
|
22
|
+
}
|
23
|
+
|
24
|
+
th,
|
25
|
+
td {
|
26
|
+
@include fs-3;
|
27
|
+
min-width: 120px;
|
28
|
+
padding-top: $sp-2;
|
29
|
+
padding-right: $sp-3;
|
30
|
+
padding-bottom: $sp-2;
|
31
|
+
padding-left: $sp-3;
|
32
|
+
background-color: $table-background-color;
|
33
|
+
border-bottom: $border rgba($border-color, 0.5);
|
34
|
+
border-left: $border $border-color;
|
35
|
+
|
36
|
+
&:first-of-type {
|
37
|
+
border-left: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
tbody {
|
42
|
+
tr {
|
43
|
+
&:last-of-type {
|
44
|
+
th,
|
45
|
+
td {
|
46
|
+
border-bottom: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
td {
|
50
|
+
padding-bottom: $sp-3;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
thead {
|
57
|
+
th {
|
58
|
+
border-bottom: $border $border-color;
|
59
|
+
}
|
60
|
+
}
|