calyx 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/docs/_data/breadcrumbs.yml +9 -0
- data/docs/_data/docs.yml +35 -0
- data/docs/_data/examples.yml +9 -0
- data/docs/_includes/breadcrumbs.html +36 -0
- data/docs/_includes/contents.html +12 -0
- data/docs/_includes/icon-github.html +4 -0
- data/docs/_includes/icon-rubygems.html +9 -0
- data/docs/_includes/navbar.html +24 -0
- data/docs/_includes/pagebar.html +12 -0
- data/docs/_layouts/default.html +3 -23
- data/docs/_layouts/docs.html +14 -0
- data/docs/_layouts/home.html +13 -0
- data/docs/_layouts/page.html +20 -0
- data/docs/_posts/2017-09-14-welcome-to-jekyll.markdown +1 -1
- data/docs/_posts/2017-09-21-0.17.0-released.md +10 -0
- data/docs/_styles/card.scss +7 -0
- data/docs/_styles/colors.scss +18 -0
- data/docs/_styles/content.scss +57 -0
- data/docs/_styles/cta.scss +25 -0
- data/docs/_styles/grid.scss +22 -0
- data/docs/_styles/media.scss +50 -0
- data/docs/_styles/menu.scss +54 -0
- data/docs/_styles/modifiers.scss +3 -0
- data/docs/_styles/navbar.scss +161 -0
- data/docs/_styles/pagebar.scss +32 -0
- data/docs/_styles/reset.scss +92 -0
- data/docs/_styles/scale.scss +23 -0
- data/docs/_styles/spread.scss +55 -0
- data/docs/_styles/styleguide.scss +52 -0
- data/docs/_styles/syntax.scss +84 -0
- data/docs/_styles/typography.scss +49 -0
- data/docs/_styles/yard.scss +36 -0
- data/docs/api.html +9662 -0
- data/docs/assets/calyx-docs.css +253 -162
- data/docs/assets/calyx-flower-outline.svg +202 -0
- data/docs/assets/calyx-flower-reverse.svg +202 -0
- data/docs/assets/calyx-flower.svg +202 -0
- data/docs/assets/logo-small.png +0 -0
- data/docs/assets/logos/calyx-flower-1.svg +22 -0
- data/docs/assets/logos/calyx-flower-2.svg +21 -0
- data/docs/content/documentation.html +20 -0
- data/docs/content/examples.html +12 -0
- data/docs/content/examples/any-gradient.md +32 -0
- data/docs/content/examples/faker.md +16 -0
- data/docs/content/examples/tiny-woodland-bot.md +24 -0
- data/docs/{guide → content/guides}/context.md +2 -2
- data/docs/{guide → content/guides}/expressions.md +2 -2
- data/docs/content/guides/features.md +50 -0
- data/docs/{guide → content/guides}/formats.md +1 -1
- data/docs/content/guides/installation.md +51 -0
- data/docs/{guide → content/guides}/random.md +1 -1
- data/docs/{guide → content/guides}/results.md +1 -1
- data/docs/content/index.html +44 -0
- data/docs/content/introduction.md +23 -0
- data/docs/content/introduction/concepts.md +82 -0
- data/docs/content/introduction/contributing.md +43 -0
- data/docs/content/introduction/tutorial.md +129 -0
- data/docs/content/styleguide.html +71 -0
- data/docs/docs.scss +94 -0
- data/docs/index.html +1 -23
- data/docs/package.json +1 -1
- data/lib/calyx/production/choices.rb +7 -0
- data/lib/calyx/production/unique.rb +0 -2
- data/lib/calyx/registry.rb +5 -0
- data/lib/calyx/rule.rb +4 -0
- data/lib/calyx/version.rb +1 -1
- metadata +59 -13
- data/docs/about.md +0 -18
- data/docs/calyx-docs.scss +0 -66
- data/docs/guide/examples.md +0 -59
- data/docs/guide/getting-started.md +0 -129
- data/docs/guide/installation.md +0 -19
data/docs/assets/calyx-docs.css
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
+
@charset "UTF-8";
|
1
2
|
html {
|
2
3
|
-ms-text-size-adjust: 100%;
|
3
4
|
-webkit-text-size-adjust: 100%; }
|
4
5
|
|
5
6
|
body {
|
6
7
|
margin: 0;
|
7
|
-
font:
|
8
|
+
font-size: 1rem;
|
8
9
|
-moz-osx-font-smoothing: grayscale;
|
9
10
|
-webkit-font-smoothing: antialiased; }
|
10
11
|
|
@@ -57,19 +58,13 @@ button {
|
|
57
58
|
padding: 0;
|
58
59
|
border: 0; }
|
59
60
|
|
60
|
-
:focus {
|
61
|
-
outline: 0; }
|
62
|
-
|
63
61
|
img {
|
64
62
|
max-width: 100%;
|
65
63
|
height: auto;
|
66
64
|
border: 0; }
|
67
65
|
|
68
66
|
html {
|
69
|
-
font-size:
|
70
|
-
@media (min-width: 768px) and (max-width: 1024px) {
|
71
|
-
html {
|
72
|
-
font-size: 18px; } }
|
67
|
+
font-size: 18px; }
|
73
68
|
@media (min-width: 1024px) {
|
74
69
|
html {
|
75
70
|
font-size: 20px; } }
|
@@ -77,7 +72,7 @@ html {
|
|
77
72
|
body {
|
78
73
|
font-family: "Libre Franklin", sans-serif;
|
79
74
|
font-weight: 400;
|
80
|
-
line-height: 1.
|
75
|
+
line-height: 1.5; }
|
81
76
|
|
82
77
|
h1, h2, h3, h4, h5, h6 {
|
83
78
|
font-family: "Work Sans", sans-serif;
|
@@ -89,18 +84,29 @@ h1 {
|
|
89
84
|
h2 {
|
90
85
|
font-size: 1.3rem; }
|
91
86
|
|
87
|
+
p, li {
|
88
|
+
font-size: 1rem; }
|
89
|
+
|
92
90
|
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
|
93
91
|
margin-top: 1.3rem;
|
94
92
|
margin-bottom: 1rem; }
|
95
93
|
|
94
|
+
.is-hidden {
|
95
|
+
display: none; }
|
96
|
+
|
96
97
|
.container {
|
97
98
|
width: 100%; }
|
98
99
|
|
99
100
|
.row {
|
100
|
-
display:
|
101
|
+
display: block; }
|
102
|
+
@media (min-width: 768px) and (max-width: 1024px) {
|
103
|
+
.row {
|
104
|
+
display: flex; } }
|
105
|
+
@media (min-width: 1024px) {
|
106
|
+
.row {
|
107
|
+
display: flex; } }
|
101
108
|
|
102
109
|
.col {
|
103
|
-
display: block;
|
104
110
|
flex-basis: 0;
|
105
111
|
flex-grow: 1;
|
106
112
|
flex-shrink: 1; }
|
@@ -108,9 +114,18 @@ h2 {
|
|
108
114
|
.menu {
|
109
115
|
width: 100%;
|
110
116
|
padding-top: 1rem; }
|
117
|
+
@media (min-width: 768px) {
|
118
|
+
.menu .menu-label,
|
119
|
+
.menu .menu-list li {
|
120
|
+
font-size: 1rem; } }
|
121
|
+
@media (max-width: 768px) {
|
122
|
+
.menu .menu-label,
|
123
|
+
.menu .menu-list li {
|
124
|
+
font-size: 1.3rem; } }
|
111
125
|
.menu .menu-label {
|
112
126
|
margin: 1rem 0 0 0;
|
113
|
-
font-
|
127
|
+
font-weight: 700;
|
128
|
+
font-family: "Work Sans", sans-serif; }
|
114
129
|
.menu .menu-label:first-child {
|
115
130
|
margin-top: 0; }
|
116
131
|
.menu .menu-label a {
|
@@ -119,6 +134,13 @@ h2 {
|
|
119
134
|
.menu .menu-list a {
|
120
135
|
display: block;
|
121
136
|
padding: 0.76923rem 1rem; }
|
137
|
+
.menu .menu-label a, .menu .menu-list a {
|
138
|
+
color: #218764; }
|
139
|
+
.menu .menu-label a.is-active, .menu .menu-list a.is-active {
|
140
|
+
color: #fff;
|
141
|
+
background-color: #218764; }
|
142
|
+
.menu .menu-label a:hover:not(.is-active), .menu .menu-list a:hover:not(.is-active) {
|
143
|
+
background-color: #e9e9e9; }
|
122
144
|
|
123
145
|
.color-chip {
|
124
146
|
width: 100%;
|
@@ -164,51 +186,107 @@ h2 {
|
|
164
186
|
overflow: hidden; }
|
165
187
|
|
166
188
|
.navbar {
|
167
|
-
display: flex;
|
168
189
|
width: 100%;
|
169
190
|
height: 3.76923rem;
|
170
191
|
background-color: #1BDE81; }
|
192
|
+
@media (max-width: 768px) {
|
193
|
+
.navbar .nav-menu {
|
194
|
+
visibility: hidden; }
|
195
|
+
.navbar.is-open {
|
196
|
+
height: 100vh;
|
197
|
+
overflow-y: scroll; }
|
198
|
+
.navbar.is-open .logo {
|
199
|
+
height: 3.76923rem;
|
200
|
+
background-color: #18c371; }
|
201
|
+
.navbar.is-open .nav-menu {
|
202
|
+
visibility: visible; } }
|
203
|
+
@media (min-width: 768px) {
|
204
|
+
.navbar {
|
205
|
+
display: flex;
|
206
|
+
justify-content: space-between; } }
|
207
|
+
@media (min-width: 1024px) {
|
208
|
+
.navbar {
|
209
|
+
justify-content: space-between; } }
|
210
|
+
.navbar .nav-toggle {
|
211
|
+
color: #fff;
|
212
|
+
font-size: 2.6rem;
|
213
|
+
height: 3.76923rem;
|
214
|
+
display: inline-block;
|
215
|
+
line-height: 2.6rem; }
|
216
|
+
.navbar .nav-toggle:hover {
|
217
|
+
background-color: #18c371; }
|
218
|
+
@media (min-width: 768px) {
|
219
|
+
.navbar .nav-toggle {
|
220
|
+
display: none; } }
|
171
221
|
.navbar.is-fixed {
|
172
222
|
position: fixed;
|
173
223
|
top: 0px;
|
174
224
|
z-index: 2000; }
|
175
|
-
|
176
|
-
|
225
|
+
@media (min-width: 768px) {
|
226
|
+
.navbar .nav-brand {
|
227
|
+
display: flex;
|
228
|
+
align-items: center; } }
|
229
|
+
@media (max-width: 768px) {
|
230
|
+
.navbar .nav-brand {
|
231
|
+
width: 100%; }
|
232
|
+
.navbar .nav-brand .nav-menu ul {
|
233
|
+
justify-content: center; } }
|
234
|
+
.navbar .nav-brand .logo {
|
235
|
+
height: 3.76923rem;
|
177
236
|
display: flex;
|
178
237
|
align-items: center; }
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
238
|
+
.navbar .nav-brand .logo-mark {
|
239
|
+
width: 36px;
|
240
|
+
height: 36px;
|
241
|
+
padding: 1rem 0.76923rem 1rem 1rem; }
|
242
|
+
.navbar .nav-brand .logo-type {
|
243
|
+
color: #fff;
|
244
|
+
font-family: "Work Sans", sans-serif;
|
245
|
+
font-weight: 800;
|
246
|
+
font-size: 1.3rem;
|
247
|
+
padding-right: 1rem; }
|
248
|
+
@media (min-width: 1024px) {
|
249
|
+
.navbar .nav-menu {
|
250
|
+
margin-left: 3.9rem; } }
|
251
|
+
.navbar .nav-menu.is-meta {
|
252
|
+
margin-left: 0; }
|
253
|
+
@media (min-width: 768px) {
|
191
254
|
.navbar .nav-menu ul {
|
192
|
-
display: flex;
|
255
|
+
display: flex;
|
256
|
+
align-items: center; } }
|
257
|
+
.navbar .nav-menu ul li {
|
258
|
+
font-size: 1rem;
|
259
|
+
line-height: 1.2;
|
260
|
+
height: 3.76923rem;
|
261
|
+
font-family: "Work Sans", sans-serif;
|
262
|
+
font-weight: 700;
|
263
|
+
color: #fff; }
|
264
|
+
.navbar .nav-menu ul li a {
|
265
|
+
display: block;
|
266
|
+
box-sizing: border-box;
|
267
|
+
padding: 1.25641rem;
|
268
|
+
height: 3.76923rem;
|
269
|
+
color: #fff; }
|
270
|
+
.navbar .nav-menu ul li a:hover {
|
271
|
+
background-color: #18c371; }
|
272
|
+
.navbar .nav-menu ul li a svg {
|
273
|
+
display: inline; }
|
274
|
+
.navbar .nav-menu ul li a span {
|
275
|
+
display: none; }
|
276
|
+
@media (max-width: 768px) {
|
193
277
|
.navbar .nav-menu ul li {
|
194
|
-
font-size:
|
195
|
-
|
196
|
-
height: 3.76923rem;
|
197
|
-
font-family: "Work Sans", sans-serif;
|
198
|
-
font-weight: 700;
|
199
|
-
color: #fff; }
|
278
|
+
font-size: 2.6rem;
|
279
|
+
height: auto; }
|
200
280
|
.navbar .nav-menu ul li a {
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
.navbar .nav-menu ul li a:hover {
|
207
|
-
background-color: #18c371; }
|
281
|
+
height: auto; }
|
282
|
+
.navbar .nav-menu ul li a svg {
|
283
|
+
display: none; }
|
284
|
+
.navbar .nav-menu ul li a span {
|
285
|
+
display: inline; } }
|
208
286
|
|
209
287
|
.pagebar {
|
210
288
|
background-color: #218764;
|
211
|
-
height:
|
289
|
+
height: 4.54103rem;
|
212
290
|
color: #fff;
|
213
291
|
padding: 1rem; }
|
214
292
|
.pagebar .breadcrumbs {
|
@@ -222,19 +300,20 @@ h2 {
|
|
222
300
|
content: "/";
|
223
301
|
margin-right: 0.38462rem; }
|
224
302
|
.pagebar h1 {
|
225
|
-
margin-top: 0.
|
226
|
-
margin-bottom: 0.76923rem;
|
303
|
+
margin-top: 0.25641rem;
|
227
304
|
line-height: 1.2;
|
228
305
|
font-size: 2.6rem; }
|
229
306
|
|
230
307
|
.highlight .hll {
|
231
|
-
background-color: #
|
308
|
+
background-color: #37463f; }
|
232
309
|
|
233
310
|
.highlight {
|
234
|
-
|
311
|
+
color: #eee;
|
312
|
+
background-color: #37463f;
|
313
|
+
font-weight: bold; }
|
235
314
|
|
236
315
|
.highlight .c {
|
237
|
-
color: #
|
316
|
+
color: #aaa;
|
238
317
|
font-style: italic; }
|
239
318
|
|
240
319
|
/* Comment */
|
@@ -244,63 +323,61 @@ h2 {
|
|
244
323
|
|
245
324
|
/* Error */
|
246
325
|
.highlight .g {
|
247
|
-
color: #
|
326
|
+
color: #eee; }
|
248
327
|
|
249
328
|
/* Generic */
|
250
329
|
.highlight .k {
|
251
|
-
color: #
|
252
|
-
font-weight: bold; }
|
330
|
+
color: #76FABB; }
|
253
331
|
|
254
332
|
/* Keyword */
|
255
333
|
.highlight .l {
|
256
|
-
color: #
|
334
|
+
color: #eee; }
|
257
335
|
|
258
336
|
/* Literal */
|
259
337
|
.highlight .n {
|
260
|
-
color: #
|
338
|
+
color: #eee; }
|
261
339
|
|
262
340
|
/* Name */
|
263
341
|
.highlight .o {
|
264
|
-
color: #
|
265
|
-
font-weight: bold; }
|
342
|
+
color: #FA8676; }
|
266
343
|
|
267
344
|
/* Operator */
|
268
345
|
.highlight .x {
|
269
|
-
color: #
|
346
|
+
color: #eee; }
|
270
347
|
|
271
348
|
/* Other */
|
272
349
|
.highlight .p {
|
273
|
-
color: #
|
350
|
+
color: #eee;
|
274
351
|
font-weight: bold; }
|
275
352
|
|
276
353
|
/* Punctuation */
|
277
354
|
.highlight .ch {
|
278
|
-
color: #
|
355
|
+
color: #aaa;
|
279
356
|
font-style: italic; }
|
280
357
|
|
281
358
|
/* Comment.Hashbang */
|
282
359
|
.highlight .cm {
|
283
|
-
color: #
|
360
|
+
color: #aaa;
|
284
361
|
font-style: italic; }
|
285
362
|
|
286
363
|
/* Comment.Multiline */
|
287
364
|
.highlight .cp {
|
288
|
-
color: #
|
365
|
+
color: #aaa;
|
289
366
|
font-style: italic; }
|
290
367
|
|
291
368
|
/* Comment.Preproc */
|
292
369
|
.highlight .cpf {
|
293
|
-
color: #
|
370
|
+
color: #aaa;
|
294
371
|
font-style: italic; }
|
295
372
|
|
296
373
|
/* Comment.PreprocFile */
|
297
374
|
.highlight .c1 {
|
298
|
-
color: #
|
375
|
+
color: #aaa;
|
299
376
|
font-style: italic; }
|
300
377
|
|
301
378
|
/* Comment.Single */
|
302
379
|
.highlight .cs {
|
303
|
-
color: #
|
380
|
+
color: #aaa;
|
304
381
|
font-style: italic; }
|
305
382
|
|
306
383
|
/* Comment.Special */
|
@@ -309,7 +386,7 @@ h2 {
|
|
309
386
|
|
310
387
|
/* Generic.Deleted */
|
311
388
|
.highlight .ge {
|
312
|
-
color: #
|
389
|
+
color: #eee;
|
313
390
|
font-style: italic; }
|
314
391
|
|
315
392
|
/* Generic.Emph */
|
@@ -327,17 +404,15 @@ h2 {
|
|
327
404
|
|
328
405
|
/* Generic.Inserted */
|
329
406
|
.highlight .go {
|
330
|
-
color: #
|
331
|
-
font-style: italic; }
|
407
|
+
color: #eee; }
|
332
408
|
|
333
409
|
/* Generic.Output */
|
334
410
|
.highlight .gp {
|
335
|
-
color: #
|
411
|
+
color: #aaa; }
|
336
412
|
|
337
413
|
/* Generic.Prompt */
|
338
414
|
.highlight .gs {
|
339
|
-
color: #
|
340
|
-
font-weight: bold; }
|
415
|
+
color: #eee; }
|
341
416
|
|
342
417
|
/* Generic.Strong */
|
343
418
|
.highlight .gu {
|
@@ -351,37 +426,31 @@ h2 {
|
|
351
426
|
|
352
427
|
/* Generic.Traceback */
|
353
428
|
.highlight .kc {
|
354
|
-
color: #
|
355
|
-
font-weight: bold; }
|
429
|
+
color: #76FABB; }
|
356
430
|
|
357
431
|
/* Keyword.Constant */
|
358
432
|
.highlight .kd {
|
359
|
-
color: #
|
360
|
-
font-weight: bold; }
|
433
|
+
color: #76FABB; }
|
361
434
|
|
362
435
|
/* Keyword.Declaration */
|
363
436
|
.highlight .kn {
|
364
|
-
color: #
|
365
|
-
font-weight: bold; }
|
437
|
+
color: #76FABB; }
|
366
438
|
|
367
439
|
/* Keyword.Namespace */
|
368
440
|
.highlight .kp {
|
369
|
-
color: #
|
370
|
-
font-weight: bold; }
|
441
|
+
color: #76FABB; }
|
371
442
|
|
372
443
|
/* Keyword.Pseudo */
|
373
444
|
.highlight .kr {
|
374
|
-
color: #
|
375
|
-
font-weight: bold; }
|
445
|
+
color: #76FABB; }
|
376
446
|
|
377
447
|
/* Keyword.Reserved */
|
378
448
|
.highlight .kt {
|
379
|
-
color: #
|
380
|
-
font-weight: bold; }
|
449
|
+
color: #76FABB; }
|
381
450
|
|
382
451
|
/* Keyword.Type */
|
383
452
|
.highlight .ld {
|
384
|
-
color: #
|
453
|
+
color: #eee; }
|
385
454
|
|
386
455
|
/* Literal.Date */
|
387
456
|
.highlight .m {
|
@@ -390,7 +459,7 @@ h2 {
|
|
390
459
|
|
391
460
|
/* Literal.Number */
|
392
461
|
.highlight .s {
|
393
|
-
color: #
|
462
|
+
color: #C2FBE0; }
|
394
463
|
|
395
464
|
/* Literal.String */
|
396
465
|
.highlight .na {
|
@@ -398,15 +467,15 @@ h2 {
|
|
398
467
|
|
399
468
|
/* Name.Attribute */
|
400
469
|
.highlight .nb {
|
401
|
-
color: #
|
470
|
+
color: #76FABB; }
|
402
471
|
|
403
472
|
/* Name.Builtin */
|
404
473
|
.highlight .nc {
|
405
|
-
color: #
|
474
|
+
color: #eee; }
|
406
475
|
|
407
476
|
/* Name.Class */
|
408
477
|
.highlight .no {
|
409
|
-
color: #
|
478
|
+
color: #eee; }
|
410
479
|
|
411
480
|
/* Name.Constant */
|
412
481
|
.highlight .nd {
|
@@ -415,7 +484,7 @@ h2 {
|
|
415
484
|
|
416
485
|
/* Name.Decorator */
|
417
486
|
.highlight .ni {
|
418
|
-
color: #
|
487
|
+
color: #FA8676; }
|
419
488
|
|
420
489
|
/* Name.Entity */
|
421
490
|
.highlight .ne {
|
@@ -424,7 +493,7 @@ h2 {
|
|
424
493
|
|
425
494
|
/* Name.Exception */
|
426
495
|
.highlight .nf {
|
427
|
-
color: #
|
496
|
+
color: #eee; }
|
428
497
|
|
429
498
|
/* Name.Function */
|
430
499
|
.highlight .nl {
|
@@ -432,29 +501,27 @@ h2 {
|
|
432
501
|
|
433
502
|
/* Name.Label */
|
434
503
|
.highlight .nn {
|
435
|
-
color: #
|
504
|
+
color: #eee; }
|
436
505
|
|
437
506
|
/* Name.Namespace */
|
438
507
|
.highlight .nx {
|
439
|
-
color: #
|
508
|
+
color: #eee; }
|
440
509
|
|
441
510
|
/* Name.Other */
|
442
511
|
.highlight .py {
|
443
|
-
color: #
|
512
|
+
color: #eee; }
|
444
513
|
|
445
514
|
/* Name.Property */
|
446
515
|
.highlight .nt {
|
447
|
-
color: #
|
448
|
-
font-weight: bold; }
|
516
|
+
color: #76FABB; }
|
449
517
|
|
450
518
|
/* Name.Tag */
|
451
519
|
.highlight .nv {
|
452
|
-
color: #
|
520
|
+
color: #eee; }
|
453
521
|
|
454
522
|
/* Name.Variable */
|
455
523
|
.highlight .ow {
|
456
|
-
color: #
|
457
|
-
font-weight: bold; }
|
524
|
+
color: #76FABB; }
|
458
525
|
|
459
526
|
/* Operator.Word */
|
460
527
|
.highlight .w {
|
@@ -488,56 +555,56 @@ h2 {
|
|
488
555
|
|
489
556
|
/* Literal.Number.Oct */
|
490
557
|
.highlight .sa {
|
491
|
-
color: #
|
558
|
+
color: #C2FBE0; }
|
492
559
|
|
493
560
|
/* Literal.String.Affix */
|
494
561
|
.highlight .sb {
|
495
|
-
color: #
|
562
|
+
color: #C2FBE0; }
|
496
563
|
|
497
564
|
/* Literal.String.Backtick */
|
498
565
|
.highlight .sc {
|
499
|
-
color: #
|
566
|
+
color: #C2FBE0; }
|
500
567
|
|
501
568
|
/* Literal.String.Char */
|
502
569
|
.highlight .dl {
|
503
|
-
color: #
|
570
|
+
color: #C2FBE0; }
|
504
571
|
|
505
572
|
/* Literal.String.Delimiter */
|
506
573
|
.highlight .sd {
|
507
|
-
color: #
|
574
|
+
color: #aaa;
|
508
575
|
font-style: italic; }
|
509
576
|
|
510
577
|
/* Literal.String.Doc */
|
511
578
|
.highlight .s2 {
|
512
|
-
color: #
|
579
|
+
color: #C2FBE0; }
|
513
580
|
|
514
581
|
/* Literal.String.Double */
|
515
582
|
.highlight .se {
|
516
|
-
color: #
|
583
|
+
color: #C2FBE0; }
|
517
584
|
|
518
585
|
/* Literal.String.Escape */
|
519
586
|
.highlight .sh {
|
520
|
-
color: #
|
587
|
+
color: #C2FBE0; }
|
521
588
|
|
522
589
|
/* Literal.String.Heredoc */
|
523
590
|
.highlight .si {
|
524
|
-
color: #
|
591
|
+
color: #C2FBE0; }
|
525
592
|
|
526
593
|
/* Literal.String.Interpol */
|
527
594
|
.highlight .sx {
|
528
|
-
color: #
|
595
|
+
color: #C2FBE0; }
|
529
596
|
|
530
597
|
/* Literal.String.Other */
|
531
598
|
.highlight .sr {
|
532
|
-
color: #
|
599
|
+
color: #C2FBE0; }
|
533
600
|
|
534
601
|
/* Literal.String.Regex */
|
535
602
|
.highlight .s1 {
|
536
|
-
color: #
|
603
|
+
color: #C2FBE0; }
|
537
604
|
|
538
605
|
/* Literal.String.Single */
|
539
606
|
.highlight .ss {
|
540
|
-
color: #
|
607
|
+
color: #C2FBE0; }
|
541
608
|
|
542
609
|
/* Literal.String.Symbol */
|
543
610
|
.highlight .bp {
|
@@ -545,23 +612,23 @@ h2 {
|
|
545
612
|
|
546
613
|
/* Name.Builtin.Pseudo */
|
547
614
|
.highlight .fm {
|
548
|
-
color: #
|
615
|
+
color: #eee; }
|
549
616
|
|
550
617
|
/* Name.Function.Magic */
|
551
618
|
.highlight .vc {
|
552
|
-
color: #
|
619
|
+
color: #eee; }
|
553
620
|
|
554
621
|
/* Name.Variable.Class */
|
555
622
|
.highlight .vg {
|
556
|
-
color: #
|
623
|
+
color: #eee; }
|
557
624
|
|
558
625
|
/* Name.Variable.Global */
|
559
626
|
.highlight .vi {
|
560
|
-
color: #
|
627
|
+
color: #eee; }
|
561
628
|
|
562
629
|
/* Name.Variable.Instance */
|
563
630
|
.highlight .vm {
|
564
|
-
color: #
|
631
|
+
color: #eee; }
|
565
632
|
|
566
633
|
/* Name.Variable.Magic */
|
567
634
|
.highlight .il {
|
@@ -632,62 +699,86 @@ h2 {
|
|
632
699
|
padding: 0.38462rem;
|
633
700
|
border-radius: 6px;
|
634
701
|
background-color: #76FABB;
|
635
|
-
font-family: "
|
702
|
+
font-family: "Inconsolata", "Monaco", monospace; }
|
703
|
+
|
704
|
+
.card {
|
705
|
+
margin: 1rem;
|
706
|
+
background-color: #fff;
|
707
|
+
padding: 1.3rem;
|
708
|
+
border: 1px solid #e9e9e9;
|
709
|
+
box-shadow: 1px 1px 6px 0px rgba(233, 233, 233, 0.2); }
|
710
|
+
|
711
|
+
.content {
|
712
|
+
max-width: 800px; }
|
713
|
+
.content a {
|
714
|
+
color: #2F5E52;
|
715
|
+
border-bottom: 1px solid #218764; }
|
716
|
+
.content h1, .content h2, .content h3 {
|
717
|
+
color: #218764;
|
718
|
+
margin-top: 1.3rem; }
|
719
|
+
.content h1:first-of-type, .content h2:first-of-type, .content h3:first-of-type {
|
720
|
+
margin-top: 0; }
|
721
|
+
.content h2 {
|
722
|
+
font-size: 1.3rem; }
|
723
|
+
.content h3 {
|
724
|
+
font-size: 1rem; }
|
725
|
+
.content .highlighter-rouge {
|
726
|
+
margin-bottom: 1rem; }
|
727
|
+
.content pre {
|
728
|
+
font-family: "Inconsolata", "Monaco", monospace;
|
729
|
+
overflow-x: scroll;
|
730
|
+
padding: 0.38462rem 0.76923rem;
|
731
|
+
border-radius: 2px;
|
732
|
+
line-height: 1.4; }
|
733
|
+
.content pre code {
|
734
|
+
font-family: "Inconsolata", "Monaco", monospace;
|
735
|
+
font-size: 1rem; }
|
736
|
+
.content p, .content li {
|
737
|
+
color: #333; }
|
738
|
+
.content li {
|
739
|
+
display: list-item;
|
740
|
+
margin-left: 1rem;
|
741
|
+
list-style: disc; }
|
742
|
+
|
743
|
+
.container {
|
744
|
+
width: 60%;
|
745
|
+
margin: 2.6rem auto;
|
746
|
+
color: #333;
|
747
|
+
line-height: 1.5; }
|
748
|
+
.container h1 {
|
749
|
+
color: #218764; }
|
750
|
+
.container a {
|
751
|
+
color: #333;
|
752
|
+
border-bottom: 1px solid #1BDE81;
|
753
|
+
padding-left: 0.38462rem; }
|
754
|
+
.container a:before {
|
755
|
+
padding-right: 0.38462rem;
|
756
|
+
content: "→"; }
|
636
757
|
|
637
758
|
.page {
|
638
|
-
background-color: #fafafa;
|
759
|
+
background-color: #fafafa;
|
760
|
+
min-height: calc(100vh - 3.76923rem - 4.54103rem - 1.3rem); }
|
639
761
|
|
640
762
|
.docs-sidebar {
|
641
|
-
background-color: #fafafa;
|
642
|
-
width:
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
.docs-sidebar
|
655
|
-
|
656
|
-
.docs-sidebar .menu-list a.is-active {
|
657
|
-
background-color: #218764;
|
658
|
-
color: #fff; }
|
659
|
-
.docs-sidebar .menu-list a:hover {
|
660
|
-
background-color: #e9e9e9; }
|
763
|
+
background-color: #fafafa; }
|
764
|
+
@media (min-width: 768px) {
|
765
|
+
.docs-sidebar .menu-label,
|
766
|
+
.docs-sidebar .menu-list li {
|
767
|
+
font-size: 0.76923rem; } }
|
768
|
+
@media (max-width: 768px) {
|
769
|
+
.docs-sidebar .menu-label a,
|
770
|
+
.docs-sidebar .menu-list li a {
|
771
|
+
padding-left: 3.9rem; } }
|
772
|
+
@media (min-width: 768px) and (max-width: 1024px) {
|
773
|
+
.docs-sidebar {
|
774
|
+
width: 10rem; } }
|
775
|
+
@media (min-width: 1024px) {
|
776
|
+
.docs-sidebar {
|
777
|
+
width: 10rem; } }
|
661
778
|
|
662
779
|
.docs-content {
|
780
|
+
order: 2;
|
663
781
|
min-width: 83.3333333%; }
|
664
|
-
.docs-content .logo {
|
665
|
-
position: fixed; }
|
666
|
-
.docs-content .logo + .content {
|
667
|
-
margin-top: 2.6rem; }
|
668
|
-
.docs-content .content {
|
669
|
-
margin: 1rem;
|
670
|
-
background-color: #fff;
|
671
|
-
padding: 1.3rem;
|
672
|
-
max-width: 800px;
|
673
|
-
border: 1px solid #e9e9e9;
|
674
|
-
-webkit-box-shadow: 1px 1px 6px 0px rgba(170, 170, 170, 0.2);
|
675
|
-
-moz-box-shadow: 1px 1px 6px 0px rgba(170, 170, 170, 0.2);
|
676
|
-
box-shadow: 1px 1px 6px 0px rgba(170, 170, 170, 0.2); }
|
677
|
-
.docs-content .content h1, .docs-content .content h2, .docs-content .content h3 {
|
678
|
-
color: #218764; }
|
679
|
-
.docs-content .content h1:first-of-type, .docs-content .content h2:first-of-type, .docs-content .content h3:first-of-type {
|
680
|
-
margin-top: 0; }
|
681
|
-
.docs-content .content .highlighter-rouge {
|
682
|
-
margin-bottom: 1rem; }
|
683
|
-
.docs-content .content pre {
|
684
|
-
overflow-x: scroll; }
|
685
|
-
.docs-content .content pre code {
|
686
|
-
font-size: 1rem; }
|
687
|
-
.docs-content .content p {
|
688
|
-
font-size: 1rem;
|
689
|
-
line-height: 1.5;
|
690
|
-
color: #555; }
|
691
782
|
|
692
783
|
.content-footer {
|
693
784
|
display: flex;
|