sphinx: update style for important, caution and warnings

The initial theme override covers for tip and and note only.

(From yocto-docs rev: 69b1414b42701599d5c0d62f637cd0cddf80b25e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nicolas Dechesne 2020-09-14 16:47:59 +02:00 committed by Richard Purdie
parent cb37a15cf5
commit 9f0a31c607

View File

@ -115,12 +115,21 @@ h6 {
}
/* Admonition should be gray, not blue or green */
.rst-content .note .admonition-title, .rst-content .tip .admonition-title {
.rst-content .note .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .important .admonition-title {
background: #f0f0f2;
color: #00557D;
}
.rst-content .note, .rst-content .tip {
.rst-content .note,
.rst-content .tip,
.rst-content .important,
.rst-content .warning,
.rst-content .caution {
background: #f0f0f2;
}