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

Comments

Projects
None yet
2 participants
@kaiwk
Copy link

commented Jul 29, 2015

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

@iissnan

This comment has been minimized.

Copy link
Owner

commented Jul 30, 2015

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

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

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Author

commented Jul 31, 2015

嗯,谢谢!

@iissnan iissnan closed this Jul 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.