rotion 0.0.14 → 0.1.1

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 (40) hide show
  1. package/README.md +23 -7
  2. package/dist/ui/cjs/index.js +1 -1
  3. package/dist/ui/cjs/index.js.map +1 -1
  4. package/dist/ui/cjs/style.css +91 -112
  5. package/dist/ui/cjs/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  6. package/dist/ui/cjs/types/ui/components/Checkbox/index.d.ts +2 -0
  7. package/dist/ui/cjs/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  8. package/dist/ui/cjs/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  9. package/dist/ui/cjs/types/ui/components/index.d.ts +1 -0
  10. package/dist/ui/cjs/types/ui/components/lib.d.ts +8 -0
  11. package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +67 -4
  12. package/dist/ui/esm/index.js +1 -1
  13. package/dist/ui/esm/index.js.map +1 -1
  14. package/dist/ui/esm/style.css +91 -112
  15. package/dist/ui/esm/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  16. package/dist/ui/esm/types/ui/components/Checkbox/index.d.ts +2 -0
  17. package/dist/ui/esm/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  18. package/dist/ui/esm/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  19. package/dist/ui/esm/types/ui/components/index.d.ts +1 -0
  20. package/dist/ui/esm/types/ui/components/lib.d.ts +8 -0
  21. package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +67 -4
  22. package/dist/ui/types.d.ts +13 -1
  23. package/dist/ui/umd/index.js +1 -1
  24. package/dist/ui/umd/index.js.map +1 -1
  25. package/dist/ui/umd/style.css +91 -112
  26. package/dist/ui/umd/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  27. package/dist/ui/umd/types/ui/components/Checkbox/index.d.ts +2 -0
  28. package/dist/ui/umd/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  29. package/dist/ui/umd/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  30. package/dist/ui/umd/types/ui/components/index.d.ts +1 -0
  31. package/dist/ui/umd/types/ui/components/lib.d.ts +8 -0
  32. package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +67 -4
  33. package/package.json +17 -15
  34. package/dist/ui/styles/base.css +0 -44
  35. package/dist/ui/styles/gallery.css +0 -172
  36. package/dist/ui/styles/list.css +0 -153
  37. package/dist/ui/styles/notionate-dark.css +0 -304
  38. package/dist/ui/styles/notionate.css +0 -5
  39. package/dist/ui/styles/page.css +0 -785
  40. package/dist/ui/styles/table.css +0 -166
@@ -1,785 +0,0 @@
1
- /* bookmark */
2
- .notionate-blocks-bookmark {
3
- padding: .5rem 0;
4
- line-height: 1;
5
- margin-top: .4rem;
6
- }
7
- .notionate-blocks-bookmark-inner {
8
- border: 1px solid #EEE;
9
- border-radius: 3px;
10
- font-size: .75rem;
11
- padding: 0;
12
- display: flex;
13
- cursor: pointer;
14
- position: relative;
15
- background-color: inherit;
16
- overflow: hidden;
17
- }
18
- .notionate-blocks-bookmark-inner:hover {
19
- background-color: #f5f5f5;
20
- }
21
- .notionate-blocks-bookmark-text {
22
- flex: 4 1 180px;
23
- padding: .7rem 1rem 0;
24
- line-height: 1.7;
25
- align-self: start;
26
- overflow: hidden;
27
- }
28
- .notionate-blocks-bookmark-image {
29
- flex: 1 1 180px;
30
- margin: 0;
31
- padding: 0;
32
- line-height: 1;
33
- overflow: hidden;
34
- height: 108px;
35
- }
36
- .notionate-blocks-bookmark-image img {
37
- display: block;
38
- object-fit: cover;
39
- border-radius: 1px;
40
- background: rgb(25, 25, 25);
41
- width: 100%;
42
- height: 100%;
43
- }
44
- .notionate-blocks-bookmark-caption {
45
- margin: .3rem .3rem 0;
46
- text-align: left;
47
- color: #888;
48
- font-size: .8rem;
49
- }
50
- .notionate-blocks-bookmark-title {
51
- font-size: .9rem;
52
- width: 100%;
53
- white-space: nowrap;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- display: block;
57
- margin-bottom: 2px;
58
- }
59
- .notionate-blocks-bookmark-desc {
60
- color: #999;
61
- line-height: 16px;
62
- font-size: 12px;
63
- height: 32px;
64
- overflow: hidden;
65
- }
66
- .notionate-blocks-bookmark-url {
67
- font-size: 12px;
68
- overflow: hidden;
69
- white-space: nowrap;
70
- text-overflow: ellipsis;
71
- margin-top: 8px;
72
- }
73
- .notionate-blocks-bookmark-favicon {
74
- display: inline;
75
- vertical-align: bottom;
76
- margin-right: 10px;
77
- margin-bottom: 1px;
78
- }
79
- @media (max-width: 580px) {
80
- .notionate-blocks-bookmark-image {
81
- display: none;
82
- }
83
- .notionate-blocks-bookmark-inner {
84
- display: block;
85
- }
86
- .notionate-blocks-bookmark-url {
87
- position: static;
88
- padding: 1rem 0 .85rem;
89
- }
90
- }
91
-
92
- /* breadcrumb */
93
- .notionate-blocks-breadcrumb-a {
94
- text-decoration: none;
95
- color: #333;
96
- font-size: .9rem;
97
- padding: .2rem .3rem;
98
- border-radius: 4px;
99
- }
100
- .notionate-blocks-breadcrumb-a:hover {
101
- background-color: rgba(55, 53, 47, 0.08);
102
- cursor: pointer;
103
- }
104
- .notionate-blocks-breadcrumb-icon {
105
- vertical-align: middle;
106
- padding-right: .4rem;
107
- padding-bottom: .2rem;
108
- }
109
- .notionate-blocks-breadcrumb-slash {
110
- font-size: .9rem;
111
- opacity: .5;
112
- padding: 0 .3rem;
113
- }
114
-
115
- /* callout */
116
- .notionate-blocks-callout {
117
- display: flex;
118
- padding: 1.2rem;
119
- padding-left: 1rem;
120
- width: calc(100% - 2.4rem);
121
- border-radius: 3px;
122
- background-color: rgb(241, 241, 239);
123
- margin-top: .6rem;
124
- }
125
- .notionate-blocks-callout-icon {
126
- width: 24px;
127
- height: 24px;
128
- }
129
- .notionate-blocks-callout-text {
130
- margin-left: .6rem;
131
- }
132
-
133
- /* childdatabase */
134
- .notionate-blocks-childdatabase {
135
- width: 100%;
136
- }
137
- .notionate-blocks-childdatabase-a {
138
- display: grid;
139
- grid-template: repeat(1, 1fr) / 1.5rem 1fr;
140
- gap: .4rem;
141
- margin: .2rem 0 0;
142
- padding: .6rem .3rem;
143
- text-decoration: none;
144
- color: #333;
145
- align-items: top;
146
- }
147
- .notionate-blocks-childdatabase-a:hover {
148
- background-color: rgba(55, 53, 47, 0.08);
149
- border-radius: 4px;
150
- }
151
- .notionate-blocks-childdatabase-icon {
152
- height: 24px;
153
- overflow: hidden;
154
- }
155
- .notionate-blocks-childdatabase-title {
156
- border-bottom: 1px solid #ddd;
157
- vertical-align: middle;
158
- padding-top: .4rem;
159
- }
160
-
161
- /* childpage */
162
- .notionate-blocks-childpage {
163
- width: 100%;
164
- }
165
- .notionate-blocks-childpage-a {
166
- display: grid;
167
- grid-template: repeat(1, 1fr) / 1.5rem 1fr;
168
- gap: .4rem;
169
- margin: .2rem 0 0;
170
- padding: .2rem;
171
- text-decoration: none;
172
- color: #333;
173
- align-items: top;
174
- }
175
- .notionate-blocks-childpage-a:hover {
176
- background-color: rgba(55, 53, 47, 0.08);
177
- border-radius: 4px;
178
- }
179
- .notionate-blocks-childpage-icon {
180
- height: 24px;
181
- overflow: hidden;
182
- }
183
- .notionate-blocks-childpage-title {
184
- border-bottom: 1px solid #ddd;
185
- vertical-align: middle;
186
- padding-top: .4rem;
187
- }
188
-
189
- /* columnlist */
190
- .notionate-blocks-columnlist {
191
- width: 100%;
192
- margin: 1rem 0;
193
- display: grid;
194
- gap: 5%;
195
- }
196
- .notionate-blocks-columnlist-inner {
197
- margin: 0 0 1rem;
198
- }
199
- @media (max-width: 580px) {
200
- .notionate-blocks-columnlist {
201
- display: block;
202
- }
203
- }
204
-
205
- /* embed */
206
- .notionate-blocks-embed {
207
- width: 100%;
208
- text-align: center;
209
- }
210
- .notionate-blocks-embed-inner {
211
- width: 100%;
212
- text-align: center;
213
- }
214
- .notionate-blocks-embed-caption {
215
- margin: .3rem .3rem 0;
216
- text-align: left;
217
- color: #888;
218
- font-size: .95rem;
219
- }
220
- .notionate-blocks-embed-twitter {
221
- max-width: 550px;
222
- margin: 0 auto;
223
- }
224
- .notionate-blocks-embed-speakerdeck {
225
- padding-bottom: 56.25%; /* 16:9 */
226
- position: relative;
227
- height: 0;
228
- }
229
- .notionate-blocks-embed-speakerdeck iframe {
230
- position: absolute;
231
- top: 0;
232
- left: 0;
233
- width: 100%;
234
- height: 100%;
235
- }
236
-
237
- /* video */
238
- .notionate-blocks-video {
239
- width: 100%;
240
- }
241
- .notionate-blocks-video-inner {
242
- margin: auto;
243
- }
244
- .notionate-blocks-video-html {
245
- width: 100%;
246
- margin: auto;
247
- padding-bottom: 56.25%; /* 16:9 */
248
- position: relative;
249
- height: 0;
250
- }
251
- .notionate-blocks-video-html iframe {
252
- position: absolute;
253
- top: 0;
254
- left: 0;
255
- width: 100%;
256
- height: 100%;
257
- }
258
- .notionate-blocks-video-caption {
259
- margin: .3rem .3rem 0;
260
- text-align: left;
261
- color: #888;
262
- font-size: .95rem;
263
- }
264
-
265
- /* icons */
266
- .notionate-blocks-icons-figma {
267
- margin-left: .2rem;
268
- margin-right: .6rem;
269
- vertical-align: middle;
270
- }
271
- .notionate-blocks-icons-github {
272
- margin-right: .5rem;
273
- vertical-align: middle;
274
- }
275
- .notionate-blocks-icons-slack {
276
- margin-right: .5rem;
277
- vertical-align: middle;
278
- }
279
-
280
- /* image */
281
- .notionate-blocks-image {
282
- text-align: center;
283
- margin: 0;
284
- padding: 0 0 .5rem;
285
- }
286
- .notionate-blocks-image-inner {
287
- display: flex;
288
- }
289
- .notionate-blocks-image-img {
290
- margin-left: auto;
291
- margin-right: auto;
292
- width: 100%;
293
- }
294
- .notionate-blocks-image-caption {
295
- margin: .3rem .3rem 0;
296
- text-align: left;
297
- color: #888;
298
- font-size: .95rem;
299
- }
300
-
301
- /* linkpreview */
302
- .notionate-blocks-linkpreview {
303
- margin: 1rem 0;
304
- }
305
- .notionate-blocks-linkpreview-a {
306
- display: block;
307
- text-decoration: none;
308
- border: 1px solid #ddd;
309
- padding: 1rem;
310
- color: #888;
311
- font-size: .8rem;
312
- background-color: inherit;
313
- overflow: hidden;
314
- }
315
- .notionate-blocks-linkpreview-a:hover {
316
- background-color: #eee;
317
- }
318
- .notionate-blocks-icons-github {
319
- fill: #000;
320
- }
321
-
322
- /* list */
323
- .notionate-blocks-list-ul,
324
- .notionate-blocks-list-ol {
325
- line-height: 1.7;
326
- padding: 1rem 0 0 1rem;
327
- margin: 0 0 0 .3rem;
328
- }
329
-
330
- /* table */
331
- .notionate-blocks-table-td {
332
- border: 1px solid #E5E5E5;
333
- margin: 0;
334
- padding: .3rem;
335
- }
336
- .notionate-blocks-table-td-inner {
337
- padding: .2rem .8rem;
338
- }
339
- .notionate-blocks-table-td-header {
340
- border: 1px solid #E5E5E5;
341
- background-color: #F5F5F5;
342
- margin: 0;
343
- padding: .3rem;
344
- font-weight: 500;
345
- text-align: left;
346
- }
347
- .notionate-blocks-table-td-header-inner {
348
- padding: .2rem .8rem;
349
- }
350
- .notionate-blocks-table {
351
- padding-top: .6rem;
352
- }
353
- .notionate-blocks-table-table {
354
- border-collapse: collapse;
355
- border-spacing: 0;
356
- font-size: .9rem;
357
- }
358
-
359
- /* text */
360
- .notionate-blocks-text-a {
361
- text-decoration: none;
362
- }
363
- .notionate-blocks-text-usermention {
364
- color: #999;
365
- }
366
- .notionate-blocks-text-mention {
367
- padding: .1rem .2rem .2rem;
368
- border-radius: 5px;
369
- background: inherit;
370
- }
371
- .notionate-blocks-text-mention:hover {
372
- background: rgba(135,131,120,0.15);
373
- }
374
- .notionate-blocks-text-code {
375
- color: #EB5757;
376
- font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;
377
- background: rgba(135, 131, 120, 0.15);
378
- border-radius: 3px;
379
- font-size: .8rem;
380
- padding: .1rem .2rem;
381
- }
382
- .notionate-blocks-text-gray {
383
- color: rgba(120, 119, 116, 1);
384
- }
385
- .notionate-blocks-text-brown {
386
- color: rgba(159, 107, 83, 1);
387
- }
388
- .notionate-blocks-text-orange {
389
- color: rgba(217, 115, 13, 1);
390
- }
391
- .notionate-blocks-text-yellow {
392
- color: rgba(203, 145, 47, 1);
393
- }
394
- .notionate-blocks-text-green {
395
- color: rgba(68, 131, 97, 1);
396
- }
397
- .notionate-blocks-text-blue {
398
- color: rgba(51, 126, 169, 1);
399
- }
400
- .notionate-blocks-text-purple {
401
- color: rgba(144, 101, 176, 1);
402
- }
403
- .notionate-blocks-text-pink {
404
- color: rgba(193, 76, 138, 1);
405
- }
406
- .notionate-blocks-text-red {
407
- color: rgba(212, 76, 71, 1);
408
- }
409
- .notionate-blocks-text-gray-background {
410
- background: rgba(241, 241, 239, 1);
411
- }
412
- .notionate-blocks-text-brown-background {
413
- background: rgba(244, 238, 238, 1);
414
- }
415
- .notionate-blocks-text-orange-background {
416
- background: rgba(251, 236, 221, 1);
417
- }
418
- .notionate-blocks-text-yellow-background {
419
- background: rgba(251, 243, 219, 1);
420
- }
421
- .notionate-blocks-text-green-background {
422
- background: rgba(237, 243, 236, 1);
423
- }
424
- .notionate-blocks-text-blue-background {
425
- background: rgba(231, 243, 248, 1);
426
- }
427
- .notionate-blocks-text-purple-background {
428
- background: rgba(244, 240, 247, 0.8);
429
- }
430
- .notionate-blocks-text-pink-background {
431
- background: rgba(249, 238, 243, 0.8);
432
- }
433
- .notionate-blocks-text-red-background {
434
- background: rgba(253, 235, 236, 1);
435
- }
436
- .notionate-blocks-text-bold {
437
- font-weight: bold;
438
- }
439
- .notionate-blocks-text-italic {
440
- font-style: italic;
441
- }
442
- .notionate-blocks-text-strikethrough {
443
- text-decoration: line-through;
444
- }
445
- .notionate-blocks-text-underline {
446
- text-decoration: underline;
447
- }
448
- .notionate-blocks-text-anchor {
449
- border-bottom: 1px solid #999;
450
- color: #666;
451
- }
452
- .notionate-blocks-text-hr {
453
- margin: 1rem 0;
454
- border-top-color: #ddd;
455
- border-top-style: solid;
456
- border-top-width: 1px;
457
- width: 100%;
458
- height: 1px;
459
- }
460
- .notionate-blocks-text-h1 {
461
- line-height: 1.5;
462
- margin: 0;
463
- padding: 3rem 0 0;
464
- }
465
- .notionate-blocks-text-h2 {
466
- line-height: 1.5;
467
- margin: 0;
468
- padding: 2rem 0 0;
469
- }
470
- .notionate-blocks-text-h3 {
471
- line-height: 1.5;
472
- margin: 0;
473
- padding: 1.6rem 0 0;
474
- }
475
- .notionate-blocks-text-h4 {
476
- line-height: 1.5;
477
- margin: 0;
478
- padding: 1.4rem 0 0;
479
- }
480
- .notionate-blocks-text-p {
481
- padding: .6rem 0 .4rem;
482
- margin: 0;
483
- line-height: 1.5;
484
- }
485
- .notionate-blocks-text-li {
486
- padding: .1rem 0 .1rem .3rem;
487
- margin: 0;
488
- line-height: 1.5;
489
- }
490
- .notionate-blocks-text-blockquote {
491
- border-left: 3px solid currentcolor;
492
- padding-left: 1rem;
493
- margin-left: 0;
494
- margin-right: 0;
495
- line-height: 1.7;
496
- }
497
-
498
- /* todo */
499
- .notionate-blocks-checked {
500
- width: 16px;
501
- height: 16px;
502
- display: flex;
503
- align-items: stretch;
504
- justify-content: stretch;
505
- flex-shrink: 0;
506
- flex-grow: 0;
507
- background: rgb(46, 170, 220);
508
- transition: background 200ms ease-out 0s;
509
- }
510
- .notionate-blocks-checked-inner {
511
- user-select: none;
512
- transition: background 20ms ease-in 0s;
513
- position: relative;
514
- display: flex;
515
- align-items: center;
516
- justify-content: center;
517
- width: 100%;
518
- }
519
- .notionate-blocks-checked-checkbox {
520
- width: 12px;
521
- height: 12px;
522
- display: block;
523
- fill: white;
524
- flex-shrink: 0;
525
- backface-visibility: hidden;
526
- }
527
- .notionate-blocks-unchecked {
528
- user-select: none;
529
- transition: background 20ms ease-in 0s;
530
- position: relative;
531
- display: flex;
532
- align-items: center;
533
- justify-content: center;
534
- width: 16px;
535
- height: 16px;
536
- }
537
- .notionate-blocks-unchecked-checkbox {
538
- width: 100%;
539
- height: 100%;
540
- display: block;
541
- fill: inherit;
542
- flex-shrink: 0;
543
- backface-visibility: hidden;
544
- }
545
- .notionate-blocks-todo {
546
- display: flex;
547
- align-items: flex-start;
548
- width: 100%;
549
- padding: 4px 0 1px 2px;
550
- line-height: 1.7;
551
- }
552
- .notionate-blocks-todo-check {
553
- user-select: none;
554
- margin-right: 4px;
555
- width: 22px;
556
- display: flex;
557
- align-items: center;
558
- justify-content: center;
559
- flex-grow: 0;
560
- flex-shrink: 0;
561
- min-height: calc(1.5em + 3px + 3px);
562
- }
563
- .notionate-blocks-todo-text {
564
- flex: 1 1 0px;
565
- min-width: 1px;
566
- display: flex;
567
- flex-direction: column;
568
- }
569
- .notionate-blocks-todo-text-inner {
570
- max-width: 100%;
571
- white-space: pre-wrap;
572
- word-break: break-word;
573
- padding: 1px 2px;
574
- text-align: left;
575
- flex-grow: 1;
576
- }
577
- .notionate-blocks-todo-text-inner-checked {
578
- text-decoration-line: line-through;
579
- text-decoration-color: #999;
580
- color: #888;
581
- }
582
-
583
- /* toggle */
584
- .notionate-blocks-toggle {
585
- display: flex;
586
- align-items: flex-start;
587
- width: 100%;
588
- margin-top: .6rem;
589
- line-height: 1.8;
590
- }
591
- .notionate-blocks-toggle-triangle {
592
- transition: background 20ms ease-in 0s;
593
- cursor: pointer;
594
- position: relative;
595
- display: flex;
596
- align-items: center;
597
- justify-content: center;
598
- width: 24px;
599
- height: 24px;
600
- border-radius: 3px;
601
- padding: 4px;
602
- margin-top: 0;
603
- margin-right: 4px;
604
- background-color: inherit;
605
- }
606
- .notionate-blocks-toggle-triangle:hover {
607
- background-color: #eee;
608
- }
609
- .notionate-blocks-toggle-box {
610
- flex: 1 1 0px;
611
- min-width: 1px;
612
- }
613
- .notionate-blocks-toggle-triangle-svg {
614
- width: 0.6875em;
615
- height: 0.6875em;
616
- display: block;
617
- fill: inherit;
618
- flex-shrink: 0;
619
- backface-visibility: hidden;
620
- transition: transform 200ms ease-out 0s;
621
- opacity: 1;
622
- }
623
-
624
- /* code */
625
- .notionate-blocks-code-caption {
626
- margin: .3rem .3rem 0;
627
- text-align: left;
628
- color: #888;
629
- font-size: .95rem;
630
- }
631
- .notionate-blocks-code {
632
- border-radius: 3px;
633
- padding: .6rem 1rem;
634
- background-color: #f5f2f0;
635
- margin: 1rem 0;
636
- font-size: .8rem;
637
- position: relative;
638
- top: 0;
639
- left: 0;
640
- }
641
- .notionate-blocks-code-lang {
642
- position: absolute;
643
- top: .5rem;
644
- left: .8rem;
645
- color: #999;
646
- font-size: .75rem;
647
- text-transform: capitalize;
648
- display: block;
649
- }
650
-
651
- /* prismjs/themes/prism.css */
652
- code[class*="language-"],
653
- pre[class*="language-"] {
654
- color: black;
655
- background: none;
656
- text-shadow: 0 1px white;
657
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
658
- font-size: 1em;
659
- text-align: left;
660
- white-space: pre;
661
- word-spacing: normal;
662
- word-break: normal;
663
- word-wrap: normal;
664
- line-height: 1.5;
665
-
666
- -moz-tab-size: 4;
667
- -o-tab-size: 4;
668
- tab-size: 4;
669
-
670
- -webkit-hyphens: none;
671
- -moz-hyphens: none;
672
- -ms-hyphens: none;
673
- hyphens: none;
674
- }
675
-
676
- pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
677
- code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
678
- text-shadow: none;
679
- background: #b3d4fc;
680
- }
681
-
682
- pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
683
- code[class*="language-"]::selection, code[class*="language-"] ::selection {
684
- text-shadow: none;
685
- background: #b3d4fc;
686
- }
687
-
688
- @media print {
689
- code[class*="language-"],
690
- pre[class*="language-"] {
691
- text-shadow: none;
692
- }
693
- }
694
-
695
- /* Code blocks */
696
- pre[class*="language-"] {
697
- padding: 1em;
698
- margin: .5em 0;
699
- overflow: auto;
700
- }
701
-
702
- :not(pre) > code[class*="language-"],
703
- pre[class*="language-"] {
704
- background: #f5f2f0;
705
- }
706
-
707
- /* Inline code */
708
- :not(pre) > code[class*="language-"] {
709
- padding: .1em;
710
- border-radius: .3em;
711
- white-space: normal;
712
- }
713
-
714
- .token.comment,
715
- .token.prolog,
716
- .token.doctype,
717
- .token.cdata {
718
- color: slategray;
719
- }
720
-
721
- .token.punctuation {
722
- color: #999;
723
- }
724
-
725
- .token.namespace {
726
- opacity: .7;
727
- }
728
-
729
- .token.property,
730
- .token.tag,
731
- .token.boolean,
732
- .token.number,
733
- .token.constant,
734
- .token.symbol,
735
- .token.deleted {
736
- color: #905;
737
- }
738
-
739
- .token.selector,
740
- .token.attr-name,
741
- .token.string,
742
- .token.char,
743
- .token.builtin,
744
- .token.inserted {
745
- color: #690;
746
- }
747
-
748
- .token.operator,
749
- .token.entity,
750
- .token.url,
751
- .language-css .token.string,
752
- .style .token.string {
753
- color: #9a6e3a;
754
- /* This background color was intended by the author of this theme. */
755
- background: hsla(0, 0%, 100%, .5);
756
- }
757
-
758
- .token.atrule,
759
- .token.attr-value,
760
- .token.keyword {
761
- color: #07a;
762
- }
763
-
764
- .token.function,
765
- .token.class-name {
766
- color: #DD4A68;
767
- }
768
-
769
- .token.regex,
770
- .token.important,
771
- .token.variable {
772
- color: #e90;
773
- }
774
-
775
- .token.important,
776
- .token.bold {
777
- font-weight: bold;
778
- }
779
- .token.italic {
780
- font-style: italic;
781
- }
782
-
783
- .token.entity {
784
- cursor: help;
785
- }