Skip to content

Commit

Permalink
Merge pull request #50 from Merck/navbar
Browse files Browse the repository at this point in the history
Update navbar style for pkgdown 2.1.0
  • Loading branch information
nanxstats authored Jul 24, 2024
2 parents 4288b13 + e0b51d9 commit 118d159
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* navbar background */
.bg-light, .navbar-light {
nav.bg-light {
background-color: #00857c !important;
}

Expand All @@ -9,11 +9,16 @@
}

/* navbar link status */
.navbar-light .navbar-nav .nav-item>.nav-link:hover {
nav.bg-light .navbar-nav .nav-item.active .nav-link {
color: #212529;
background-color: #e9ecef;
}

nav.bg-light .navbar-nav .nav-item>.nav-link:hover {
background: #005c55;
}

.navbar-light .navbar-nav .nav-item.active>.nav-link:hover {
nav.bg-light .navbar-nav .nav-item.active>.nav-link:hover {
color: #fff;
}

Expand Down

0 comments on commit 118d159

Please sign in to comment.