From 632b0c0d7b504c496c6cdaf844f6710b3f37c29e Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Tue, 21 Dec 2021 16:34:26 +0100 Subject: [PATCH] docs: Add code styling for first line in item descriptions LDoc doesn't wrap the first line/paragraph of an item's description in `

` tags, so the previous style rules wouldn't apply to them. --- docs/ldoc.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/ldoc.css b/docs/ldoc.css index a7afe49c8..9857bcfb2 100644 --- a/docs/ldoc.css +++ b/docs/ldoc.css @@ -47,7 +47,11 @@ p.name { font-family: monospace; } -kbd, p code, ol code, ul code { +kbd, +p code, +ol code, +ul code, +dd > code { background-color: #eaedf587; padding-left: 3px; padding-right: 3px;