docs: Fix line numbered listings

Numbers didn't match up with content due to inconsistent line height.
This commit is contained in:
Gina Häußge 2017-10-19 13:37:40 +02:00
parent 3ad4b7b0a5
commit 813c2be35a

View file

@ -37,6 +37,11 @@
vertical-align: 10%;
}
.rst-content .highlight>pre,
.rst-content .linenodiv>pre {
line-height: 1.5;
}
/* make code tags non-red again */
code,
.rst-content tt {
@ -52,3 +57,4 @@ a:visited code,
.rst-content a:visited tt {
color: #9B59B6 !important;
}