summaryrefslogtreecommitdiffstats
path: root/doc/common/doxygen.css
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2022-01-18 18:07:17 +0200
committerMavridis Philippe <mavridisf@gmail.com>2022-01-20 18:30:58 +0200
commit69aa91fc2ee0e883a250d5e87d02a9a969257167 (patch)
tree3e9cdc5c8c29b1c30b33909c10f5025a9ece77d6 /doc/common/doxygen.css
parentb2f89687a77d70a4bc88aa20372fc7fab8b645c9 (diff)
downloadtdelibs-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)
Diffstat (limited to 'doc/common/doxygen.css')
-rw-r--r--doc/common/doxygen.css13
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;
+}