Skip to content

Commit

Permalink
Changes for ZEISS branding
Browse files Browse the repository at this point in the history
  • Loading branch information
mprinkezs committed Oct 25, 2023
1 parent 2a0b371 commit 95d59ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/_static/css/theme_zeiss.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Override some styles to match ZEISS branding */

/* Based on Read the Docs theme */
@import 'theme.css';

/* Changed from #298069 */
.wy-side-nav-search {
background: #343131;
}
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
html_theme = "sphinx_rtd_theme"
html_static_path = ['_static']

# -- Override some "sphinx_rtd_theme" styles to match ZEISS branding ---------------
# https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html
html_style = "css/theme_zeiss.css"

favicons = [
{
"rel": "icon",
Expand Down

0 comments on commit 95d59ee

Please sign in to comment.