diff options
author | Brad King <brad.king@kitware.com> | 2023-11-16 19:25:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-11-16 19:27:54 (GMT) |
commit | b553ac4c2f6a054de424f70e96cd9afdecc68a42 (patch) | |
tree | bcab30fbce5c5b90ca50d27c042e8fc6d8d9abf4 | |
parent | 0b6c6bb1ea67e2f84b6dc06cdad93350b312a0a6 (diff) | |
download | CMake-b553ac4c2f6a054de424f70e96cd9afdecc68a42.zip CMake-b553ac4c2f6a054de424f70e96cd9afdecc68a42.tar.gz CMake-b553ac4c2f6a054de424f70e96cd9afdecc68a42.tar.bz2 |
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.
-rw-r--r-- | Utilities/Sphinx/static/cmake.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css index 6303cb1..9e7dfa3 100644 --- a/Utilities/Sphinx/static/cmake.css +++ b/Utilities/Sphinx/static/cmake.css @@ -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; |