Anaconda更换字体及字号

Anaconda更换字体及字号,第1张

首先进入路径

下,这是Anaconda的安装路径,<\envs\>是安装的虚拟环境,根据路径找到文件,编辑文件中。

更改字体:

.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family:  Consolas;
  height: 300px;
  color: black;
  direction: ltr;
}

更改字号:

.CodeMirror pre.CodeMirror-line-like {
  /* Reset some styles that the rest of the page might have set */
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;                    //更改字体大小
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-variant-ligatures: contextual;
  font-variant-ligatures: contextual;
}

 

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/759016.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-01
下一篇2022-05-01

发表评论

登录后才能评论

评论列表(0条)

    保存