diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index b61068ee28bef..4571d97ec50ba 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -198,10 +198,18 @@ div.body p, div.body dd, div.body li { line-height: 1.5em; } -div.admonition p.admonition-title + p { +div.admonition p.admonition-title + p, div.deprecated p { display: inline; } +div.deprecated { + margin-bottom: 10px; + margin-top: 10px; + padding: 7px; + background-color: #ffe4e4; + border: 1px solid #f66; +} + div.highlight{ background-color: white; }