Skip to content

Commit

Permalink
Merge pull request #64 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
wangben718 authored Dec 6, 2024
2 parents fbf486d + a5f97f6 commit dab946d
Show file tree
Hide file tree
Showing 8 changed files with 32 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
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions pkgdown/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions pkgdown/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added pkgdown/favicon/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dab946d

Please sign in to comment.