Skip to content

Commit a06c670

Browse files
committed
logo added, sphinx bugs css fixed
1 parent b90949d commit a06c670

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

docs/_images/logo.png

18 KB
Loading

docs/_themes/sphinx_rtd_theme/static/css/config.css

+12-5
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,34 @@ figure figcaption {
3434
}
3535

3636
/* increase the size of the side bar from 300px default to 320px */
37-
.wy-nav-side {
38-
width: 320px;
37+
.wy-nav-side.shift {
38+
width: 320px !important;
39+
left: 0;
3940
}
4041

4142
.wy-side-scroll {
42-
width: 340px;
43+
width: 320px;
44+
overflow: hidden;
4345
}
4446

4547
.wy-side-nav-search {
4648
width: 320px;
47-
background: #08adee !important;
49+
background: #090b22 !important;
4850
}
4951

5052
.icon.icon-home {
51-
color: #000000 !important;
53+
color: #ffffff !important;
54+
width: 70%;
5255
}
5356

5457
.wy-menu-vertical {
5558
width: 320px;
5659
}
5760

61+
.wy-nav-content-wrap.shift {
62+
left: 320px;
63+
}
64+
5865
/* (temporarily) add an under development tagline to the bread crumb
5966
.wy-breadcrumbs::after {
6067
content: " (Content under development)";

docs/_themes/sphinx_rtd_theme/theme.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sticky_navigation = True
1212
navigation_depth = 4
1313
includehidden = True
1414
titles_only =
15-
logo_only =
15+
logo_only = False
1616
display_version = True
1717
prev_next_buttons_location = bottom
1818
style_external_links = False

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
else:
9898
html_theme = "sphinx_rtd_theme"
9999
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
100+
html_logo = "logo.png"
100101
html_theme_options = {
101102
'canonical_url': '',
102103
'analytics_id': '',
@@ -113,7 +114,7 @@
113114
html_theme_path = ['_themes']
114115

115116
html_theme = 'sphinx_rtd_theme'
116-
117+
html_logo = "_images/logo.png"
117118
# Add any paths that contain custom static files (such as style sheets) here,
118119
# relative to this directory. They are copied after the builtin static files,
119120
# so a file named "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)