API docs: Improve code display.

This also repairs the text alignment in code lines from center to left.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit e2ca40f980)
r14.0.x
Mavridis Philippe 3 years ago
parent b2f89687a7
commit 69aa91fc2e
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -94,3 +94,16 @@ SPAN.comment { color: #800000 }
SPAN.preprocessor { color: #806020 }
SPAN.stringliteral { color: #002080 }
SPAN.charliteral { color: #008080 }
.line {
text-align: left;
font-family: monospace;
}
.lineno {
display: inline-block;
width: 3em;
margin-right: 5px;
background: #EEEEEE;
text-align: right;
}

Loading…
Cancel
Save