summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-11-08 01:18:19 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-08 14:53:20 (GMT)
commit977c38c3399e58e1e1c03048c90f37646670d894 (patch)
tree147e662a69763dcccdbb955f1099c6039f5cc39a /Utilities
parentc30cd5fef1ccd6afd4201b92f49c1618765032aa (diff)
downloadCMake-977c38c3399e58e1e1c03048c90f37646670d894.zip
CMake-977c38c3399e58e1e1c03048c90f37646670d894.tar.gz
CMake-977c38c3399e58e1e1c03048c90f37646670d894.tar.bz2
Help: Render guide links as normal text instead of monospace
The guide document names are phrases, not code-like man-page names. Add CSS selectors for `:guide:` links and revert unnecessary properties.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/static/cmake.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css
index 4539cf9..324cd92 100644
--- a/Utilities/Sphinx/static/cmake.css
+++ b/Utilities/Sphinx/static/cmake.css
@@ -34,3 +34,14 @@ div.outdated {
text-align: center;
width: 100%;
}
+
+/* Revert style to the inherited (normal text) for `:guide:` links */
+code.xref.cmake-guide {
+ font-size: inherit;
+ font-family: inherit;
+ font-weight: inherit;
+ padding: inherit;
+}
+code.xref.cmake-guide span.pre {
+ white-space: inherit;
+}