summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-09-14 16:47:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-17 10:09:35 +0100
commit9f0a31c6073fc9832a5119875b1a4a1032e525eb (patch)
treeb770b3a6d4c96323fdb6c54df41e5fb7b512564b /documentation
parentcb37a15cf5a150489ceaf55dc6cb014f0e787f6e (diff)
downloadpoky-9f0a31c6073fc9832a5119875b1a4a1032e525eb.tar.gz
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>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/sphinx-static/theme_overrides.css13
1 files changed, 11 insertions, 2 deletions
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 {
115 } 115 }
116 116
117 /* Admonition should be gray, not blue or green */ 117 /* Admonition should be gray, not blue or green */
118 .rst-content .note .admonition-title, .rst-content .tip .admonition-title { 118 .rst-content .note .admonition-title,
119 .rst-content .tip .admonition-title,
120 .rst-content .warning .admonition-title,
121 .rst-content .caution .admonition-title,
122 .rst-content .important .admonition-title {
119 background: #f0f0f2; 123 background: #f0f0f2;
120 color: #00557D; 124 color: #00557D;
121 125
122 } 126 }
123 .rst-content .note, .rst-content .tip { 127
128 .rst-content .note,
129 .rst-content .tip,
130 .rst-content .important,
131 .rst-content .warning,
132 .rst-content .caution {
124 background: #f0f0f2; 133 background: #f0f0f2;
125 } 134 }
126 135