Skip to content

Commit d014ae5

Browse files
committed
More changes
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 1264f90 commit d014ae5

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
@footer-margin: 40px;
22

3-
@default-fonts: "Lato", "Segoe UI", "Microsoft YaHei", Arial, Helvetica, sans-serif;
3+
@default-fonts: "Segoe UI", "Microsoft YaHei", Arial, Helvetica, sans-serif;
44

55
.override-fonts(@fonts) {
6-
/* We're going to just override the semantic fonts here */
7-
.ui.input>input, .ui.input input {
8-
font-family: @fonts;
6+
body {
7+
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, @fonts;
8+
}
9+
10+
.markdown:not(code) {
11+
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, @fonts;
912
}
1013

14+
/* We're going to just override the semantic fonts here */
1115
h1, h2, h3, h4, h5 {
12-
font-family: @fonts;
16+
font-family: "Lato", @fonts;
1317
}
1418

1519
.home .hero h1, .home .hero h2 {
16-
font-family: 'PT Sans Narrow', @fonts;
20+
font-family: 'PT Sans Narrow', "Lato", @fonts;
1721
}
1822

1923
.ui.accordion .title:not(.ui),
@@ -32,14 +36,15 @@
3236
.ui.search > .results .result .title,
3337
.ui.search > .results > .message .header,
3438
body,
39+
.ui.input>input, .ui.input input,
3540
.ui.statistics .statistic > .value,
3641
.ui.statistic > .value,
3742
.ui.statistics .statistic > .label,
3843
.ui.statistic > .label,
3944
.ui.steps .step .title,
4045
.ui.text.container
4146
{
42-
font-family: @fonts;
47+
font-family: "Lato", @fonts;
4348
}
4449
}
4550

@@ -50,27 +55,27 @@ body {
5055
-webkit-font-smoothing: antialiased;
5156
}
5257

53-
@ja-fonts: "Lato", "Segoe UI", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", Roboto, Noto, "Noto Sans CJK JP", Arial, Helvetica, sans-serif;
58+
@ja-fonts: "Segoe UI", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", Roboto, Noto, "Noto Sans CJK JP", Arial, Helvetica, sans-serif;
5459
:lang(ja) {
5560
.override-fonts(@ja-fonts);
5661
}
5762

58-
@zh-CN-fonts: "Lato", "Segoe UI", "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", "方体", "PingFang SC", "黑体", "Heiti SC", STXihei, "华文细黑", Roboto, Noto, "Noto Sans CJK SC", Arial, Helvetica, sans-serif;
63+
@zh-CN-fonts: "Segoe UI", "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", "方体", "PingFang SC", "黑体", "Heiti SC", STXihei, "华文细黑", Roboto, Noto, "Noto Sans CJK SC", Arial, Helvetica, sans-serif;
5964
:lang(zh-CN) {
6065
.override-fonts(@zh-CN-fonts);
6166
}
6267

63-
@zh-TW-fonts: "Lato", "Segoe UI", "方體", "PingFang TC", "黑體", "Heiti TC", "Microsoft JhengHei New", "Microsoft JhengHei", "微軟正黑體", "宋体", MingLiu, Roboto, Noto, "Noto Sans CJK TC", Arial, Helvetica, sans-serif;
68+
@zh-TW-fonts: "Segoe UI", "方體", "PingFang TC", "黑體", "Heiti TC", "Microsoft JhengHei New", "Microsoft JhengHei", "微軟正黑體", "宋体", MingLiu, Roboto, Noto, "Noto Sans CJK TC", Arial, Helvetica, sans-serif;
6469
:lang(zh-TW) {
6570
.override-fonts(@zh-TW-fonts);
6671
}
6772

68-
@zh-HK-fonts: "Lato", "Segoe UI", "方體", "PingFang HK", "方體", "PingFang TC", "黑體", "Heiti TC", "Microsoft JhengHei New", "Microsoft JhengHei", "微軟正黑體", "宋体", MingLiu, Roboto, Noto, "Noto Sans CJK TC", Arial, Helvetica, sans-serif;
73+
@zh-HK-fonts: "Segoe UI", "方體", "PingFang HK", "方體", "PingFang TC", "黑體", "Heiti TC", "Microsoft JhengHei New", "Microsoft JhengHei", "微軟正黑體", "宋体", MingLiu, Roboto, Noto, "Noto Sans CJK TC", Arial, Helvetica, sans-serif;
6974
:lang(zh-HK) {
7075
.override-fonts(@zh-HK-fonts);
7176
}
7277

73-
@ko-fonts: "Lato", "Segoe UI", 'Apple SD Gothic Neo', 'NanumBarunGothic', '맑은 고딕', 'Malgun Gothic', '굴림', 'Gulim', '돋움', 'Dotum', "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", Roboto, Noto, "Noto Sans CJK KR", 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
78+
@ko-fonts: "Segoe UI", 'Apple SD Gothic Neo', 'NanumBarunGothic', '맑은 고딕', 'Malgun Gothic', '굴림', 'Gulim', '돋움', 'Dotum', "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", Roboto, Noto, "Noto Sans CJK KR", 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
7479
:lang(ko) {
7580
.override-fonts(@ko-fonts);
7681
}

0 commit comments

Comments
 (0)