Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码字体大小怎么改? #306

Closed
kaiwk opened this issue Jul 29, 2015 · 3 comments
Closed

代码字体大小怎么改? #306

kaiwk opened this issue Jul 29, 2015 · 3 comments

Comments

@kaiwk
Copy link

kaiwk commented Jul 29, 2015

如题,字体小,代码看不清楚。

@iissnan
Copy link
Owner

iissnan commented Jul 30, 2015

编辑主题的 source/css/_custom/variables.styl 文件,新增变量:

$font-family-monospace: "PT Mono", Consolas, Monaco, Menlo, monospace // 改成你期望的字体组

@iissnan
Copy link
Owner

iissnan commented Jul 30, 2015

噢,sorry,是字体大小。目前没有变量控制。直接改样式文件 source/css/_common/_vendor/highlight/hilight.styl

$code-block
  background: highlight-background
  margin: 20px 0
  padding: 15px
  overflow: auto
  font-size 13px    // 改这里
  color: highlight-foreground
  line-height:  $line-height-code-block

@kaiwk
Copy link
Author

kaiwk commented Jul 31, 2015

嗯,谢谢!

@iissnan iissnan closed this as completed Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants