/* Make images flush inside table cells so feature-gallery grids show * the actual artwork edge-to-edge instead of a thin checker of margin. */ .rst-content table.docutils td > p, .rst-content table.docutils th > p, .wy-table-responsive table td > p, .wy-table-responsive table th > p { margin: 0; } .rst-content table.docutils td img, .rst-content table.docutils th img, .wy-table-responsive table td img, .wy-table-responsive table th img { display: block; margin: 0; padding: 0; max-width: 100%; height: auto; } .rst-content table.docutils td, .rst-content table.docutils th, .wy-table-responsive table td, .wy-table-responsive table th { padding: 0; vertical-align: top; } /* Keep the header row (the labels above each image) slightly padded so the * text doesn't crash into the cell border. */ .rst-content table.docutils thead th, .wy-table-responsive table thead th { padding: 4px 8px; } /* Benchmark tables carry dense text and long benchmark ids. Keep them full * width, readable, and wrapped instead of forcing horizontal scrolling. */ .rst-content .benchmark-table-block { margin: 18px 0 28px; width: 100%; } .rst-content .benchmark-table-block .wy-table-responsive { margin-bottom: 0; max-width: 100%; overflow-x: visible; } .rst-content .benchmark-table-block table.docutils, .rst-content .benchmark-table-block .wy-table-responsive table { table-layout: fixed; width: 100%; } .rst-content .benchmark-table-block table.docutils td, .rst-content .benchmark-table-block table.docutils th, .rst-content .benchmark-table-block .wy-table-responsive table td, .rst-content .benchmark-table-block .wy-table-responsive table th { padding: 10px 12px; vertical-align: top; white-space: normal; overflow-wrap: anywhere; word-break: normal; } .rst-content .benchmark-table-block table.docutils thead th, .rst-content .benchmark-table-block .wy-table-responsive table thead th { padding: 8px 12px; } .rst-content .benchmark-table-block table.docutils td > p, .rst-content .benchmark-table-block table.docutils th > p, .rst-content .benchmark-table-block .wy-table-responsive table td > p, .rst-content .benchmark-table-block .wy-table-responsive table th > p { margin: 0 0 8px; } .rst-content .benchmark-table-block table.docutils td > p:last-child, .rst-content .benchmark-table-block table.docutils th > p:last-child, .rst-content .benchmark-table-block .wy-table-responsive table td > p:last-child, .rst-content .benchmark-table-block .wy-table-responsive table th > p:last-child { margin-bottom: 0; } .rst-content .benchmark-table-block code.docutils.literal, .rst-content .benchmark-table-block code.docutils.literal .pre { white-space: normal; overflow-wrap: anywhere; } .rst-content .benchmark-graph-block { margin: 20px 0 30px; } .rst-content .benchmark-graph-block figure { margin: 0; } .rst-content .benchmark-graph-block img { display: block; width: 100%; height: auto; }