Skip to content

Commit 5ffb078

Browse files
Imanflowjavadnoorb
authored andcommitted
DOC: make deprecation warning more visible with red box (pandas-dev#20357)
1 parent e03b4b8 commit 5ffb078

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/source/themes/nature_with_gtoc/static/nature.css_t

+9-1
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,18 @@ div.body p, div.body dd, div.body li {
198198
line-height: 1.5em;
199199
}
200200

201-
div.admonition p.admonition-title + p {
201+
div.admonition p.admonition-title + p, div.deprecated p {
202202
display: inline;
203203
}
204204

205+
div.deprecated {
206+
margin-bottom: 10px;
207+
margin-top: 10px;
208+
padding: 7px;
209+
background-color: #ffe4e4;
210+
border: 1px solid #f66;
211+
}
212+
205213
div.highlight{
206214
background-color: white;
207215
}

0 commit comments

Comments
 (0)