Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
Hiding company name in header by using CSS. (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
linuspahl authored Mar 12, 2021
1 parent 011a977 commit 51fc731
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 12 additions & 1 deletion _static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@
max-width: 1000px !important;
}

/* override sidebar header and mobile nav background */
.wy-side-nav-search, .wy-nav-top {
background-color: #1F1F1F;
}

/* override logo height */
.wy-side-nav-search > a img.logo {
height: 40px;
}
}

/* hide header text, html_theme_options logo_only has no effect on the production system */
.wy-side-nav-search > .icon-home {
font-size: 0;
margin-bottom: 10px;
}
5 changes: 1 addition & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@
# 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 = {
'style_nav_header_background': '#1F1F1F',
'logo_only': True,
}
#html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Expand Down

0 comments on commit 51fc731

Please sign in to comment.