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

Hiding company name in header by using CSS (3.2). #1096

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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