Skip to content

Commit 83e7b23

Browse files
committed
CSS: update comments for sphinx_immaterial special cases
1 parent 05957b0 commit 83e7b23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/nbsphinx/_static/nbsphinx-code-cells.css_t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ div.nblast.container {
6363

6464
/* input prompt */
6565
div.nbinput.container div.prompt pre,
66+
/* for sphinx_immaterial theme: */
6667
div.nbinput.container div.prompt pre > code {
6768
color: #307FC1;
6869
}
6970

7071
/* output prompt */
7172
div.nboutput.container div.prompt pre,
73+
/* for sphinx_immaterial theme: */
7274
div.nboutput.container div.prompt pre > code {
7375
color: #BF5B3D;
7476
}
@@ -206,8 +208,9 @@ div.nboutput.container div.output_area > div[class^='highlight']{
206208
overflow-y: hidden;
207209
}
208210

209-
/* hide copybtn icon on prompts (needed for 'sphinx_copybutton' ext and `sphinx_immaterial` theme) */
211+
/* hide copy button on prompts for 'sphinx_copybutton' extension ... */
210212
.prompt .copybtn,
213+
/* ... and 'sphinx_immaterial' theme */
211214
.prompt .md-clipboard.md-icon {
212215
display: none;
213216
}

0 commit comments

Comments
 (0)