Skip to content

Commit

Permalink
Update navbar style for pkgdown 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Dec 6, 2024
1 parent e153061 commit a5f97f6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* navbar background */
.bg-light,
.navbar-light {
nav.bg-light {
background-color: #00857c !important;
}

Expand All @@ -10,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 a5f97f6

Please sign in to comment.