Skip to content

Commit 8aaf65b

Browse files
committed
specify comment section as Chinese and add an icon
1 parent 89076b0 commit 8aaf65b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

material/base.html

+10-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,16 @@
9797
}}">
9898
<style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>
9999
{% endif %}
100-
<!--
101-
<style>body,input{font-family:"lucida grande", "lucida sans unicode", lucida, 'Open Sans', helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;}code,kbd,pre{font-family: Consolas, monospace;}blockquote{font-family: 'Palatino Linotype','Book Antiqua',Palatino,STKaiti,KaiTi,'楷体',SimKai,DFKai-SB,NSimSun,serif;}</style>
102-
-->
103-
<style>body,input{font-family:Optima, Segoe, “Segoe UI”, Calibri, Arial,source-han-serif-sc,'Source Han Serif SC','Source Han Serif CN','Source Han Serif TC','Source Han Serif TW','Source Han Serif','Songti SC','Microsoft YaHei',sans-serif}code,kbd,pre{font-family: Consolas, monospace;}blockquote{font-family: 'Palatino Linotype','Book Antiqua',Palatino,STKaiti,KaiTi,'楷体',SimKai,DFKai-SB,NSimSun,serif;}</style>
100+
<style>
101+
body, input {
102+
font-family: Optima, Segoe, “Segoe UI”, Calibri, Arial, 'Source Han Serif SC', 'Source Han Serif', 'Songti SC', 'Microsoft YaHei', sans-serif;
103+
}
104+
code, kbd, pre {
105+
font-family: Consolas, "Courier New", monospace;
106+
}
107+
blockquote {
108+
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, STKaiti, KaiTi, '楷体', SimKai, "DFKai-SB", NSimSun, serif;}
109+
</style>
104110
<!--<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">-->
105111
<link rel="stylesheet" href="{{ base_url }}/css/icon.css">
106112
<link rel="stylesheet" href="{{ base_url }}/css/mini-awesome/font-awesome.css">

material/partials/language/zh-CN.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"edit.link.title": "Edit this page",
77
"footer.previous": "Previous",
88
"footer.next": "Next",
9-
"meta.comments": "Comments",
9+
"meta.comments": "💬 讨论区",
1010
"meta.source": "Source",
1111
"search.language": "en",
1212
"search.pipeline.stopwords": true,

mkdocs.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,7 @@ google_analytics:
319319

320320
use_directory_urls: false
321321

322-
enable_search: true
323-
324-
esl_url: 'https://web.stanford.edu/~hastie/ElemStatLearn/'
325-
# https://web.stanford.edu/~hastie/ElemStatLearn/printings/ESLII_print12.pdf
322+
# enable_search: true
326323

327324
plugins:
328325
- git-revision-date

0 commit comments

Comments
 (0)