Skip to content

Commit 4ff6ccf

Browse files
authored
Make Metrax logo transparent (#130)
* create a transparent logo * M is cpital * make the logo transparent
1 parent 28100c4 commit 4ff6ccf

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

docs/conf.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,17 @@
5252

5353
html_theme = 'sphinx_book_theme'
5454
html_theme_options = {
55-
"show_toc_level": 2,
56-
"repository_url": "https://github.com/google/metrax",
57-
"use_repository_button": True,
58-
"navigation_with_keys": False,
59-
"show_navbar_depth": 2,
55+
'show_toc_level': 2,
56+
'repository_url': 'https://github.com/google/metrax',
57+
'use_repository_button': True,
58+
'navigation_with_keys': False,
59+
'show_navbar_depth': 2,
6060
}
61-
html_static_path = ["static"]
62-
html_logo = "static/metrax_logo.png"
61+
html_static_path = ['static']
62+
html_logo = 'static/metrax_logo.png'
63+
html_css_files = [
64+
'custom.css',
65+
]
6366

6467
# -- Options for EPUB output
6568
epub_show_urls = 'footnote'

docs/static/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* In docs/static/custom.css */
2+
.wy-side-nav-search .wy-nav-top {
3+
background: transparent;
4+
}

docs/static/metrax_logo.png

-218 KB
Loading

0 commit comments

Comments
 (0)