summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx/static/cmake.css
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-04 17:26:32 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-07 14:10:37 (GMT)
commit72814e46dabe120964c9cebc55cc4952bf4837e3 (patch)
treebb699d18e38d3b8a2a9a39fa4de9791939ac1b72 /Utilities/Sphinx/static/cmake.css
parent08b4ea639c877dee93d0a23a0fcf2ad41c7a1fcc (diff)
downloadCMake-72814e46dabe120964c9cebc55cc4952bf4837e3.zip
CMake-72814e46dabe120964c9cebc55cc4952bf4837e3.tar.gz
CMake-72814e46dabe120964c9cebc55cc4952bf4837e3.tar.bz2
Utilities/Sphinx: Make HTML links in parsed-literal blocks more obvious
Hyperlink text color does not stand out when used inside a literal block because such blocks typically get syntax highlighting. Update our CSS style to make the links more distinct. Suggested-by: Kyle Edwards <kyle.edwards@kitware.com>
Diffstat (limited to 'Utilities/Sphinx/static/cmake.css')
-rw-r--r--Utilities/Sphinx/static/cmake.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css
index 2a326d4..b082ede 100644
--- a/Utilities/Sphinx/static/cmake.css
+++ b/Utilities/Sphinx/static/cmake.css
@@ -6,3 +6,13 @@
div.sphinxsidebarwrapper {
word-wrap: break-word;
}
+
+/* Make links inside parsed-literal blocks more obvious
+ by using a background color and increased line spacing
+ to make them look boxed. */
+.literal-block {
+ line-height: 1.4;
+}
+.literal-block a.reference.internal {
+ background-color: #dfdfdf;
+}