Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sidebar background color on hover #100

Merged
merged 3 commits into from
Mar 17, 2024
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
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,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewtavis here is the fix for #95. Apology for my mistake. :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, @mhmohona! Happens :)

}

# Importing custom css for theme customization.
Expand Down
Loading