diff --git a/docs/_static/cryptnox-logo.png b/docs/_static/cryptnox-logo.png new file mode 100644 index 0000000..b5d3148 Binary files /dev/null and b/docs/_static/cryptnox-logo.png differ diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 2c8600d..ee90706 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -42,3 +42,31 @@ th { background-color: #f8f9fa; font-weight: bold; } + +/* Nav header customization */ +/* Project name text color */ +.wy-side-nav-search > a, +.wy-side-nav-search .wy-dropdown > a { + color: #fcb770; +} + +/* Home icon color */ +.wy-side-nav-search .icon::before, +.wy-side-nav-search .fa-home::before { + color: #fcb770; +} + +/* Logo size - 80% of original */ +.wy-side-nav-search .wy-dropdown > a img.logo, +.wy-side-nav-search > a img.logo { + width: 80%; + height: auto; +} + +/* Home icon color in breadcrumbs/content area */ +.wy-breadcrumbs li a .fa-home::before, +.wy-breadcrumbs li a .icon-home::before, +.wy-breadcrumbs .fa-home, +.wy-breadcrumbs .icon-home { + color: #fcb770; +} diff --git a/docs/conf.py b/docs/conf.py index 13fc46a..2ce2c79 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -117,6 +117,9 @@ html_theme = "sphinx_rtd_theme" html_static_path = ['_static'] +# Logo configuration +html_logo = "_static/cryptnox-logo.png" + # Custom CSS and JS html_css_files = [ 'custom.css', @@ -133,7 +136,7 @@ 'prev_next_buttons_location': 'bottom', 'style_external_links': False, 'vcs_pageview_mode': '', - 'style_nav_header_background': '#2980B9', + 'style_nav_header_background': '#101f2e', # Toc options 'collapse_navigation': True, 'sticky_navigation': True,