Skip to content

Commit

Permalink
logo styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmohona committed Mar 5, 2024
1 parent ecf1cad commit 68ea2c8
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
/* More specific targeting for text color */
/* Change the sidebar header color to match the new logo background */
.wy-side-nav-search {
background-color: #F0F0EB !important;
}

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

/* Override default link colors in the sidebar */
.wy-nav-side .wy-menu-vertical li a {
color: #000 !important;
/* Update the sidebar background color */
.wy-nav-side {
background-color: #F6F8FA !important;
}

/* Change the sidebar header color to match the new logo background */
.wy-side-nav-search, .wy-side-nav-search a {
background-color: #F0F0EB !important;
/* 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 */
}

/* Update the sidebar background color */
.wy-nav-side {
background-color: #F6F8FA !important;
/* Logo styling */
.wy-side-nav-search .wy-nav-top img {
padding: 15px;
max-height: 80px;
max-width: 100%;
display: block;
margin: 0 auto;
}

0 comments on commit 68ea2c8

Please sign in to comment.