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 /* 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 div
[class^
="highlight"] pre
{
20 font-family: monospace
;
25 font-family: sans-serif
;
36 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
37 * see: https://github.com/rtfd/sphinx_rtd_theme/issues/419
40 div
[class^
="highlight"] pre
{
43 .rst-content .highlight > pre {
47 /* Keep fields from being strangely far apart due to inheirited table CSS. */
48 .rst-content table.field-list th.field-name {
52 .rst-content table.field-list td.field-body {
61 * RTD theme's default is 800px as max width for the content, but we have
62 * tables with tons of columns, which need the full width of the view-port.
65 .wy-nav-content{max-width: none
; }
69 * - Sequences of whitespace should collapse into a single whitespace.
70 * - make the overflow auto (scrollbar if needed)
71 * - align caption "left" ("center" is unsuitable on vast tables)
74 .wy-table-responsive table td { white-space: normal
; }
75 .wy-table-responsive { overflow: auto
; }
76 .rst-content table.docutils caption { text-align: left
; font-size: 100%; }
80 * - captions should have 100% (not 85%) font size
81 * - hide the permalink symbol as long as link is not hovered
84 caption
, .wy-table caption
, .rst-content table
.field-list caption
{
87 caption a
.headerlink
{ opacity: 0; }
88 caption a
.headerlink:hover
{ opacity: 1; }
90 /* Menu selection and keystrokes */
93 font-family: "Courier New", Courier
, monospace
96 code
.kbd
, code
.kbd span
{
98 font-family: "Courier New", Courier
, monospace
101 /* fix bottom margin of lists items */
103 .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child {
107 /* inline literal: drop the borderbox, padding and red color */
109 code
, .rst-content tt
, .rst-content code
{
117 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {