@covalent/markdown 0.0.0-COVALENT

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.
@@ -0,0 +1,664 @@
1
+ /* stylelint-disable no-duplicate-selectors */
2
+ :host {
3
+ &.td-markdown::ng-deep {
4
+ a {
5
+ background-color: transparent;
6
+ }
7
+
8
+ a[target='_blank'] {
9
+ display: inline-flex;
10
+ align-items: center;
11
+ position: relative;
12
+ padding-right: 16px;
13
+
14
+ &::after {
15
+ content: 'open_in_new';
16
+ font-family: var(--mdc-icon-font, 'Material Symbols Outlined');
17
+ padding-left: 2px;
18
+ text-decoration: none;
19
+ position: absolute;
20
+ right: 0;
21
+ top: 1px;
22
+ }
23
+ }
24
+
25
+ a:active,
26
+ a:hover {
27
+ outline-width: 0;
28
+ }
29
+
30
+ strong {
31
+ font-weight: inherit;
32
+ font-weight: bolder;
33
+ }
34
+
35
+ h1 {
36
+ font-size: 2em;
37
+ margin: 0.67em 0;
38
+ }
39
+
40
+ img {
41
+ border-style: none;
42
+ }
43
+
44
+ svg:not(:root) {
45
+ overflow: hidden;
46
+ }
47
+
48
+ code,
49
+ kbd,
50
+ pre {
51
+ font-family: monospace;
52
+ font-size: 1em;
53
+ }
54
+
55
+ hr {
56
+ box-sizing: content-box;
57
+ height: 0;
58
+ overflow: visible;
59
+ }
60
+
61
+ input {
62
+ font: inherit;
63
+ margin: 0;
64
+ }
65
+
66
+ input {
67
+ overflow: visible;
68
+ }
69
+
70
+ button:-moz-focusring,
71
+ [type='button']:-moz-focusring,
72
+ [type='reset']:-moz-focusring,
73
+ [type='submit']:-moz-focusring {
74
+ outline: 1px dotted ButtonText;
75
+ }
76
+
77
+ [type='checkbox'] {
78
+ box-sizing: border-box;
79
+ padding: 0;
80
+ }
81
+
82
+ table {
83
+ border-spacing: 0;
84
+ border-collapse: collapse;
85
+ }
86
+
87
+ td,
88
+ th {
89
+ padding: 0;
90
+ }
91
+
92
+ * {
93
+ box-sizing: border-box;
94
+ }
95
+
96
+ input {
97
+ font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans,
98
+ clean, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
99
+ 'Segoe UI Symbol';
100
+ }
101
+
102
+ a {
103
+ text-decoration: none;
104
+ }
105
+
106
+ a:hover,
107
+ a:active {
108
+ text-decoration: underline;
109
+ }
110
+
111
+ hr {
112
+ height: 0;
113
+ margin: 15px 0;
114
+ overflow: hidden;
115
+ background: transparent;
116
+ border-bottom-width: 1px;
117
+ border-bottom-style: solid;
118
+ }
119
+
120
+ hr::before {
121
+ display: table;
122
+ content: '';
123
+ }
124
+
125
+ hr::after {
126
+ display: table;
127
+ clear: both;
128
+ content: '';
129
+ }
130
+
131
+ h1,
132
+ h2,
133
+ h3,
134
+ h4,
135
+ h5,
136
+ h6 {
137
+ margin-top: 0;
138
+ margin-bottom: 0;
139
+ line-height: 1.5;
140
+ }
141
+
142
+ h1 {
143
+ font-size: 30px;
144
+ }
145
+
146
+ h2 {
147
+ font-size: 21px;
148
+ }
149
+
150
+ h3 {
151
+ font-size: 16px;
152
+ }
153
+
154
+ h4 {
155
+ font-size: 14px;
156
+ }
157
+
158
+ h5 {
159
+ font-size: 12px;
160
+ }
161
+
162
+ h6 {
163
+ font-size: 11px;
164
+ }
165
+
166
+ p {
167
+ margin-top: 0;
168
+ margin-bottom: 10px;
169
+ }
170
+
171
+ blockquote {
172
+ margin: 0;
173
+ }
174
+
175
+ ul,
176
+ ol {
177
+ padding-left: 0;
178
+ margin-top: 0;
179
+ margin-bottom: 0;
180
+ }
181
+
182
+ ol ol,
183
+ ul ol {
184
+ list-style-type: lower-roman;
185
+ }
186
+
187
+ ul ul ol,
188
+ ul ol ol,
189
+ ol ul ol,
190
+ ol ol ol {
191
+ list-style-type: lower-alpha;
192
+ }
193
+
194
+ dd {
195
+ margin-left: 0;
196
+ }
197
+
198
+ code {
199
+ font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
200
+ font-size: 12px;
201
+ }
202
+
203
+ pre {
204
+ margin-top: 0;
205
+ margin-bottom: 0;
206
+ font: 12px Consolas, 'Liberation Mono', Menlo, Courier, monospace;
207
+ }
208
+
209
+ .pl-0 {
210
+ padding-left: 0 !important;
211
+ }
212
+
213
+ .pl-1 {
214
+ padding-left: 3px !important;
215
+ }
216
+
217
+ .pl-2 {
218
+ padding-left: 6px !important;
219
+ }
220
+
221
+ .pl-3 {
222
+ padding-left: 12px !important;
223
+ }
224
+
225
+ .pl-4 {
226
+ padding-left: 24px !important;
227
+ }
228
+
229
+ .pl-5 {
230
+ padding-left: 36px !important;
231
+ }
232
+
233
+ .pl-6 {
234
+ padding-left: 48px !important;
235
+ }
236
+
237
+ .form-select::-ms-expand {
238
+ opacity: 0;
239
+ }
240
+
241
+ a:not([href]) {
242
+ color: inherit;
243
+ text-decoration: none;
244
+ }
245
+
246
+ h1,
247
+ h2,
248
+ h3,
249
+ h4,
250
+ h5,
251
+ h6 {
252
+ margin-top: 1em;
253
+ margin-bottom: 16px;
254
+ font-weight: bold;
255
+ line-height: 1.4;
256
+ }
257
+
258
+ h1 .octicon-link,
259
+ h2 .octicon-link,
260
+ h3 .octicon-link,
261
+ h4 .octicon-link,
262
+ h5 .octicon-link,
263
+ h6 .octicon-link {
264
+ color: #000000;
265
+ vertical-align: middle;
266
+ visibility: hidden;
267
+ }
268
+
269
+ h1:hover .anchor,
270
+ h2:hover .anchor,
271
+ h3:hover .anchor,
272
+ h4:hover .anchor,
273
+ h5:hover .anchor,
274
+ h6:hover .anchor {
275
+ text-decoration: none;
276
+ }
277
+
278
+ h1:hover .anchor .octicon-link,
279
+ h2:hover .anchor .octicon-link,
280
+ h3:hover .anchor .octicon-link,
281
+ h4:hover .anchor .octicon-link,
282
+ h5:hover .anchor .octicon-link,
283
+ h6:hover .anchor .octicon-link {
284
+ visibility: visible;
285
+ }
286
+
287
+ h1 {
288
+ padding-bottom: 0.3em;
289
+ font-size: 2.25em;
290
+ line-height: 1.2;
291
+ border-bottom-width: 1px;
292
+ border-bottom-style: solid;
293
+ }
294
+
295
+ h1 .anchor {
296
+ line-height: 1;
297
+ }
298
+
299
+ h2 {
300
+ padding-bottom: 0.3em;
301
+ font-size: 1.75em;
302
+ line-height: 1.225;
303
+ border-bottom-width: 1px;
304
+ border-bottom-style: solid;
305
+ }
306
+
307
+ h2 .anchor {
308
+ line-height: 1;
309
+ }
310
+
311
+ h3 {
312
+ font-size: 1.5em;
313
+ line-height: 1.43;
314
+ }
315
+
316
+ h3 .anchor {
317
+ line-height: 1.2;
318
+ }
319
+
320
+ h4 {
321
+ font-size: 1.25em;
322
+ }
323
+
324
+ h4 .anchor {
325
+ line-height: 1.2;
326
+ }
327
+
328
+ h5 {
329
+ font-size: 1em;
330
+ }
331
+
332
+ h5 .anchor {
333
+ line-height: 1.1;
334
+ }
335
+
336
+ h6 {
337
+ font-size: 1em;
338
+ }
339
+
340
+ h6 .anchor {
341
+ line-height: 1.1;
342
+ }
343
+
344
+ p,
345
+ blockquote,
346
+ ul,
347
+ ol,
348
+ dl,
349
+ table,
350
+ pre {
351
+ margin-top: 0;
352
+ margin-bottom: 16px;
353
+ }
354
+
355
+ hr {
356
+ margin: 16px 0;
357
+ }
358
+
359
+ ul,
360
+ ol {
361
+ padding-left: 2em;
362
+ }
363
+
364
+ ul ul,
365
+ ul ol,
366
+ ol ol,
367
+ ol ul {
368
+ margin-top: 0;
369
+ margin-bottom: 0;
370
+ }
371
+
372
+ li > p {
373
+ margin-top: 16px;
374
+ }
375
+
376
+ dl {
377
+ padding: 0;
378
+ }
379
+
380
+ dl dt {
381
+ padding: 0;
382
+ margin-top: 16px;
383
+ font-size: 1em;
384
+ font-style: italic;
385
+ font-weight: bold;
386
+ }
387
+
388
+ dl dd {
389
+ padding: 0 16px;
390
+ margin-bottom: 16px;
391
+ }
392
+
393
+ blockquote {
394
+ padding: 0 15px;
395
+ border-left-width: 4px;
396
+ border-left-style: solid;
397
+ }
398
+
399
+ blockquote > :first-child {
400
+ margin-top: 0;
401
+ }
402
+
403
+ blockquote > :last-child {
404
+ margin-bottom: 0;
405
+ }
406
+
407
+ table {
408
+ display: block;
409
+ width: 100%;
410
+ overflow: auto;
411
+ word-break: normal;
412
+ word-break: keep-all;
413
+ }
414
+
415
+ table th {
416
+ font-weight: bold;
417
+ }
418
+
419
+ table th,
420
+ table td {
421
+ padding: 6px 13px;
422
+ border-width: 1px;
423
+ border-style: solid;
424
+ }
425
+
426
+ table tr {
427
+ border-top-width: 1px;
428
+ border-top-style: solid;
429
+ }
430
+
431
+ img {
432
+ max-width: 100%;
433
+ box-sizing: content-box;
434
+ }
435
+
436
+ code {
437
+ padding: 0;
438
+ padding-top: 0.2em;
439
+ padding-bottom: 0.2em;
440
+ margin: 0;
441
+ font-size: 85%;
442
+ border-radius: 3px;
443
+ }
444
+
445
+ code::before,
446
+ code::after {
447
+ letter-spacing: -0.2em;
448
+ }
449
+
450
+ pre > code {
451
+ padding: 0;
452
+ margin: 0;
453
+ font-size: 100%;
454
+ word-break: normal;
455
+ white-space: pre;
456
+ background: transparent;
457
+ border: 0;
458
+ }
459
+
460
+ .highlight {
461
+ margin-bottom: 16px;
462
+ }
463
+
464
+ .highlight pre,
465
+ pre {
466
+ padding: 16px;
467
+ overflow: auto;
468
+ font-size: 85%;
469
+ line-height: 1.45;
470
+ border-radius: 3px;
471
+ }
472
+
473
+ .highlight pre {
474
+ margin-bottom: 0;
475
+ word-break: normal;
476
+ }
477
+
478
+ pre {
479
+ word-wrap: normal;
480
+ }
481
+
482
+ pre code {
483
+ display: inline;
484
+ max-width: initial;
485
+ padding: 0;
486
+ margin: 0;
487
+ overflow: initial;
488
+ line-height: inherit;
489
+ word-wrap: normal;
490
+ background-color: transparent;
491
+ border: 0;
492
+ }
493
+
494
+ pre code::before,
495
+ pre code::after {
496
+ content: normal;
497
+ }
498
+
499
+ kbd {
500
+ display: inline-block;
501
+ padding: 3px 5px;
502
+ font-size: 11px;
503
+ line-height: 10px;
504
+ vertical-align: middle;
505
+ border-style: solid;
506
+ border-width: 1px;
507
+ border-radius: 3px;
508
+ }
509
+
510
+ .pl-c {
511
+ color: #969896;
512
+ }
513
+
514
+ .pl-c1,
515
+ .pl-s .pl-v {
516
+ color: #0086b3;
517
+ }
518
+
519
+ .pl-e,
520
+ .pl-en {
521
+ color: #795da3;
522
+ }
523
+
524
+ .pl-s .pl-s1,
525
+ .pl-smi {
526
+ color: #333333;
527
+ }
528
+
529
+ .pl-ent {
530
+ color: #63a35c;
531
+ }
532
+
533
+ .pl-k {
534
+ color: #a71d5d;
535
+ }
536
+
537
+ .pl-pds,
538
+ .pl-s,
539
+ .pl-s .pl-pse .pl-s1,
540
+ .pl-sr,
541
+ .pl-sr .pl-cce,
542
+ .pl-sr .pl-sra,
543
+ .pl-sr .pl-sre {
544
+ color: #183691;
545
+ }
546
+
547
+ .pl-v {
548
+ color: #ed6a43;
549
+ }
550
+
551
+ .pl-id {
552
+ color: #b52a1d;
553
+ }
554
+
555
+ .pl-ii {
556
+ background-color: #b52a1d;
557
+ color: #f8f8f8;
558
+ }
559
+
560
+ .pl-sr .pl-cce {
561
+ color: #63a35c;
562
+ font-weight: bold;
563
+ }
564
+
565
+ .pl-ml {
566
+ color: #693a17;
567
+ }
568
+
569
+ .pl-mh,
570
+ .pl-mh .pl-en,
571
+ .pl-ms {
572
+ color: #1d3e81;
573
+ font-weight: bold;
574
+ }
575
+
576
+ .pl-mq {
577
+ color: #008080;
578
+ }
579
+
580
+ .pl-mi {
581
+ color: #333333;
582
+ font-style: italic;
583
+ }
584
+
585
+ .pl-mb {
586
+ color: #333333;
587
+ font-weight: bold;
588
+ }
589
+
590
+ .pl-md {
591
+ background-color: #ffecec;
592
+ color: #bd2c00;
593
+ }
594
+
595
+ .pl-mi1 {
596
+ background-color: #eaffea;
597
+ color: #55a532;
598
+ }
599
+
600
+ .pl-mdr {
601
+ color: #795da3;
602
+ font-weight: bold;
603
+ }
604
+
605
+ .pl-mo {
606
+ color: #1d3e81;
607
+ }
608
+
609
+ kbd {
610
+ display: inline-block;
611
+ padding: 3px 5px;
612
+ font: 11px Consolas, 'Liberation Mono', Menlo, Courier, monospace;
613
+ line-height: 10px;
614
+ vertical-align: middle;
615
+ background-color: #fcfcfc;
616
+ border: solid 1px #cccccc;
617
+ border-bottom-color: #bbbbbb;
618
+ border-radius: 3px;
619
+ box-shadow: inset 0 -1px 0 #bbbbbb;
620
+ }
621
+
622
+ .full-commit .btn-outline:not(:disabled):hover {
623
+ color: #4078c0;
624
+ border: 1px solid #4078c0;
625
+ }
626
+
627
+ :checked + .radio-label {
628
+ position: relative;
629
+ z-index: 1;
630
+ border-color: #4078c0;
631
+ }
632
+
633
+ .octicon {
634
+ display: inline-block;
635
+ vertical-align: text-top;
636
+ fill: currentColor;
637
+ }
638
+
639
+ .task-list-item {
640
+ list-style-type: none;
641
+ }
642
+
643
+ .task-list-item + .task-list-item {
644
+ margin-top: 3px;
645
+ }
646
+
647
+ .task-list-item input {
648
+ margin: 0 0.2em 0.25em -1.6em;
649
+ vertical-align: middle;
650
+ }
651
+
652
+ td.markdown-align-center {
653
+ text-align: center;
654
+ }
655
+
656
+ td.markdown-align-left {
657
+ text-align: left;
658
+ }
659
+
660
+ td.markdown-align-right {
661
+ text-align: right;
662
+ }
663
+ }
664
+ }