summaryrefslogtreecommitdiffstats
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 16:47:52 +0200
commite2ca40f9807b528fe7ae1e96be0b63d367e4f41c (patch)
tree4b6bfc525511ec97bdc5354112c3aada92dba8aa
parent131c895e8a7e92505f5d3940883e51faed69652c (diff)
downloadtdelibs-e2ca40f9807b528fe7ae1e96be0b63d367e4f41c.tar.gz
tdelibs-e2ca40f9807b528fe7ae1e96be0b63d367e4f41c.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>
-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;
+}