docs: deprecated styling (#28550)

This commit is contained in:
Erick Friis 2024-12-05 14:05:25 -08:00 committed by GitHub
parent 5519a1c1d3
commit 7a96ce1320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -391,6 +391,13 @@ html[data-theme=dark] .MathJax_SVG * {
div.deprecated {
margin-top: 0.5em;
margin-bottom: 2em;
background-color: var(--pst-color-warning-bg);
border-color: var(--pst-color-warning);
}
span.versionmodified.deprecated:before {
color: var(--pst-color-warning);
}
.admonition-beta.admonition, div.admonition-beta.admonition {
@ -411,12 +418,3 @@ p {
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
div.deprecated {
background-color: var(--pst-color-warning-bg);
border-color: var(--pst-color-warning);
}
span.versionmodified.deprecated:before {
color: var(--pst-color-warning);
}