Skip to content

Commit

Permalink
add hover color for tr overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
msbt committed Jan 27, 2025
1 parent 7ec0a6c commit cc57a76
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/crate/theme/rtd/crate/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit cc57a76

Please sign in to comment.