From 9f0a31c6073fc9832a5119875b1a4a1032e525eb Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Mon, 14 Sep 2020 16:47:59 +0200 Subject: 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 Signed-off-by: Richard Purdie --- documentation/sphinx-static/theme_overrides.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'documentation') diff --git a/documentation/sphinx-static/theme_overrides.css b/documentation/sphinx-static/theme_overrides.css index adf0eb81b8..9685bca338 100644 --- a/documentation/sphinx-static/theme_overrides.css +++ b/documentation/sphinx-static/theme_overrides.css @@ -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; } -- cgit v1.2.3-54-g00ecf