Skip to content

Commit 0b6dc7d

Browse files
committed
font-family big improve
1 parent d1330b7 commit 0b6dc7d

File tree

4 files changed

+71
-14
lines changed

4 files changed

+71
-14
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
## Features
1010

11+
### New Feature (V1.3.1)
12+
13+
- Support **PingFang (苹方)**, the new Chinese font presented by [OS X El Capitan](http://www.apple.com/cn/osx/whats-new/)
14+
15+
1116
### New Feature (V1.3)
1217

1318
- 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).
@@ -28,8 +33,8 @@
2833
### V1.0
2934

3035
- Full-feature **Tag** support
31-
- **Mobile first** user experience optimization
32-
- **Typographic optimization** for Chinese Fonts
36+
- **Mobile first** user experience optimization
37+
- **Typographic optimization** for Chinese Fonts
3338
- **Network optimizaition** for China, dropping Google webfont, using local CDN
3439
- Using [Github Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/)
3540
- Using Baidu, Tencent/QQ analysis *(TODO: support GA)*

css/hux-blog.css

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
padding-left: 0px;
4848
}
4949
body {
50-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
50+
/* Hux learn from
51+
* TypeIsBeautiful,
52+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
53+
*/
54+
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;
5155
line-height: 1.7;
5256
font-size: 16px;
5357
color: #404040;
@@ -62,7 +66,11 @@ h3,
6266
h4,
6367
h5,
6468
h6 {
65-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
69+
/* Hux learn from
70+
* TypeIsBeautiful,
71+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
72+
*/
73+
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;
6674
line-height: 1.7;
6775
line-height: 1.1;
6876
font-weight: bold;
@@ -223,7 +231,11 @@ pre,
223231
left: 0;
224232
width: 100%;
225233
z-index: 3;
226-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
234+
/* Hux learn from
235+
* TypeIsBeautiful,
236+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
237+
*/
238+
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;
227239
line-height: 1.7;
228240
}
229241
.navbar-custom .navbar-brand {
@@ -370,7 +382,11 @@ pre,
370382
}
371383
.intro-header .site-heading .subheading,
372384
.intro-header .page-heading .subheading {
373-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
385+
/* Hux learn from
386+
* TypeIsBeautiful,
387+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
388+
*/
389+
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;
374390
line-height: 1.7;
375391
font-size: 18px;
376392
line-height: 1.1;
@@ -394,7 +410,11 @@ pre,
394410
display: block;
395411
}
396412
.intro-header .post-heading .subheading {
397-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
413+
/* Hux learn from
414+
* TypeIsBeautiful,
415+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
416+
*/
417+
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;
398418
line-height: 1.7;
399419
font-size: 17px;
400420
line-height: 1.4;
@@ -570,7 +590,11 @@ form .row:first-child .floating-label-form-group {
570590
border-top: 1px solid #eeeeee;
571591
}
572592
.btn {
573-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
593+
/* Hux learn from
594+
* TypeIsBeautiful,
595+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
596+
*/
597+
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;
574598
line-height: 1.7;
575599
text-transform: uppercase;
576600
font-size: 14px;
@@ -594,7 +618,11 @@ form .row:first-child .floating-label-form-group {
594618
}
595619
.pager li > a,
596620
.pager li > span {
597-
font-family: "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
621+
/* Hux learn from
622+
* TypeIsBeautiful,
623+
* [This Post](http://zhuanlan.zhihu.com/ibuick/20186806) etc.
624+
*/
625+
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;
598626
line-height: 1.7;
599627
text-transform: uppercase;
600628
font-size: 14px;

0 commit comments

Comments
 (0)