File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,10 @@ tr:nth-child(even) {
290
290
background-color : var (--pst-color-table-hover );
291
291
}
292
292
293
+ div .rendered_html table .dataframe td {
294
+ color : var (--pst-color-text-base );
295
+ }
296
+
293
297
/*
294
298
###############
295
299
Table-centered
@@ -1018,6 +1022,12 @@ div.admonition {
1018
1022
background-color : var (--pst-color-on-surface );
1019
1023
}
1020
1024
1025
+ /* Select only divisions that contain a dataframe, with enough specificity to override pydata css */
1026
+ div .nboutput
1027
+ div .output_area .rendered_html .docutils .container : has (table .dataframe ) {
1028
+ background-color : transparent;
1029
+ }
1030
+
1021
1031
/*
1022
1032
############
1023
1033
Border lines
You can’t perform that action at this time.
0 commit comments