]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2437] ARM style change: render literals in black and underline xrefs
authorAndrei Pavel <andrei@isc.org>
Wed, 20 Jul 2022 06:48:19 +0000 (09:48 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 20 Jul 2022 06:48:19 +0000 (09:48 +0300)
doc/sphinx/static/kea.css

index dff6239c0a6012fd894f966b9795b10a32f5b435..55d7758765671fd341e0cf66945e9651a956577c 100644 (file)
@@ -8,5 +8,19 @@
    are pretty wide so removing that
  */
 .wy-table-responsive table td, .wy-table-responsive table th {
-   white-space: normal;
+    white-space: normal;
+}
+
+/* Paint literal text black. */
+.rst-content code.literal {
+    color: black;
+}
+
+/* Have literal text that references other sections underlined.
+ * It helps the reader figure out that it's a clickable link.
+ * This type of referencing can be achieved using text roles.
+ * https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html
+ */
+.rst-content code.xref {
+    text-decoration: underline dotted gray;
 }