1 /* -*- coding: utf-8; mode: css -*-
3 * Sphinx HTML theme customization: read the doc
7 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
8 * see: https://github.com/rtfd/sphinx_rtd_theme/issues/419
11 div[class^="highlight"] pre {
14 .rst-content .highlight > pre {
22 * RTD theme's default is 800px as max width for the content, but we have
23 * tables with tons of columns, which need the full width of the view-port.
26 .wy-nav-content{max-width: none; }
30 * - Sequences of whitespace should collapse into a single whitespace.
31 * - make the overflow auto (scrollbar if needed)
32 * - align caption "left" ("center" is unsuitable on vast tables)
35 .wy-table-responsive table td { white-space: normal; }
36 .wy-table-responsive { overflow: auto; }
37 .rst-content table.docutils caption { text-align: left; font-size: 100%; }
41 * - captions should have 100% (not 85%) font size
42 * - hide the permalink symbol as long as link is not hovered
50 caption, .wy-table caption, .rst-content table.field-list caption {
53 caption a.headerlink { opacity: 0; }
54 caption a.headerlink:hover { opacity: 1; }
56 /* Menu selection and keystrokes */
60 font-family: "Courier New", Courier, monospace
63 code.kbd, code.kbd span {
65 background-color: darkblue;
67 font-family: "Courier New", Courier, monospace
70 /* fix bottom margin of lists items */
72 .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child {
76 /* inline literal: drop the borderbox, padding and red color */
78 code, .rst-content tt, .rst-content code {
86 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {