summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-17 13:11:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-11-17 13:11:55 (GMT)
commit066ae7051ce9b2c525f94095e8f40043dae07727 (patch)
tree969e899599f8b7a9957a8a140612435f9f9ec242 /Utilities
parent1aa095c8ed193d9b5f01167d0959919c2903efb8 (diff)
parentb553ac4c2f6a054de424f70e96cd9afdecc68a42 (diff)
downloadCMake-066ae7051ce9b2c525f94095e8f40043dae07727.zip
CMake-066ae7051ce9b2c525f94095e8f40043dae07727.tar.gz
CMake-066ae7051ce9b2c525f94095e8f40043dae07727.tar.bz2
Merge topic 'doc-deprecated-hanging-indent'
b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8976
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/static/cmake.css8
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;