Utilities/Sphinx: Add hanging indent to deprecation notes

Extend commit 038f4c12e3 (Utilities/Sphinx: Add hanging indent to
version notes, 2023-03-14, v3.27.0-rc1~322^2) to cover `deprecated`
directives.
This commit is contained in:
Brad King 2023-11-16 14:25:25 -05:00
parent 0b6c6bb1ea
commit b553ac4c2f

View File

@ -45,12 +45,14 @@ div.sphinxsidebarwrapper {
white-space: nowrap;
}
/* Add hanging indent to version-{added,changed} content. */
div .versionadded > *,
div .versionchanged > * {
/* Add hanging indent to deprecated and version-{added,changed} content. */
div.deprecated > *,
div.versionadded > *,
div.versionchanged > * {
padding-left: 2em;
}
div.deprecated > :first-child,
div.versionadded > :first-child,
div.versionchanged > :first-child {
text-indent: -2em;