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

font 修改 #111

Closed
howmind opened this issue Apr 15, 2015 · 11 comments
Closed

font 修改 #111

howmind opened this issue Apr 15, 2015 · 11 comments

Comments

@howmind
Copy link

howmind commented Apr 15, 2015

很喜欢这个simple风格。请问如何修改字体?目前字体看的有点累~

@eurusd
Copy link

eurusd commented Apr 15, 2015

http://chopstack.com/ 这个站的字体不错.

body {
background-color: #FFF;
color: #444;
font-family: "TIBch", "Classic Grotesque W01", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;

@iissnan
Copy link
Owner

iissnan commented Apr 16, 2015

如果你更新到最新版的话,可以在 source/css/_custom/variables.styl 中自定义字体:

$font-family-headings = Georgia, sans // 标题,修改成你期望的字体族 
$font-family-base = "Microsoft YaHei", Verdana, sans-serif // 修改成你期望的字体族

@eurusd
Copy link

eurusd commented Apr 16, 2015

source/css/_custom/variables.styl
好象没有custom目录吧?

@iissnan
Copy link
Owner

iissnan commented Apr 16, 2015

@eurusd 刚新增的。

@eurusd
Copy link

eurusd commented Apr 16, 2015

收到 我更新一下主题 适适。
http://chopstack.com/ 这个站的字体 您看看!

@iissnan
Copy link
Owner

iissnan commented Apr 16, 2015

主题的默认字体目前不打算改。你可以试试在自定义那个文件中将字体改成:

$font-family-base = "TIBch", "Classic Grotesque W01", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif

@eurusd
Copy link

eurusd commented Apr 16, 2015

好的。谢谢

@eurusd
Copy link

eurusd commented Apr 16, 2015

模糊 不清晰。

font-family: "TIBch", "Classic Grotesque W01", "Helvetica Neue", Arial, "Hiragino Sans GB",
"STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px; }

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px; }

如何填加

@iissnan
Copy link
Owner

iissnan commented Apr 16, 2015

source/css/_custom/custom.styl 中添加:

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@eurusd
Copy link

eurusd commented Apr 16, 2015

收到

@eurusd
Copy link

eurusd commented Apr 16, 2015

手机浏览 默认主题 字体非常好,默认字体已经很好了.谁想改,参考一下这个css

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

3 participants