xianmin / hugo-theme-jane

A readable & concise theme for Hugo, color schemes to choose, easy to personalize. Working well since 2018.
https://xianmin.github.io/hugo-theme-jane/
MIT License
931 stars 288 forks source link

css code font-family different between English and other languages #161

Open MrBenWang opened 5 years ago

MrBenWang commented 5 years ago

the red text are very different!It's markdown code: `monospace` generate html. They are Japanese,Chinese,English。I found the reason. font-family . 下图的红色字体,差别比较大,是markdown语法,单引号生成的。由于 font-family 文字库造成的,关于字体类型我也不是很了解。

_20181226162253

.post .post-content code,.post .post-content pre {
    font-size: .9em;
    font-family: Menlo,Consolas,source code pro,Inconsolata,Monaco,courier new,monospace
}
xianmin commented 5 years ago

Thanks for your feedback! I will fix it next.