|
1 | 1 | [data-root] { |
2 | | - --font-sans: |
3 | | - "-apple-system", |
4 | | - "BlinkMacSystemFont", |
5 | | - "Inter", |
6 | | - "system-ui", |
7 | | - "-apple-system", |
8 | | - "BlinkMacSystemFont", |
9 | | - "Segoe UI", |
10 | | - "Roboto", |
11 | | - "Helvetica Neue", |
12 | | - "Arial", |
13 | | - "Noto Sans", |
14 | | - "sans-serif", |
15 | | - "Apple Color Emoji", |
16 | | - "Segoe UI Emoji", |
17 | | - "Segoe UI Symbol", |
18 | | - "Noto Color Emoji"; |
19 | | - --font-mono: |
20 | | - "Menlo", |
21 | | - "Monaco", |
22 | | - "Consolas", |
23 | | - "Liberation Mono", |
24 | | - "Courier New", |
25 | | - "monospace"; |
26 | | - |
27 | 2 | -webkit-font-smoothing: auto; |
28 | 3 | -moz-osx-font-smoothing: auto; |
29 | 4 |
|
|
33 | 8 | caret-color: var(--black); |
34 | 9 | } |
35 | 10 |
|
36 | | -/* Displays markdown syntax as pseudo elements (1 of 2). */ |
37 | | -[data-display-markdown-mode="true"] [data-type="em"]::before, |
38 | | -[data-display-markdown-mode="true"] [data-type="strong"]::before, |
39 | | -[data-display-markdown-mode="true"] [data-type="code"]::before, |
40 | | -[data-display-markdown-mode="true"] [data-type="strike"]::before, |
41 | | -[data-display-markdown-mode="true"] [data-type="a"]::before { |
42 | | - content: attr(data-markdown-start); |
43 | | - --text-opacity: 1; |
44 | | - color: #1c64f2; |
45 | | - color: rgba(28, 100, 242, var(--text-opacity)); |
46 | | -} |
47 | | -/* Displays markdown syntax as pseudo elements (2 of 2). */ |
48 | | -[data-display-markdown-mode="true"] [data-type="em"]::after, |
49 | | -[data-display-markdown-mode="true"] [data-type="strong"]::after, |
50 | | -[data-display-markdown-mode="true"] [data-type="code"]::after, |
51 | | -[data-display-markdown-mode="true"] [data-type="strike"]::after, |
52 | | -[data-display-markdown-mode="true"] [data-type="a"]::after { |
53 | | - content: attr(data-markdown-end); |
54 | | - --text-opacity: 1; |
55 | | - color: #1c64f2; |
56 | | - color: rgba(28, 100, 242, var(--text-opacity)); |
| 11 | +[data-display-markdown-mode="false"] [data-type="markdown"] { |
| 12 | + display: none; |
57 | 13 | } |
58 | | - |
59 | | -/* <strike> .text-blue-600 -> <strike> .text-gray-400 */ |
60 | | -[data-display-markdown-mode="true"] [data-type="strike"] .text-blue-600 { |
| 14 | +[data-display-markdown-mode="true"] [data-type="strike"] [data-type="markdown"] { |
61 | 15 | --text-opacity: 1; |
62 | 16 | color: #9fa6b2; |
63 | 17 | color: rgba(159, 166, 178, var(--text-opacity)); |
|
0 commit comments