diff --git a/src/crate/theme/rtd/crate/static/css/custom.css b/src/crate/theme/rtd/crate/static/css/custom.css index 2064c4f4..45cf5f5a 100644 --- a/src/crate/theme/rtd/crate/static/css/custom.css +++ b/src/crate/theme/rtd/crate/static/css/custom.css @@ -1851,6 +1851,11 @@ https://github.com/crate/crate-docs-theme/pull/566 div.cell_output table { color: var(--color-content-foreground); } -div.cell_output tbody tr:nth-child(2n+1) { +div.cell_output tbody tr:nth-child(odd) { background: var(--color-background-hover); } + +div.cell_output tbody tr:nth-child(odd):hover, +div.cell_output tbody tr:nth-child(even):hover { + background: rgba(66, 165, 245, 0.2); +}