From 8b102c3bc45681c5753a62f97118c928d2008d64 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 31 Dec 2025 14:05:36 +0200 Subject: [PATCH] doc/css: adjust code and userinput styles I don't know why was defined to be bold, it looks bad to me. The same with which would inherit bold from
when used inside a variablelist term. So, to make the code snippets look better, force them to use normal weight. should differentiate from normal code somehow, and italic seems fine for it. already has bold, and I think it's fine, so no need to touch it. These changes are mainly for the new XML dialect documentation chapter. I didn't notice anything changing for the older or generated parts of the docs. Signed-off-by: Pekka Paalanen --- doc/publican/html/css/common.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/publican/html/css/common.css b/doc/publican/html/css/common.css index d9c53e8f..40b5c4ec 100644 --- a/doc/publican/html/css/common.css +++ b/doc/publican/html/css/common.css @@ -860,7 +860,7 @@ code { font-family:"liberation mono", "bitstream vera mono", "dejavu mono", monospace; white-space: pre-wrap; word-wrap: break-word; - font-weight:bold; + font-weight: normal; } .parameter code { @@ -878,6 +878,14 @@ code.email { } +.synopsis { + font-weight: normal; +} + +.userinput { + font-style: italic; +} + /*Notifications*/ div.warning, div.note, div.important { color: black;