Skip to content

Commit

Permalink
scribe-org#90 Fix to comment styles and make sidebar slightly darker
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Mar 9, 2024
1 parent 68ea2c8 commit 30969ec
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
/* Change the sidebar header color to match the new logo background */
/* Change the sidebar header color to match the new logo background. */
.wy-side-nav-search {
background-color: #F0F0EB !important;
background-color: #f0f0eb !important;
}

/* Change sidebar text color to black for all sidebar items */
.wy-nav-side .wy-nav-content,
.wy-nav-side .wy-menu-vertical a {
color: #000 !important; /* Ensuring the text color is black */
/* Update the sidebar background color. */
.wy-nav-side {
background-color: #f2f5f8 !important;
}

/* Update the sidebar background color */
.wy-nav-side {
background-color: #F6F8FA !important;
/* Change sidebar text color to black for all sidebar items. */
.wy-nav-side .wy-nav-content,
.wy-nav-side .wy-menu-vertical a {
color: #000 !important;
}

/* Sidebar link text color on hover */
/* Sidebar link text color on hover. */
.wy-nav-side .wy-nav-content a:hover,
.wy-nav-side .wy-menu-vertical a:hover {
color: #FFF !important; /* Changes text color to white on hover */
color: #fff !important;
}

/* Logo styling */
/* Logo styling. */
.wy-side-nav-search .wy-nav-top img {
padding: 15px;
max-height: 80px;
max-width: 100%;
display: block;
margin: 0 auto;
padding: 15px;
max-height: 80px;
max-width: 100%;
display: block;
margin: 0 auto;
}
10 changes: 5 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@
)
]

# adding logo
# Adding logo to the docs sidebar.
html_logo = "_static/ScribeDataLogo.png"
html_theme_options = {
'logo_only': True,
'display_version': False,
"logo_only": True,
"display_version": False,
}

# importing custom css for theme customization
# Importing custom css for theme customization.
html_css_files = [
'custom.css',
"custom.css",
]

0 comments on commit 30969ec

Please sign in to comment.