]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Make sure that long lines are displayed in Sphinx
authorZhanna Tsitkov <tsitkova@mit.edu>
Tue, 24 Jul 2012 15:53:11 +0000 (11:53 -0400)
committerZhanna Tsitkov <tsitkova@mit.edu>
Tue, 24 Jul 2012 15:53:11 +0000 (11:53 -0400)
Before this fix the very long lines (110+ symbols) under the
preformatted text <pre> tag would be cut short in Sphinx HTML output.

doc/rst_source/_static/kerb.css

index 45f1b6ece8704018dab50c60c55d77b918e0cc57..c2800474a117136f0e54a43fb496f5616a02645f 100644 (file)
@@ -112,3 +112,17 @@ div.sidebar li.toctree-l4 a {
 dt:target, .highlighted {
   background-color: #c1c1c1;
 }
+
+/* Code displays */
+
+pre {
+    overflow: auto;
+    overflow-y: hidden;
+}
+
+td.linenos pre {
+    padding: 5px 0px;
+    border: 0;
+    background-color: transparent;
+    color: #aaa;
+}