“Typora”的版本间的差异
跳到导航
跳到搜索
(未显示同一用户的2个中间版本) | |||
第9行: | 第9行: | ||
https://cdn.woodrow.cn/Snipaste_2022-05-29_09-41-34.png |
https://cdn.woodrow.cn/Snipaste_2022-05-29_09-41-34.png |
||
⚫ | |||
− | https://cdn.woodrow.cn/Snipaste_2022-05-23_11-25-02.png |
||
+ | <syntaxhighlight lang="css"> |
||
⚫ | |||
+ | body { |
||
+ | font-family: Consolas, -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif; |
||
+ | color: 000; |
||
+ | --monospace: 'Ubuntu Mono', Consolas, Monaco, DejaVu Sans Mono, monospace; /* for all code blocks, inline code, and source code mode */ |
||
+ | } |
||
+ | |||
+ | #typora-source { |
||
+ | font-family: 'Ubuntu Mono', -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif; |
||
+ | color: 000; |
||
+ | --monospace: 'Ubuntu Mono', Consolas, Monaco, DejaVu Sans Mono, monospace; /* for code blocks and inline code inside source code mode */ |
||
+ | } |
||
+ | |||
+ | .cm-s-typora-default { |
||
+ | /*source code mode*/ |
||
+ | font-family: 'Ubuntu Mono', -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif; |
||
+ | } |
||
+ | |||
+ | :root { |
||
+ | --search-select-bg-color: #fff; |
||
+ | --search-select-text-color: red; |
||
+ | } |
||
+ | |||
+ | .md-search-hit { |
||
+ | background: yellow; |
||
+ | color: #000; |
||
+ | } |
||
+ | </syntaxhighlight> |
2022年9月2日 (五) 12:37的最新版本
https://support.typoraio.cn/zh/Markdown-Reference/
https://support.typora.io/Custom-Font/
base.user.css
body {
font-family: Consolas, -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif;
color: 000;
--monospace: 'Ubuntu Mono', Consolas, Monaco, DejaVu Sans Mono, monospace; /* for all code blocks, inline code, and source code mode */
}
#typora-source {
font-family: 'Ubuntu Mono', -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif;
color: 000;
--monospace: 'Ubuntu Mono', Consolas, Monaco, DejaVu Sans Mono, monospace; /* for code blocks and inline code inside source code mode */
}
.cm-s-typora-default {
/*source code mode*/
font-family: 'Ubuntu Mono', -apple-system, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, WenQuanYi Micro Hei, Microsoft Yahei, sans-serif;
}
:root {
--search-select-bg-color: #fff;
--search-select-text-color: red;
}
.md-search-hit {
background: yellow;
color: #000;
}