“Typora”的版本间的差异
跳到导航
跳到搜索
第31行: | 第31行: | ||
/*source code mode*/ |
/*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; |
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> |
</syntaxhighlight> |
2022年6月9日 (四) 21:44的版本
https://support.typoraio.cn/zh/Markdown-Reference/
https://support.typora.io/Custom-Font/
../FireShot
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;
}