Skip to content

Commit

Permalink
docs: deprecated styling (#28546)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Dec 5, 2024
1 parent ecdfc98 commit 3d54935
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/api_reference/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*******************************************************************************
Expand Down Expand Up @@ -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;
}
}

div.deprecated {
background-color: var(--pst-color-warning-bg);
border-color: var(--pst-color-warning);
}

span.versionmodified.deprecated:before {
color: var(--pst-color-warning);
}

0 comments on commit 3d54935

Please sign in to comment.