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)
v3.5.13-sru
Mavridis Philippe 2 years ago committed by Slávek Banko
parent e323fd3272
commit 76cf4f23a1
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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