diff --git a/docs/api_reference/_static/css/custom.css b/docs/api_reference/_static/css/custom.css index 87195de8f72..6775608a72d 100644 --- a/docs/api_reference/_static/css/custom.css +++ b/docs/api_reference/_static/css/custom.css @@ -80,6 +80,8 @@ html { --pst-font-family-base: 'Inter'; --pst-font-family-heading: 'Inter Tight', sans-serif; + + --pst-icon-versionmodified-deprecated: var(--pst-icon-exclamation-triangle); } /******************************************************************************* @@ -408,4 +410,13 @@ dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(. p { font-size: 0.9rem; margin-bottom: 0.5rem; -} \ No newline at end of file +} + +div.deprecated { + background-color: var(--pst-color-warning-bg); + border-color: var(--pst-color-warning); +} + +span.versionmodified.deprecated:before { + color: var(--pst-color-warning); +}