Skip to content

Commit

Permalink
fix: stop overriding the default behavior of the footer (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Sep 17, 2023
2 parents 2e6d360 + 145d5ef commit 71d179c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
16 changes: 2 additions & 14 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,8 @@ div.jupyter_container.docutils {
}

/*******************************************************************************
* make the footer inlined
*/
.footer-item {
display: inline-block;
}
.footer-item:not(:last-child) {
border-right: 1px solid var(--pst-color-text-base);
margin-right: 0.5em;
padding-right: 0.5em;
}

/*******************************************************************************
* overwrite image filter in dark theme
* most of our images are from SEPAL which is already using a dark theme
* overwrite image filter in dark theme
* most of our images are from SEPAL which is already using a dark theme
* there is no need for extra contrast and dimned brightness
*/
html[data-theme="dark"] img {
Expand Down
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
"icon": "fa-brands fa-python",
},
],
"footer_start": ["copyright.html"],
"footer_center": ["sphinx-version.html"],
"show_version_warning_banner": True,
}
html_context = {
Expand Down

0 comments on commit 71d179c

Please sign in to comment.