mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-12-28 19:29:19 +00:00
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:
parent
263d23a37d
commit
8bc2f685f6
1 changed files with 11 additions and 0 deletions
11
docs/static/custom.css
vendored
11
docs/static/custom.css
vendored
|
@ -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: " ";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue