|
39 | 39 | @apply px-4 py-2 text-xs font-medium; |
40 | 40 | background: var(--primary); |
41 | 41 | color: white; |
42 | | - font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 42 | + font-family: var(--ec-codeFontFml, "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); |
43 | 43 | } |
44 | 44 |
|
45 | 45 | /* pre元素样式 */ |
46 | 46 | #decrypted-content .frame pre { |
47 | 47 | @apply p-4 overflow-x-auto m-0; |
48 | | - font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 48 | + font-family: var(--ec-codeFontFml, "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); |
49 | 49 | font-size: 0.875rem; |
50 | 50 | line-height: 1.5rem; |
51 | 51 | background: var(--codeblock-bg); |
|
67 | 67 |
|
68 | 68 | /* 代码元素样式 */ |
69 | 69 | #decrypted-content code { |
70 | | - font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 70 | + font-family: var(--ec-codeFontFml, "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); |
71 | 71 | } |
72 | 72 |
|
73 | 73 | /* 内联代码样式 - 与markdown.css保持一致 */ |
|
306 | 306 | top: 0.5rem; |
307 | 307 | padding: 0.1rem 0.5rem; |
308 | 308 | content: attr(data-language); |
309 | | - font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 309 | + font-family: var(--ec-codeFontFml, "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); |
310 | 310 | font-size: 0.75rem; |
311 | 311 | font-weight: bold; |
312 | 312 | text-transform: uppercase; |
|
0 commit comments