Skip to content

Commit 985a5a7

Browse files
tomschrscls19fr
authored andcommitted
Correct logo width, add white background (#190)
* Add custom CSS file to change size of the logo * Add white background
1 parent 18ea3f8 commit 985a5a7

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/_static/css/default.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* Customize logo width */
2+
3+
.wy-side-nav-search > a img.logo {
4+
width: 6em;
5+
background: white;
6+
}

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@
109109
# so a file named "default.css" will overwrite the builtin "default.css".
110110
html_static_path = ['_static']
111111

112+
html_css_files = ['css/default.css']
113+
112114
# Custom sidebar templates, must be a dictionary that maps document names
113115
# to template names.
114116
#

0 commit comments

Comments
 (0)