1 /* -*- coding: utf-8; mode: css -*-
3 * Sphinx HTML theme customization: read the doc
7 /* Improve contrast and increase size for easier reading. */
15 h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
16 font-family: sans-serif;
19 .wy-menu-vertical li.current a {
23 .wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
27 div[class^="highlight"] pre {
28 font-family: monospace;
34 font-family: sans-serif;
45 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
46 * see: https://github.com/rtfd/sphinx_rtd_theme/issues/419
49 div[class^="highlight"] pre {
52 .rst-content .highlight > pre {
60 * RTD theme's default is 800px as max width for the content, but we have
61 * tables with tons of columns, which need the full width of the view-port.
64 .wy-nav-content{max-width: none; }
68 * - Sequences of whitespace should collapse into a single whitespace.
69 * - make the overflow auto (scrollbar if needed)
70 * - align caption "left" ("center" is unsuitable on vast tables)
73 .wy-table-responsive table td { white-space: normal; }
74 .wy-table-responsive { overflow: auto; }
75 .rst-content table.docutils caption { text-align: left; font-size: 100%; }
79 * - captions should have 100% (not 85%) font size
80 * - hide the permalink symbol as long as link is not hovered
88 caption, .wy-table caption, .rst-content table.field-list caption {
91 caption a.headerlink { opacity: 0; }
92 caption a.headerlink:hover { opacity: 1; }
94 /* Menu selection and keystrokes */
98 font-family: "Courier New", Courier, monospace
101 code.kbd, code.kbd span {
103 background-color: darkblue;
105 font-family: "Courier New", Courier, monospace
108 /* fix bottom margin of lists items */
110 .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child {
114 /* inline literal: drop the borderbox, padding and red color */
116 code, .rst-content tt, .rst-content code {
124 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {