From 99ba6fe98b9c7c4dbe70dce63c478c167c10d91a 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. Signed-off-by: Nicolas Dechesne --- doc/sphinx-static/theme_overrides.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/sphinx-static/theme_overrides.css b/doc/sphinx-static/theme_overrides.css index adf0eb81b..9685bca33 100644 --- a/doc/sphinx-static/theme_overrides.css +++ b/doc/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 1.2.3-korg