| 1 | /* passed to app.add_stylesheet() in conf.py to override |
| 2 | readthedocs.org table width restrictions... |
| 3 | from https://github.com/snide/sphinx_rtd_theme/issues/117 */ |
| 4 | .wy-table-responsive table td, .wy-table-responsive table th { |
| 5 | /* !important prevents the common CSS stylesheets from |
| 6 | overriding this as on RTD they are loaded after this stylesheet */ |
| 7 | white-space: normal !important; |
| 8 | } |
| 9 | |
| 10 | .wy-table-responsive { |
| 11 | overflow: visible !important; |
| 12 | } |
| 13 | |
| 14 | /* restore spacing between paragraphs inside table cells (the theme sets |
| 15 | margin-bottom: 0 on td > p, collapsing headline/detail paragraphs) */ |
| 16 | html.writer-html5 .rst-content table.docutils td > p:not(:last-child) { |
| 17 | margin-bottom: 12px; |
| 18 | } |