mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user