From e2ca40f9807b528fe7ae1e96be0b63d367e4f41c Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 18 Jan 2022 18:07:17 +0200 Subject: API docs: Improve code display. This also repairs the text alignment in code lines from center to left. Signed-off-by: Mavridis Philippe --- doc/common/doxygen.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/common/doxygen.css b/doc/common/doxygen.css index 48563b473..932e6975a 100644 --- a/doc/common/doxygen.css +++ b/doc/common/doxygen.css @@ -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; +} -- cgit v1.2.1