Skip to content

Commit

Permalink
CSS: update comments for sphinx_immaterial special cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed May 24, 2023
1 parent 05957b0 commit 83e7b23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nbsphinx/_static/nbsphinx-code-cells.css_t
Expand Up @@ -63,12 +63,14 @@ div.nblast.container {

/* input prompt */
div.nbinput.container div.prompt pre,
/* for sphinx_immaterial theme: */
div.nbinput.container div.prompt pre > code {
color: #307FC1;
}

/* output prompt */
div.nboutput.container div.prompt pre,
/* for sphinx_immaterial theme: */
div.nboutput.container div.prompt pre > code {
color: #BF5B3D;
}
Expand Down Expand Up @@ -206,8 +208,9 @@ div.nboutput.container div.output_area > div[class^='highlight']{
overflow-y: hidden;
}

/* hide copybtn icon on prompts (needed for 'sphinx_copybutton' ext and `sphinx_immaterial` theme) */
/* hide copy button on prompts for 'sphinx_copybutton' extension ... */
.prompt .copybtn,
/* ... and 'sphinx_immaterial' theme */
.prompt .md-clipboard.md-icon {
display: none;
}
Expand Down

0 comments on commit 83e7b23

Please sign in to comment.