More CSS refinement.

This commit fixes the weird wrapping that happens with long class and
function names.  I was originally going to address this in a PR against
sphinx before I figured out the specific CSS that cleans things up.
This commit is contained in:
Dave Shawley 2016-04-17 09:01:08 -04:00
parent 263d23a37d
commit 8bc2f685f6

View file

@ -19,3 +19,14 @@ div.document {width: 90%;}
@media screen and (min-width: 1000px) {
div.bodywrapper {margin-left: default;}
}
/* hanging indent for class names
* would use "text-indent: 2em hanging" if it were supported everywhere
*/
dl.class > dt, dl.function > dt {
text-indent: -4em;
padding-left: 4em;
}
/* add some space to wrap nicely */
span.sig-paren::after {
content: " ";
}