Skip to content

Commit

Permalink
Remove old banner and style version banner
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Dec 23, 2024
1 parent fc980d2 commit 22507d0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,23 @@ div.sphx-glr-download a:hover {
.bd-content .sd-tab-set>label {
background-color: var(--napari-gray);
color: #222832;
}

/* Version warning banner color */
#bd-header-version-warning {
background-color: color-mix(in srgb, var(--pst-color-secondary-bg), transparent 30%);
}

#bd-header-version-warning .pst-button-link-to-stable-version {
background-color: color-mix(in srgb, var(--pst-color-secondary-bg), transparent 0%);
border-color: var(--pst-color-secondary-bg);
color: #222832;
font-weight: 700;
}

#bd-header-version-warning .pst-button-link-to-stable-version:hover {
background-color: var(--pst-color-secondary-bg);
border-color: var(--pst-color-secondary-bg);
color: #222832;
font-weight: 700;
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"secondary_sidebar_items": ["page-toc"],
"pygment_light_style": "napari",
"pygment_dark_style": "napari",
"announcement": "https://napari.org/dev/_static/announcement.html",
"announcement": "",
"back_to_top_button": False,
"analytics": {
# The domain you'd like to use for this analytics instance
Expand Down

0 comments on commit 22507d0

Please sign in to comment.