1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
/* Use the same line-height on <dd> as for <p>, which prevents odd rendering of
single vs. mulei paragraph definition bodies. */
dd {
line-height: 24px;
}
/*
Following two styles fix the problem with wide tables introducing a horizontal
scrollbar, instead of the much more desired behavior of wrapping cell contents.
Source: https://github.com/snide/sphinx_rtd_theme/issues/117#issuecomment-41506687
*/
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: visible;
}
div.figure.align-center{
margin: initial;
max-width: 800px;
}
/* pre inside paragraphs gets weird spacing */
span.pre {
line-height: initial;
}
/* Fix for nav bottom padding with flyout */
nav.wy-nav-side {
padding-bottom: 3em;
}
/* Allow content area to expand so that some elements (e.g. tables) may fill up
horizontal space as necessary, while limiting the width of general paragraph
and list elements. Eye-tracking with really wide blocks of text is error
prone and makes reading more difficult, but having large tables with many
columns use all available space can be a big win. */
div.wy-nav-content {
max-width: 100%;
}
.rst-content p,
.rst-content ol,
.rst-content ul,
.rst-content dd,
.rst-content blockquote,
.rst-content .admonition,
.rst-content .rst-footer-buttons,
div.highlight-c, div.highlight-cpp, div.highlight-http, div.highlight-perl,
div.highlight-python, div.highlight-sh
{
max-width: 800px;
}
|