1 /* -*- coding: utf-8; mode: css -*-
3 * Sphinx HTML theme customization: read the doc
4 * Please don't add any color definition here, as the theme should
5 * work for both normal and dark modes.
8 @import 'css/theme.css';
9 @import 'pygments.css';
11 /* Improve contrast and increase size for easier reading. */
14 font-family: sans-serif;
18 h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
19 font-family: sans-serif;
22 div[class^="highlight"] pre {
23 font-family: monospace;
28 font-family: sans-serif;
39 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
40 * see: https://github.com/rtfd/sphinx_rtd_theme/issues/419
43 div[class^="highlight"] pre {
46 .rst-content .highlight > pre {
50 /* Keep fields from being strangely far apart due to inheirited table CSS. */
51 .rst-content table.field-list th.field-name {
55 .rst-content table.field-list td.field-body {
64 * RTD theme's default is 800px as max width for the content, but we have
65 * tables with tons of columns, which need the full width of the view-port.
68 .wy-nav-content{max-width: none; }
72 * - Sequences of whitespace should collapse into a single whitespace.
73 * - make the overflow auto (scrollbar if needed)
74 * - align caption "left" ("center" is unsuitable on vast tables)
77 .wy-table-responsive table td { white-space: normal; }
78 .wy-table-responsive { overflow: auto; }
79 .rst-content table.docutils caption { text-align: left; font-size: 100%; }
83 * - captions should have 100% (not 85%) font size
84 * - hide the permalink symbol as long as link is not hovered
92 caption, .wy-table caption, .rst-content table.field-list caption {
95 caption a.headerlink { opacity: 0; }
96 caption a.headerlink:hover { opacity: 1; }
98 /* Menu selection and keystrokes */
101 font-family: "Courier New", Courier, monospace
104 code.kbd, code.kbd span {
106 font-family: "Courier New", Courier, monospace
109 /* fix bottom margin of lists items */
111 .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child {
115 /* inline literal: drop the borderbox, padding and red color */
117 code, .rst-content tt, .rst-content code {
125 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {