File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
theme/ansys_sphinx_theme/static/css Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 9
9
from ansys_sphinx_theme .extension .linkcode import DOMAIN_KEYS , sphinx_linkcode_resolve
10
10
from ansys_sphinx_theme .latex import generate_404 # noqa: F401
11
11
12
- __version__ = "0.10.4 "
12
+ __version__ = "0.10.5 "
13
13
14
14
# Declare the fundamental paths of the theme
15
15
THIS_PATH = pathlib .Path (__file__ ).parent .resolve ()
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