Module: Mesa
Branch: main
Commit: ac16f00352a63d615759d3849b0fee35c7e05f2a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac16f00352a63d615759d3849b0fee35c7e05f2a

Author: Erik Faye-Lund <[email protected]>
Date:   Tue Oct 24 21:42:09 2023 +0200

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24507>

---

 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);
 }
 

Reply via email to