diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2022-01-18 18:07:17 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2022-01-20 18:30:58 +0200 |
commit | 69aa91fc2ee0e883a250d5e87d02a9a969257167 (patch) | |
tree | 3e9cdc5c8c29b1c30b33909c10f5025a9ece77d6 | |
parent | b2f89687a77d70a4bc88aa20372fc7fab8b645c9 (diff) | |
download | tdelibs-69aa91fc2ee0e883a250d5e87d02a9a969257167.tar.gz tdelibs-69aa91fc2ee0e883a250d5e87d02a9a969257167.zip |
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 e2ca40f9807b528fe7ae1e96be0b63d367e4f41c)
-rw-r--r-- | doc/common/doxygen.css | 13 |
1 files changed, 13 insertions, 0 deletions
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; +} |