Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/746.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change the background color
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx_copybutton",
"sphinx.ext.intersphinx",
"notfound.extension",
"sphinx_jinja",
"sphinx.ext.mathjax",
]

# Intersphinx mapping
Expand Down
1,355 changes: 11 additions & 1,344 deletions doc/source/examples/nbsphinx/jupyter-notebook.ipynb

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions src/ansys_sphinx_theme/assets/styles/nbsphinx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,25 @@
> p.caption {
display: none;
}
}

/*
* Override the default CSS for code blocks in nbsphinx.
* This is required to ensure that the code blocks are displayed correctly
* in the nbsphinx extension.
*/
div.nboutput.container div.output_area .highlight,
div.nboutput.container div.output_area .highlight pre{
background-color: var(--pst-color-background);
}

/*
* Override the default CSS for math blocks in nbsphinx.
* This is required to ensure that the math blocks are displayed correctly
* in the nbsphinx extension.
* otherwise, the math blocks are displayed in a reverse order.
*/

div.math {
flex-direction: row;
}
Loading