doc: css: Use body color for captions
Make sure that captions (tables, figures, ...) can be properly seen on both light and dark them by setting their text color to the default "body" color. Fixes #73190. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
2c34da96f0
commit
6e4a45f7a9
1 changed files with 3 additions and 0 deletions
3
doc/_static/css/custom.css
vendored
3
doc/_static/css/custom.css
vendored
|
|
@ -194,6 +194,9 @@ a.icon-home:visited {
|
|||
border-color: var(--code-border-color);
|
||||
}
|
||||
|
||||
.rst-content table.docutils caption, .rst-content table.field-list caption, .wy-table caption {
|
||||
color: var(--body-color);
|
||||
}
|
||||
.wy-table-odd td,
|
||||
.wy-table-striped tr:nth-child(2n-1) td,
|
||||
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
|
||||
|
|
|
|||
Loading…
Reference in a new issue