From ac16f00352a63d615759d3849b0fee35c7e05f2a Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 24 Oct 2023 21:42:09 +0200 Subject: [PATCH] docs: improve readability of c-signatures This does two things: 1. It increases the contrast of the signatures 2. It ensures that there's some spacing when there's two signature elements back-to-back (which happens when documenting structs, for instance), making it easier to tell things apart. Reviewed-by: Jani Nikula Part-of: --- docs/mesa3d_theme/static/rst.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mesa3d_theme/static/rst.css b/docs/mesa3d_theme/static/rst.css index 421a982263d..782147929fc 100644 --- a/docs/mesa3d_theme/static/rst.css +++ b/docs/mesa3d_theme/static/rst.css @@ -41,8 +41,8 @@ dt.sig { dl > .sig.c { background-color: var(--bs-secondary-bg); - color: var(--bs-secondary); padding: 0.25rem 0.5rem; + margin-bottom: 0.5rem; border-radius: var(--bs-border-radius-sm); }