diff options
-rw-r--r-- | Documentation/sphinx-static/theme_overrides.css | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css index 4d670dbf7ffa..ea06799214fd 100644 --- a/Documentation/sphinx-static/theme_overrides.css +++ b/Documentation/sphinx-static/theme_overrides.css | |||
@@ -1,9 +1,28 @@ | |||
1 | /* -*- coding: utf-8; mode: css -*- | 1 | /* -*- coding: utf-8; mode: css -*- |
2 | * | 2 | * |
3 | * Sphinx HTML theme customization | 3 | * Sphinx HTML theme customization: read the doc |
4 | * | 4 | * |
5 | */ | 5 | */ |
6 | 6 | ||
7 | @media screen { | 7 | @media screen { |
8 | 8 | ||
9 | /* content column | ||
10 | * | ||
11 | * RTD theme's default is 800px as max width for the content, but we have | ||
12 | * tables with tons of columns, which need the full width of the view-port. | ||
13 | */ | ||
14 | |||
15 | .wy-nav-content{max-width: none; } | ||
16 | |||
17 | /* table: | ||
18 | * | ||
19 | * - Sequences of whitespace should collapse into a single whitespace. | ||
20 | * - make the overflow auto (scrollbar if needed) | ||
21 | * - align caption "left" ("center" is unsuitable on vast tables) | ||
22 | */ | ||
23 | |||
24 | .wy-table-responsive table td { white-space: normal; } | ||
25 | .wy-table-responsive { overflow: auto; } | ||
26 | .rst-content table.docutils caption { text-align: left; font-size: 100%; } | ||
27 | |||
9 | } | 28 | } |