最近在 win 上装了个 Typora ,可是 win 下的中文打出来的宋体丑爆了。。如何修改字体啊,不会 CSS 。。
1
lamCJ 2017-02-24 16:42:21 +08:00 via iPhone
|
2
mxalbert1996 2017-02-24 17:34:13 +08:00 via Android
编辑你使用的主题的 CSS 文件,搜索 font-family 关键词
|
4
newcastle OP @lamCJ @include-when-export url( http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
/** * css forked from https://github.com/GitbookIO/gitbook * www.gitbook.com * Apache License * https://github.com/GitbookIO/gitbook/blob/master/LICENSE **/ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: normal; src: local('Open Sans Regular'),url('./github/400.woff') format('woff') } @font-face { font-family: 'Open Sans'; font-style: italic; font-weight: normal; src: local('Open Sans Italic'),url('./github/400i.woff') format('woff') } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: bold; src: local('Open Sans Bold'),url('./github/700.woff') format('woff') } @font-face { font-family: 'Open Sans'; font-style: italic; font-weight: bold; src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff') } html { font-size: 16px; } body { font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif; color: rgb(51, 51, 51); line-height: 1.6; } 改哪个地方? |