diff --git a/demo_docs/source/conf.py b/demo_docs/source/conf.py index ac160a14..dbf4a207 100644 --- a/demo_docs/source/conf.py +++ b/demo_docs/source/conf.py @@ -106,7 +106,9 @@ html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = { + # 'logo_only': True, # if we have a html_logo below, this shows /only/ the logo with no title text +} # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ["../.."] diff --git a/sass/_theme_layout.sass b/sass/_theme_layout.sass index 8fe4c6ae..b8d44f01 100644 --- a/sass/_theme_layout.sass +++ b/sass/_theme_layout.sass @@ -135,6 +135,9 @@ border-radius: 0 max-width: 100% // shrink on mobile, if appropriate background: rgba(0,0,0,0) // make hover background of parent show up properly + &.icon + img.logo + margin-top: 0.85em // space it away from the title text .wy-nav .wy-menu-vertical header diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index b9b27e45..74e5e61c 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -96,12 +96,16 @@ {# SIDE NAV, TOGGLES ON MOBILE #}