From: Andrei Pavel Date: Wed, 20 Jul 2022 06:48:19 +0000 (+0300) Subject: [#2437] ARM style change: render literals in black and underline xrefs X-Git-Tag: Kea-2.2.0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8008cd9b8fc2ad397c937798ebded2a00425c521;p=thirdparty%2Fkea.git [#2437] ARM style change: render literals in black and underline xrefs --- diff --git a/doc/sphinx/static/kea.css b/doc/sphinx/static/kea.css index dff6239c0a..55d7758765 100644 --- a/doc/sphinx/static/kea.css +++ b/doc/sphinx/static/kea.css @@ -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; }