Skip to content

Commit

Permalink
font-family big improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Huxpro committed Oct 4, 2015
1 parent d1330b7 commit 0b6dc7d
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 14 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

## Features

### New Feature (V1.3.1)

- Support **PingFang (苹方)**, the new Chinese font presented by [OS X El Capitan](http://www.apple.com/cn/osx/whats-new/)


### New Feature (V1.3)

- Big Improvement to the **Navigation Menu** *(especially in Android)*: Dropping the old, stuttering, low-performance [Bootstrap collapse.js](http://getbootstrap.com/javascript/#collapse), replaced with an own wrote, [jank free](http://jankfree.org/) navbar menu in a pretty high-performance implementation of [Google Material Design](https://www.google.com/design/spec/material-design/introduction.html).
Expand All @@ -28,8 +33,8 @@
### V1.0

- Full-feature **Tag** support
- **Mobile first** user experience optimization
- **Typographic optimization** for Chinese Fonts
- **Mobile first** user experience optimization
- **Typographic optimization** for Chinese Fonts
- **Network optimizaition** for China, dropping Google webfont, using local CDN
- Using [Github Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/)
- Using Baidu, Tencent/QQ analysis *(TODO: support GA)*
Expand Down
42 changes: 35 additions & 7 deletions css/hux-blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
padding-left: 0px;
}
body {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
font-size: 16px;
color: #404040;
Expand All @@ -62,7 +66,11 @@ h3,
h4,
h5,
h6 {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
line-height: 1.1;
font-weight: bold;
Expand Down Expand Up @@ -223,7 +231,11 @@ pre,
left: 0;
width: 100%;
z-index: 3;
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
}
.navbar-custom .navbar-brand {
Expand Down Expand Up @@ -370,7 +382,11 @@ pre,
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
font-size: 18px;
line-height: 1.1;
Expand All @@ -394,7 +410,11 @@ pre,
display: block;
}
.intro-header .post-heading .subheading {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
font-size: 17px;
line-height: 1.4;
Expand Down Expand Up @@ -570,7 +590,11 @@ form .row:first-child .floating-label-form-group {
border-top: 1px solid #eeeeee;
}
.btn {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
text-transform: uppercase;
font-size: 14px;
Expand All @@ -594,7 +618,11 @@ form .row:first-child .floating-label-form-group {
}
.pager li > a,
.pager li > span {
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
/* Hux learn from
* TypeIsBeautiful,
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
*/
font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
line-height: 1.7;
text-transform: uppercase;
font-size: 14px;
Expand Down
Loading

0 comments on commit 0b6dc7d

Please sign in to comment.