Skip to content

Commit

Permalink
Merge pull request #100 from mhmohona/sidebar-header
Browse files Browse the repository at this point in the history
Add sidebar background color on hover
  • Loading branch information
andrewtavis authored Mar 17, 2024
2 parents 4f08fc2 + af0fc97 commit 104d027
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
.wy-nav-side .wy-menu-vertical a:hover {
color: #fff !important;
}

/* Sidebar item background color on hover */
.wy-nav-side .wy-menu-vertical li.toctree-l1.current>a:hover,
.wy-nav-side .wy-menu-vertical li.toctree-l1>a:hover {
background-color: #333333 !important; /* Dark gray background */
}
/* Logo styling. */
.wy-side-nav-search .wy-nav-top img {
padding: 15px;
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
html_logo = "_static/ScribeDataLogo.png"
html_theme_options = {
"logo_only": True,
"display_version": False,
"display_version": True,
}

# Importing custom css for theme customization.
Expand Down

0 comments on commit 104d027

Please sign in to comment.