mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-28 19:29:51 +00:00
8bc2f685f6
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.
32 lines
907 B
CSS
32 lines
907 B
CSS
@import url("alabaster.css");
|
|
h1.logo {
|
|
font-size: 12pt;
|
|
overflow-wrap: normal;
|
|
word-wrap: normal;
|
|
overflow: hidden;
|
|
margin-right: -25px; /* works together with div.body padding-left */
|
|
}
|
|
div.body {padding-left: 30px;}
|
|
th.field-name {hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;}
|
|
div.document {width: 90%;}
|
|
/* support small screens too! */
|
|
@media screen and (max-width: 1000px) {
|
|
div.sphinxsidebar {display: none;}
|
|
div.document {width: 100%!important;}
|
|
div.bodywrapper {margin-left: 0;}
|
|
div.highlight pre {margin-right: -30px;}
|
|
}
|
|
@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: " ";
|
|
}
|