calyx 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +33 -0
  3. data/.travis.yml +1 -1
  4. data/lib/calyx.rb +1 -0
  5. data/lib/calyx/grammar.rb +12 -0
  6. data/lib/calyx/mapping.rb +15 -0
  7. data/lib/calyx/modifiers.rb +10 -0
  8. data/lib/calyx/production/weighted_choices.rb +7 -0
  9. data/lib/calyx/registry.rb +2 -12
  10. data/lib/calyx/rule.rb +14 -4
  11. data/lib/calyx/version.rb +1 -1
  12. metadata +5 -69
  13. data/docs/404.html +0 -7
  14. data/docs/CNAME +0 -1
  15. data/docs/_config.yml +0 -27
  16. data/docs/_data/breadcrumbs.yml +0 -9
  17. data/docs/_data/docs.yml +0 -35
  18. data/docs/_data/examples.yml +0 -9
  19. data/docs/_includes/breadcrumbs.html +0 -36
  20. data/docs/_includes/contents.html +0 -12
  21. data/docs/_includes/icon-github.html +0 -4
  22. data/docs/_includes/icon-rubygems.html +0 -9
  23. data/docs/_includes/navbar.html +0 -24
  24. data/docs/_includes/pagebar.html +0 -12
  25. data/docs/_layouts/default.html +0 -13
  26. data/docs/_layouts/docs.html +0 -14
  27. data/docs/_layouts/home.html +0 -13
  28. data/docs/_layouts/page.html +0 -20
  29. data/docs/_posts/2017-09-14-welcome-to-jekyll.markdown +0 -25
  30. data/docs/_posts/2017-09-21-0.17.0-released.md +0 -10
  31. data/docs/_styles/card.scss +0 -7
  32. data/docs/_styles/colors.scss +0 -18
  33. data/docs/_styles/content.scss +0 -57
  34. data/docs/_styles/cta.scss +0 -25
  35. data/docs/_styles/grid.scss +0 -22
  36. data/docs/_styles/media.scss +0 -50
  37. data/docs/_styles/menu.scss +0 -54
  38. data/docs/_styles/modifiers.scss +0 -3
  39. data/docs/_styles/navbar.scss +0 -161
  40. data/docs/_styles/pagebar.scss +0 -32
  41. data/docs/_styles/reset.scss +0 -92
  42. data/docs/_styles/scale.scss +0 -23
  43. data/docs/_styles/spread.scss +0 -55
  44. data/docs/_styles/styleguide.scss +0 -52
  45. data/docs/_styles/syntax.scss +0 -84
  46. data/docs/_styles/typography.scss +0 -49
  47. data/docs/_styles/yard.scss +0 -36
  48. data/docs/api.html +0 -9662
  49. data/docs/assets/calyx-docs.css +0 -792
  50. data/docs/assets/calyx-flower-outline.svg +0 -202
  51. data/docs/assets/calyx-flower-reverse.svg +0 -202
  52. data/docs/assets/calyx-flower.svg +0 -202
  53. data/docs/assets/logo-small.png +0 -0
  54. data/docs/assets/logos/calyx-flower-1.svg +0 -22
  55. data/docs/assets/logos/calyx-flower-2.svg +0 -21
  56. data/docs/content/documentation.html +0 -20
  57. data/docs/content/examples.html +0 -12
  58. data/docs/content/examples/any-gradient.md +0 -32
  59. data/docs/content/examples/faker.md +0 -16
  60. data/docs/content/examples/tiny-woodland-bot.md +0 -24
  61. data/docs/content/guides/context.md +0 -45
  62. data/docs/content/guides/expressions.md +0 -175
  63. data/docs/content/guides/features.md +0 -50
  64. data/docs/content/guides/formats.md +0 -37
  65. data/docs/content/guides/installation.md +0 -51
  66. data/docs/content/guides/random.md +0 -100
  67. data/docs/content/guides/results.md +0 -62
  68. data/docs/content/index.html +0 -44
  69. data/docs/content/introduction.md +0 -23
  70. data/docs/content/introduction/concepts.md +0 -82
  71. data/docs/content/introduction/contributing.md +0 -43
  72. data/docs/content/introduction/tutorial.md +0 -129
  73. data/docs/content/styleguide.html +0 -71
  74. data/docs/docs.scss +0 -94
  75. data/docs/index.html +0 -12
  76. data/docs/package-lock.json +0 -1536
  77. data/docs/package.json +0 -16
@@ -1,792 +0,0 @@
1
- @charset "UTF-8";
2
- html {
3
- -ms-text-size-adjust: 100%;
4
- -webkit-text-size-adjust: 100%; }
5
-
6
- body {
7
- margin: 0;
8
- font-size: 1rem;
9
- -moz-osx-font-smoothing: grayscale;
10
- -webkit-font-smoothing: antialiased; }
11
-
12
- h1,
13
- h2,
14
- h3,
15
- h4,
16
- h5,
17
- h6
18
- p,
19
- blockquote,
20
- figure,
21
- ol,
22
- ul {
23
- margin: 0;
24
- padding: 0; }
25
-
26
- main,
27
- li {
28
- display: block; }
29
-
30
- h1,
31
- h2,
32
- h3,
33
- h4,
34
- h5,
35
- h6 {
36
- font-size: inherit; }
37
-
38
- strong {
39
- font-weight: bold; }
40
-
41
- a,
42
- button {
43
- color: inherit; }
44
-
45
- a {
46
- text-decoration: none; }
47
-
48
- button {
49
- overflow: visible;
50
- border: 0;
51
- font: inherit;
52
- -webkit-font-smoothing: inherit;
53
- letter-spacing: inherit;
54
- background: none;
55
- cursor: pointer; }
56
-
57
- ::-moz-focus-inner {
58
- padding: 0;
59
- border: 0; }
60
-
61
- img {
62
- max-width: 100%;
63
- height: auto;
64
- border: 0; }
65
-
66
- html {
67
- font-size: 18px; }
68
- @media (min-width: 1024px) {
69
- html {
70
- font-size: 20px; } }
71
-
72
- body {
73
- font-family: "Libre Franklin", sans-serif;
74
- font-weight: 400;
75
- line-height: 1.5; }
76
-
77
- h1, h2, h3, h4, h5, h6 {
78
- font-family: "Work Sans", sans-serif;
79
- font-weight: normal; }
80
-
81
- h1 {
82
- font-size: 2.6rem; }
83
-
84
- h2 {
85
- font-size: 1.3rem; }
86
-
87
- p, li {
88
- font-size: 1rem; }
89
-
90
- .content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
91
- margin-top: 1.3rem;
92
- margin-bottom: 1rem; }
93
-
94
- .is-hidden {
95
- display: none; }
96
-
97
- .container {
98
- width: 100%; }
99
-
100
- .row {
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; } }
108
-
109
- .col {
110
- flex-basis: 0;
111
- flex-grow: 1;
112
- flex-shrink: 1; }
113
-
114
- .menu {
115
- width: 100%;
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; } }
125
- .menu .menu-label {
126
- margin: 1rem 0 0 0;
127
- font-weight: 700;
128
- font-family: "Work Sans", sans-serif; }
129
- .menu .menu-label:first-child {
130
- margin-top: 0; }
131
- .menu .menu-label a {
132
- display: block;
133
- padding: 0.76923rem 1rem; }
134
- .menu .menu-list a {
135
- display: block;
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; }
144
-
145
- .color-chip {
146
- width: 100%;
147
- height: 100px; }
148
-
149
- .color-aquamarine {
150
- background-color: #76FABB; }
151
-
152
- .color-meadow {
153
- background-color: #1BDE81; }
154
-
155
- .color-eucalyptus {
156
- background-color: #218764; }
157
-
158
- .color-stromboli {
159
- background-color: #2F5E52; }
160
-
161
- .p0 {
162
- font-size: 1rem;
163
- line-height: 1.125;
164
- margin: 0; }
165
-
166
- .p1 {
167
- font-size: 1.3rem;
168
- line-height: 1.125;
169
- margin: 0; }
170
-
171
- .p2 {
172
- font-size: 2.6rem;
173
- line-height: 1.125;
174
- margin: 0; }
175
-
176
- .p3 {
177
- font-size: 3.9rem;
178
- line-height: 1.125;
179
- margin: 0; }
180
-
181
- .p4 {
182
- font-size: 5.2rem;
183
- line-height: 1.125;
184
- margin: 0;
185
- white-space: nowrap;
186
- overflow: hidden; }
187
-
188
- .navbar {
189
- width: 100%;
190
- height: 3.76923rem;
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; } }
221
- .navbar.is-fixed {
222
- position: fixed;
223
- top: 0px;
224
- z-index: 2000; }
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;
236
- display: flex;
237
- align-items: center; }
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) {
254
- .navbar .nav-menu ul {
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) {
277
- .navbar .nav-menu ul li {
278
- font-size: 2.6rem;
279
- height: auto; }
280
- .navbar .nav-menu ul li a {
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; } }
286
-
287
- .pagebar {
288
- background-color: #218764;
289
- height: 4.54103rem;
290
- color: #fff;
291
- padding: 1rem; }
292
- .pagebar .breadcrumbs {
293
- display: flex;
294
- align-items: baseline;
295
- justify-content: flex-start; }
296
- .pagebar .breadcrumbs li {
297
- margin-right: 0.38462rem;
298
- font-size: 0.76923rem; }
299
- .pagebar .breadcrumbs li:not(:first-child):before {
300
- content: "/";
301
- margin-right: 0.38462rem; }
302
- .pagebar h1 {
303
- margin-top: 0.25641rem;
304
- line-height: 1.2;
305
- font-size: 2.6rem; }
306
-
307
- .highlight .hll {
308
- background-color: #37463f; }
309
-
310
- .highlight {
311
- color: #eee;
312
- background-color: #37463f;
313
- font-weight: bold; }
314
-
315
- .highlight .c {
316
- color: #aaa;
317
- font-style: italic; }
318
-
319
- /* Comment */
320
- .highlight .err {
321
- color: #a40000;
322
- border: 1px solid #ef2929; }
323
-
324
- /* Error */
325
- .highlight .g {
326
- color: #eee; }
327
-
328
- /* Generic */
329
- .highlight .k {
330
- color: #76FABB; }
331
-
332
- /* Keyword */
333
- .highlight .l {
334
- color: #eee; }
335
-
336
- /* Literal */
337
- .highlight .n {
338
- color: #eee; }
339
-
340
- /* Name */
341
- .highlight .o {
342
- color: #FA8676; }
343
-
344
- /* Operator */
345
- .highlight .x {
346
- color: #eee; }
347
-
348
- /* Other */
349
- .highlight .p {
350
- color: #eee;
351
- font-weight: bold; }
352
-
353
- /* Punctuation */
354
- .highlight .ch {
355
- color: #aaa;
356
- font-style: italic; }
357
-
358
- /* Comment.Hashbang */
359
- .highlight .cm {
360
- color: #aaa;
361
- font-style: italic; }
362
-
363
- /* Comment.Multiline */
364
- .highlight .cp {
365
- color: #aaa;
366
- font-style: italic; }
367
-
368
- /* Comment.Preproc */
369
- .highlight .cpf {
370
- color: #aaa;
371
- font-style: italic; }
372
-
373
- /* Comment.PreprocFile */
374
- .highlight .c1 {
375
- color: #aaa;
376
- font-style: italic; }
377
-
378
- /* Comment.Single */
379
- .highlight .cs {
380
- color: #aaa;
381
- font-style: italic; }
382
-
383
- /* Comment.Special */
384
- .highlight .gd {
385
- color: #a40000; }
386
-
387
- /* Generic.Deleted */
388
- .highlight .ge {
389
- color: #eee;
390
- font-style: italic; }
391
-
392
- /* Generic.Emph */
393
- .highlight .gr {
394
- color: #ef2929; }
395
-
396
- /* Generic.Error */
397
- .highlight .gh {
398
- color: #000080;
399
- font-weight: bold; }
400
-
401
- /* Generic.Heading */
402
- .highlight .gi {
403
- color: #00A000; }
404
-
405
- /* Generic.Inserted */
406
- .highlight .go {
407
- color: #eee; }
408
-
409
- /* Generic.Output */
410
- .highlight .gp {
411
- color: #aaa; }
412
-
413
- /* Generic.Prompt */
414
- .highlight .gs {
415
- color: #eee; }
416
-
417
- /* Generic.Strong */
418
- .highlight .gu {
419
- color: #800080;
420
- font-weight: bold; }
421
-
422
- /* Generic.Subheading */
423
- .highlight .gt {
424
- color: #a40000;
425
- font-weight: bold; }
426
-
427
- /* Generic.Traceback */
428
- .highlight .kc {
429
- color: #76FABB; }
430
-
431
- /* Keyword.Constant */
432
- .highlight .kd {
433
- color: #76FABB; }
434
-
435
- /* Keyword.Declaration */
436
- .highlight .kn {
437
- color: #76FABB; }
438
-
439
- /* Keyword.Namespace */
440
- .highlight .kp {
441
- color: #76FABB; }
442
-
443
- /* Keyword.Pseudo */
444
- .highlight .kr {
445
- color: #76FABB; }
446
-
447
- /* Keyword.Reserved */
448
- .highlight .kt {
449
- color: #76FABB; }
450
-
451
- /* Keyword.Type */
452
- .highlight .ld {
453
- color: #eee; }
454
-
455
- /* Literal.Date */
456
- .highlight .m {
457
- color: #0000cf;
458
- font-weight: bold; }
459
-
460
- /* Literal.Number */
461
- .highlight .s {
462
- color: #C2FBE0; }
463
-
464
- /* Literal.String */
465
- .highlight .na {
466
- color: #c4a000; }
467
-
468
- /* Name.Attribute */
469
- .highlight .nb {
470
- color: #76FABB; }
471
-
472
- /* Name.Builtin */
473
- .highlight .nc {
474
- color: #eee; }
475
-
476
- /* Name.Class */
477
- .highlight .no {
478
- color: #eee; }
479
-
480
- /* Name.Constant */
481
- .highlight .nd {
482
- color: #5c35cc;
483
- font-weight: bold; }
484
-
485
- /* Name.Decorator */
486
- .highlight .ni {
487
- color: #FA8676; }
488
-
489
- /* Name.Entity */
490
- .highlight .ne {
491
- color: #cc0000;
492
- font-weight: bold; }
493
-
494
- /* Name.Exception */
495
- .highlight .nf {
496
- color: #eee; }
497
-
498
- /* Name.Function */
499
- .highlight .nl {
500
- color: #f57900; }
501
-
502
- /* Name.Label */
503
- .highlight .nn {
504
- color: #eee; }
505
-
506
- /* Name.Namespace */
507
- .highlight .nx {
508
- color: #eee; }
509
-
510
- /* Name.Other */
511
- .highlight .py {
512
- color: #eee; }
513
-
514
- /* Name.Property */
515
- .highlight .nt {
516
- color: #76FABB; }
517
-
518
- /* Name.Tag */
519
- .highlight .nv {
520
- color: #eee; }
521
-
522
- /* Name.Variable */
523
- .highlight .ow {
524
- color: #76FABB; }
525
-
526
- /* Operator.Word */
527
- .highlight .w {
528
- color: #f8f8f8;
529
- text-decoration: underline; }
530
-
531
- /* Text.Whitespace */
532
- .highlight .mb {
533
- color: #0000cf;
534
- font-weight: bold; }
535
-
536
- /* Literal.Number.Bin */
537
- .highlight .mf {
538
- color: #0000cf;
539
- font-weight: bold; }
540
-
541
- /* Literal.Number.Float */
542
- .highlight .mh {
543
- color: #0000cf;
544
- font-weight: bold; }
545
-
546
- /* Literal.Number.Hex */
547
- .highlight .mi {
548
- color: #0000cf;
549
- font-weight: bold; }
550
-
551
- /* Literal.Number.Integer */
552
- .highlight .mo {
553
- color: #0000cf;
554
- font-weight: bold; }
555
-
556
- /* Literal.Number.Oct */
557
- .highlight .sa {
558
- color: #C2FBE0; }
559
-
560
- /* Literal.String.Affix */
561
- .highlight .sb {
562
- color: #C2FBE0; }
563
-
564
- /* Literal.String.Backtick */
565
- .highlight .sc {
566
- color: #C2FBE0; }
567
-
568
- /* Literal.String.Char */
569
- .highlight .dl {
570
- color: #C2FBE0; }
571
-
572
- /* Literal.String.Delimiter */
573
- .highlight .sd {
574
- color: #aaa;
575
- font-style: italic; }
576
-
577
- /* Literal.String.Doc */
578
- .highlight .s2 {
579
- color: #C2FBE0; }
580
-
581
- /* Literal.String.Double */
582
- .highlight .se {
583
- color: #C2FBE0; }
584
-
585
- /* Literal.String.Escape */
586
- .highlight .sh {
587
- color: #C2FBE0; }
588
-
589
- /* Literal.String.Heredoc */
590
- .highlight .si {
591
- color: #C2FBE0; }
592
-
593
- /* Literal.String.Interpol */
594
- .highlight .sx {
595
- color: #C2FBE0; }
596
-
597
- /* Literal.String.Other */
598
- .highlight .sr {
599
- color: #C2FBE0; }
600
-
601
- /* Literal.String.Regex */
602
- .highlight .s1 {
603
- color: #C2FBE0; }
604
-
605
- /* Literal.String.Single */
606
- .highlight .ss {
607
- color: #C2FBE0; }
608
-
609
- /* Literal.String.Symbol */
610
- .highlight .bp {
611
- color: #3465a4; }
612
-
613
- /* Name.Builtin.Pseudo */
614
- .highlight .fm {
615
- color: #eee; }
616
-
617
- /* Name.Function.Magic */
618
- .highlight .vc {
619
- color: #eee; }
620
-
621
- /* Name.Variable.Class */
622
- .highlight .vg {
623
- color: #eee; }
624
-
625
- /* Name.Variable.Global */
626
- .highlight .vi {
627
- color: #eee; }
628
-
629
- /* Name.Variable.Instance */
630
- .highlight .vm {
631
- color: #eee; }
632
-
633
- /* Name.Variable.Magic */
634
- .highlight .il {
635
- color: #0000cf;
636
- font-weight: bold; }
637
-
638
- /* Literal.Number.Integer.Long */
639
- .spread {
640
- display: flex;
641
- align-items: center;
642
- padding: 3.9rem 3.9rem 2.6rem 3.9rem; }
643
- .spread.spread-hero {
644
- background-color: #218764;
645
- color: #fff; }
646
- .spread.spread-intro p {
647
- font-size: 1rem;
648
- font-weight: 700;
649
- color: #2F5E52;
650
- padding-bottom: 1rem;
651
- border-bottom: 0.19231rem solid #2F5E52; }
652
- .spread .identity {
653
- width: 30%;
654
- display: flex;
655
- align-items: center;
656
- justify-content: center; }
657
- .spread .lede {
658
- width: 60%; }
659
- .spread .lede h2 {
660
- margin-bottom: 1.3rem;
661
- font-size: 2.6rem;
662
- line-height: 1.2; }
663
-
664
- .cta-list {
665
- display: flex;
666
- align-items: center; }
667
- .cta-list li {
668
- margin-right: 1.3rem; }
669
-
670
- .cta-button {
671
- display: inline-block;
672
- padding: 0.76923rem 1rem;
673
- border: 2px solid #fff;
674
- border-radius: 0.76923rem;
675
- font-weight: 700; }
676
- .cta-button:hover {
677
- border: 2px solid #76FABB;
678
- color: #76FABB; }
679
- .cta-button:active {
680
- box-shadow: 0 0 4px #76FABB; }
681
-
682
- #content {
683
- margin: 0 auto;
684
- padding: 2.6rem; }
685
- #content h1:first-child {
686
- display: none; }
687
- #content h1 {
688
- font-size: 1.3rem;
689
- margin-top: 1.3rem; }
690
- #content h2, #content p {
691
- margin: 0;
692
- font-size: 1rem; }
693
- #content .source_code,
694
- #content .box_info {
695
- display: none; }
696
- #content h2 + .docstring p {
697
- font-size: 1.3rem; }
698
- #content .signature {
699
- padding: 0.38462rem;
700
- border-radius: 6px;
701
- background-color: #76FABB;
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: "→"; }
757
-
758
- .page {
759
- background-color: #fafafa;
760
- min-height: calc(100vh - 3.76923rem - 4.54103rem - 1.3rem); }
761
-
762
- .docs-sidebar {
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; } }
778
-
779
- .docs-content {
780
- order: 2;
781
- min-width: 83.3333333%; }
782
-
783
- .content-footer {
784
- display: flex;
785
- align-items: center;
786
- justify-content: space-between; }
787
- .content-footer .content-footer-col {
788
- border: 1px solid red; }
789
-
790
- .navbar.is-fixed + .spread,
791
- .navbar.is-fixed + .page {
792
- margin-top: 3.76923rem; }