Main.css

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
body {
margin: 0;
margin-top: 56px;
color: var(--black-2);
background-color: var(--body-bg);
font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

->
body {
margin: 0;
margin-top: 56px;
color: var(--black-2);
background-color: var(--body-bg);
font-family: "Courier", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


只有这个管用了,在主题文件里. 通过搜索 font 搜索出来.

其它更改(但没有起作用)

_extend.styl

1
font-style: italic -> font-style: courier

_variables.styl

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Fonts
font-sans = "Courier", -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif
font-serif = Georgia, "Times New Roman", serif
font-mono = "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace

->

// Fonts
font-sans = "Courier", -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif
font-serif = "Courier", Georgia, "Times New Roman", serif
font-mono = "Courier", "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace

article.styl

style.styl

1
2
3
4
body
background: color-background
font: font-size font-sans
-webkit-text-size-adjust: 100%

fontStyle.js

1
2
3
var valid_styles = ['normal', 'italic', 'oblique', 'inherit'];
->
var valid_styles = ['courier', 'normal', 'italic', 'oblique', 'inherit'];

iconic.styl

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
iconic-stroke(path)
@font-face
font-family: 'IconicStroke'
src: url(path + '/iconic_stroke.eot')
src: local('☺'), url(path + '/iconic_stroke.ttf') format('truetype'), url(path + '/iconic_stroke.svg#iconic') format('svg')
font-weight: normal
font-style: normal
->
iconic-stroke(path)
@font-face
font-family: 'Courier'
src: url(path + '/iconic_stroke.eot')
src: local('☺'), url(path + '/iconic_stroke.ttf') format('truetype'), url(path + '/iconic_stroke.svg#iconic') format('svg')
font-weight: normal
font-style: normal