Skip to content

Commit

Permalink
修正 OS X EL Capitan 下 safari 字体问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sofish committed Jun 24, 2015
1 parent 46581e9 commit 5c96950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typo.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ audio, canvas, video {

/* 要注意表单元素并不继承父级 font 的问题 */
body, button, input, select, textarea {
font: 400 1em/1.8 Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
font: 400 1em/1.8 Pinghei, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans;
}

button::-moz-focus-inner,
Expand All @@ -59,7 +59,7 @@ blockquote {
position: relative;
color: #999;
font-weight: 300;
font-family: Lantinghei SC, 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
font-family: Pinghei, 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei';
border-left: 1px solid #1abc9c;
padding-left: 1em;
margin: 1em 3em 1em 2em;
Expand Down Expand Up @@ -153,7 +153,7 @@ ins, a {
* 要做到更好,向后兼容的话,添加 class="typo-u" 来显示专名号
* 关于 <u> 标签:http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-u-element
* 被放弃的是 4,之前一直搞错 http://www.w3.org/TR/html401/appendix/changes.html#idx-deprecated
* 一篇关于 <u> 标签的很好文章:http://html5doctor.com/u-element/
* 一篇关于 <u> 标签的很好文章:http://html5doctor.com/u-element/
*/
u, .typo-u {
text-decoration: underline;
Expand Down

0 comments on commit 5c96950

Please sign in to comment.