Permalink
Browse files

style: font-family 字体调整

font-family in body, header and code block.
  • Loading branch information...
MOxFIVE committed Dec 4, 2015
1 parent 2083b8a commit bba4e34f1daa3bf8379aa6f6ca5d02808114964b
Showing with 14 additions and 13 deletions.
  1. +1 −4 source/css/_partial/article.styl
  2. +1 −1 source/css/_partial/highlight.styl
  3. +6 −5 source/css/_variables.styl
  4. +6 −3 source/css/style.styl
@@ -1,7 +1,3 @@
body {
font-family: "Microsoft YaHei", "微软雅黑", "arial","Helvetica","Hiragino Sans GB","宋体","Tahoma","STHeiti"
}
.body-wrap{
margin-bottom: 80px;
}
@@ -219,6 +215,7 @@ line-height: 1.65em;
text-align: center;
&::before, &::after {
content:" —— ";
font-family: font-chs;
};
}
h3 {
@@ -30,7 +30,7 @@ $line-numbers
.article-entry
pre, code
font-family: "Microsoft YaHei", Inconsolata, Menlo, Monaco, "Hiragino Sans GB ", "SimHei" arial;
font-family: font-mono, font-chs
font-size: 1em
code
View
@@ -19,12 +19,13 @@ color-pinterest = #cb2027
color-google = #dd4b39
// Fonts
font-sans = "Helvetica Neue", Helvetica, Arial, sans-serif
font-serif = Georgia, "Times New Roman", serif
font-mono = "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace
font-chs = "Microsoft YaHei", "Hiragino Sans GB ", "SimHei", Arial
font-sans = Verdana, "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif
font-serif = "Times New Roman", Georgia, serif
font-mono = Menlo, Consolas, "Source Code Pro", Inconsolata, Monaco, "Courier New", monospace
font-icon = FontAwesome
font-icon-path = "fonts/fontawesome-webfont"
font-icon-version = "4.0.3"
font-icon-path = "font-awesome/fonts/fontawesome-webfont"
font-icon-version = "4.5.0"
font-size = 14px
line-height = 1.6em
line-height-title = 1.1em
View
@@ -41,12 +41,15 @@ html, body, #container
height: 100%
body
font-family: "微软雅黑","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size:16px;
background:#fff;
font-family: font-sans, font-chs;
font-size: 16px;
background: #fff;
color: rgba(0,0,0,0.6);
-webkit-overflow-scrolling: touch
h1,h2,h3,h4,h5,h6 {
font-family: font-serif, font-chs;
}
h1,h2,h3{
display: block;
}

0 comments on commit bba4e34

Please sign in to comment.