.rst-content dl:not(.docutils) tt.xref, .rst-content dl:not(.docutils) code.xref {
    font-weight: bold;  /* restore bold for hyperref literals */
}

.rst-content dl:not(.docutils) tt, .rst-content dl:not(.docutils) code {
    font-weight: normal;  /* ovewrite bold for default literals */
}

.rst-content dl:not(.docutils) dl dt {
    /* mimick numpydoc’s blockquote style */
    font-weight: normal;
    background: none transparent;
    border-left: none;
    margin: 0 0 12px;
    padding: 3px 0 0;
    font-size: 111.11%;
}

.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
    color: #404040;
}


.rst-content tt.literal,
.rst-content code.literal {
    /* Dark gray instead of red for literals */
    color: #404040;
}

.rst-content tt:not(.xref),
.rst-content code:not(.xref),
.rst-content *:not(a) > tt.xref,
.rst-content *:not(a) > code.xref {
    /* slim font weight for non-link literals */
    font-weight: normal;
}

.rst-content dl:not(.docutils) dl > dt {
    /* mimick numpydoc’s blockquote style */
    /* TODO: once scanpydoc adds classes, also change return types */
    font-weight: normal;
    background: none transparent;
    border-left: none;
    margin: 0 0 12px;
    padding: 3px 0 0;
    font-size: 111.11%;
}

Tweak styles of unlinked xrefs
Tweak styles of unlinked xrefs
