Skip to content

Commit c67fa2b

Browse files
committed
DOC: change background color at upper left
1 parent 5563950 commit c67fa2b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

docs/source/_static/my_theme.css

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/* 更改左上角标题背景色 */
1313
.wy-side-nav-search {
14-
background-color: #F8EF9E !important;
14+
background-color: #00bd88 !important;
1515
}
1616

1717
/* 如果需要,同时修改顶部标题栏颜色 */
@@ -27,14 +27,4 @@
2727
/* 改变左上角项目名的颜色 */
2828
.wy-side-nav-search .project {
2929
color: #000000 !important;
30-
}
31-
32-
/* 修改版本切换器的文本颜色 */
33-
.rst-versions .rst-current-version {
34-
color: #000000 !important;
35-
}
36-
37-
/* 修改下拉菜单中的文本颜色 */
38-
.rst-versions a {
39-
color: #000000 !important;
4030
}

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def setup(app):
8989
html_theme_options = {
9090
'analytics_anonymize_ip': False,
9191
'logo_only': False, # True
92-
'display_version': True,
92+
'version_selector': True,
9393
'prev_next_buttons_location': 'bottom',
9494
'style_external_links': False,
9595
'collapse_navigation': True,

0 commit comments

Comments
 (0)