summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2022-01-18 18:07:17 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-02-17 16:26:45 +0100
commit76cf4f23a15754b52a858b4f6966b85220043a24 (patch)
treec682bccc74c187f8a55318c01d2418765ff1179e
parente323fd3272aa6d6b754b8fbbf9a2725c83b88cc7 (diff)
downloadtdelibs-76cf4f23a15754b52a858b4f6966b85220043a24.tar.gz
tdelibs-76cf4f23a15754b52a858b4f6966b85220043a24.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.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;
+}