From 72814e46dabe120964c9cebc55cc4952bf4837e3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 4 May 2018 13:26:32 -0400 Subject: 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 --- Utilities/Sphinx/static/cmake.css | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; +} -- cgit v0.12