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 <jani@nikula.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24507>
This commit is contained in:
Erik Faye-Lund 2023-10-24 21:42:09 +02:00 committed by Marge Bot
parent bbd6ef4d34
commit ac16f00352

View File

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