Spaces:
Runtime error
Runtime error
#236
Browse files
README.md
CHANGED
@@ -192,7 +192,7 @@ input区域 输入 ./crazy_functions/test_project/python/dqn , 然后点击 "[
|
|
192 |
如果你发明了更好用的学术快捷键,欢迎发issue或者pull requests!
|
193 |
|
194 |
## 配置代理
|
195 |
-
|
196 |
在```config.py```中修改端口与代理软件对应
|
197 |
|
198 |
<div align="center">
|
@@ -204,6 +204,8 @@ input区域 输入 ./crazy_functions/test_project/python/dqn , 然后点击 "[
|
|
204 |
```
|
205 |
python check_proxy.py
|
206 |
```
|
|
|
|
|
207 |
|
208 |
## 兼容性测试
|
209 |
|
|
|
192 |
如果你发明了更好用的学术快捷键,欢迎发issue或者pull requests!
|
193 |
|
194 |
## 配置代理
|
195 |
+
### 方法一:常规方法
|
196 |
在```config.py```中修改端口与代理软件对应
|
197 |
|
198 |
<div align="center">
|
|
|
204 |
```
|
205 |
python check_proxy.py
|
206 |
```
|
207 |
+
### 方法二:纯新手教程
|
208 |
+
[纯新手教程](https://github.com/binary-husky/chatgpt_academic/wiki/%E4%BB%A3%E7%90%86%E8%BD%AF%E4%BB%B6%E9%97%AE%E9%A2%98%E7%9A%84%E6%96%B0%E6%89%8B%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95%EF%BC%88%E6%96%B9%E6%B3%95%E5%8F%AA%E9%80%82%E7%94%A8%E4%BA%8E%E6%96%B0%E6%89%8B%EF%BC%89)
|
209 |
|
210 |
## 兼容性测试
|
211 |
|
theme.py
CHANGED
@@ -82,29 +82,35 @@ def adjust_theme():
|
|
82 |
return set_theme
|
83 |
|
84 |
advanced_css = """
|
|
|
85 |
.markdown-body table {
|
86 |
margin: 1em 0;
|
87 |
border-collapse: collapse;
|
88 |
empty-cells: show;
|
89 |
}
|
|
|
|
|
90 |
.markdown-body th, .markdown-body td {
|
91 |
border: 1.2px solid var(--border-color-primary);
|
92 |
padding: 5px;
|
93 |
}
|
|
|
|
|
94 |
.markdown-body thead {
|
95 |
background-color: rgba(175,184,193,0.2);
|
96 |
}
|
|
|
|
|
97 |
.markdown-body thead th {
|
98 |
padding: .5em .2em;
|
99 |
}
|
100 |
|
101 |
-
/*
|
102 |
-
|
103 |
-
/* list */
|
104 |
.markdown-body ol, .markdown-body ul {
|
105 |
padding-inline-start: 2em !important;
|
106 |
}
|
107 |
-
|
|
|
108 |
[class *= "message"] {
|
109 |
border-radius: var(--radius-xl) !important;
|
110 |
/* padding: var(--spacing-xl) !important; */
|
@@ -123,7 +129,8 @@ advanced_css = """
|
|
123 |
/* width: auto !important; */
|
124 |
border-bottom-right-radius: 0 !important;
|
125 |
}
|
126 |
-
|
|
|
127 |
.markdown-body code {
|
128 |
display: inline;
|
129 |
white-space: break-spaces;
|
@@ -132,7 +139,7 @@ advanced_css = """
|
|
132 |
padding: .2em .4em .1em .4em;
|
133 |
background-color: rgba(175,184,193,0.2);
|
134 |
}
|
135 |
-
/*
|
136 |
.markdown-body pre code {
|
137 |
display: block;
|
138 |
overflow: auto;
|
|
|
82 |
return set_theme
|
83 |
|
84 |
advanced_css = """
|
85 |
+
/* 设置表格的外边距为1em,内部单元格之间边框合并,空单元格显示. */
|
86 |
.markdown-body table {
|
87 |
margin: 1em 0;
|
88 |
border-collapse: collapse;
|
89 |
empty-cells: show;
|
90 |
}
|
91 |
+
|
92 |
+
/* 设置表格单元格的内边距为5px,边框粗细为1.2px,颜色为--border-color-primary. */
|
93 |
.markdown-body th, .markdown-body td {
|
94 |
border: 1.2px solid var(--border-color-primary);
|
95 |
padding: 5px;
|
96 |
}
|
97 |
+
|
98 |
+
/* 设置表头背景颜色为rgba(175,184,193,0.2),透明度为0.2. */
|
99 |
.markdown-body thead {
|
100 |
background-color: rgba(175,184,193,0.2);
|
101 |
}
|
102 |
+
|
103 |
+
/* 设置表头单元格的内边距为0.5em和0.2em. */
|
104 |
.markdown-body thead th {
|
105 |
padding: .5em .2em;
|
106 |
}
|
107 |
|
108 |
+
/* 去掉列表前缀的默认间距,使其与文本线对齐. */
|
|
|
|
|
109 |
.markdown-body ol, .markdown-body ul {
|
110 |
padding-inline-start: 2em !important;
|
111 |
}
|
112 |
+
|
113 |
+
/* 设定聊天气泡的样式,包括圆角、最大宽度和阴影等. */
|
114 |
[class *= "message"] {
|
115 |
border-radius: var(--radius-xl) !important;
|
116 |
/* padding: var(--spacing-xl) !important; */
|
|
|
129 |
/* width: auto !important; */
|
130 |
border-bottom-right-radius: 0 !important;
|
131 |
}
|
132 |
+
|
133 |
+
/* 行内代码的背景设为淡灰色,设定圆角和间距. */
|
134 |
.markdown-body code {
|
135 |
display: inline;
|
136 |
white-space: break-spaces;
|
|
|
139 |
padding: .2em .4em .1em .4em;
|
140 |
background-color: rgba(175,184,193,0.2);
|
141 |
}
|
142 |
+
/* 设定代码块的样式,包括背景颜色、内、外边距、圆角。 */
|
143 |
.markdown-body pre code {
|
144 |
display: block;
|
145 |
overflow: auto;
|