“Typora”的版本间的差异

来自woodrow
跳到导航 跳到搜索
 
(未显示同一用户的3个中间版本)
第7行: 第7行:
 
https://support.typora.io/Custom-Font/
 
https://support.typora.io/Custom-Font/
   
https://cdn.woodrow.cn/Snipaste_2022-05-23_11-25-02.png
+
https://cdn.woodrow.cn/Snipaste_2022-05-29_09-41-34.png
   
<code>../FireShot</code>
+
<code>base.user.css</code>
  +
  +
<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://typora.io/

https://typoraio.cn/

https://support.typoraio.cn/zh/Markdown-Reference/

https://support.typora.io/Custom-Font/

Snipaste_2022-05-29_09-41-34.png

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;
}