1 /* -*- coding: utf-8; mode: css -*- 1 /* -*- coding: utf-8; mode: css -*- 2 * 2 * 3 * Sphinx HTML theme customization: read the d 3 * Sphinx HTML theme customization: read the doc 4 * Please don't add any color definition here, !! 4 * 5 * work for both normal and dark modes. << 6 */ 5 */ 7 6 8 /* Improve contrast and increase size for easi << 9 << 10 body { << 11 font-family: serif; << 12 font-size: 100%; << 13 } << 14 << 15 h1, h2, .rst-content .toctree-wrapper p.captio << 16 font-family: sans-serif; << 17 } << 18 << 19 div[class^="highlight"] pre { << 20 font-family: monospace; << 21 font-size: 100%; << 22 } << 23 << 24 .wy-menu-vertical { << 25 font-family: sans-serif; << 26 } << 27 << 28 .c { << 29 font-style: normal; << 30 } << 31 << 32 p { << 33 font-size: 100%; << 34 } << 35 << 36 /* Interim: Code-blocks with line nos - lines << 37 * see: https://github.com/rtfd/sphinx_rtd_the << 38 */ << 39 << 40 div[class^="highlight"] pre { << 41 line-height: normal; << 42 } << 43 .rst-content .highlight > pre { << 44 line-height: normal; << 45 } << 46 << 47 /* Keep fields from being strangely far apart << 48 .rst-content table.field-list th.field-name { << 49 padding-top: 1px; << 50 padding-bottom: 1px; << 51 } << 52 .rst-content table.field-list td.field-body { << 53 padding-top: 1px; << 54 padding-bottom: 1px; << 55 } << 56 << 57 @media screen { 7 @media screen { 58 8 59 /* content column 9 /* content column 60 * 10 * 61 * RTD theme's default is 800px as max wid 11 * RTD theme's default is 800px as max width for the content, but we have 62 * tables with tons of columns, which need 12 * tables with tons of columns, which need the full width of the view-port. 63 */ 13 */ 64 14 65 .wy-nav-content{max-width: none; } 15 .wy-nav-content{max-width: none; } 66 16 67 /* table: 17 /* table: 68 * 18 * 69 * - Sequences of whitespace should coll 19 * - Sequences of whitespace should collapse into a single whitespace. 70 * - make the overflow auto (scrollbar i 20 * - make the overflow auto (scrollbar if needed) 71 * - align caption "left" ("center" is u 21 * - align caption "left" ("center" is unsuitable on vast tables) 72 */ 22 */ 73 23 74 .wy-table-responsive table td { white-spac 24 .wy-table-responsive table td { white-space: normal; } 75 .wy-table-responsive { overflow: auto; } 25 .wy-table-responsive { overflow: auto; } 76 .rst-content table.docutils caption { text 26 .rst-content table.docutils caption { text-align: left; font-size: 100%; } 77 27 78 /* captions: 28 /* captions: 79 * 29 * 80 * - captions should have 100% (not 85%) 30 * - captions should have 100% (not 85%) font size 81 * - hide the permalink symbol as long a 31 * - hide the permalink symbol as long as link is not hovered 82 */ 32 */ 83 33 >> 34 .toc-title { >> 35 font-size: 150%; >> 36 font-weight: bold; >> 37 } >> 38 84 caption, .wy-table caption, .rst-content t 39 caption, .wy-table caption, .rst-content table.field-list caption { 85 font-size: 100%; 40 font-size: 100%; 86 } 41 } 87 caption a.headerlink { opacity: 0; } 42 caption a.headerlink { opacity: 0; } 88 caption a.headerlink:hover { opacity: 1; } 43 caption a.headerlink:hover { opacity: 1; } 89 44 90 /* Menu selection and keystrokes */ 45 /* Menu selection and keystrokes */ 91 46 92 span.menuselection { 47 span.menuselection { >> 48 color: blue; 93 font-family: "Courier New", Courier, m 49 font-family: "Courier New", Courier, monospace 94 } 50 } 95 51 96 code.kbd, code.kbd span { 52 code.kbd, code.kbd span { >> 53 color: white; >> 54 background-color: darkblue; 97 font-weight: bold; 55 font-weight: bold; 98 font-family: "Courier New", Courier, m 56 font-family: "Courier New", Courier, monospace 99 } << 100 << 101 /* fix bottom margin of lists items */ << 102 << 103 .rst-content .section ul li:last-child, .r << 104 margin-bottom: 12px; << 105 } 57 } 106 58 107 /* inline literal: drop the borderbox, pad 59 /* inline literal: drop the borderbox, padding and red color */ 108 60 109 code, .rst-content tt, .rst-content code { 61 code, .rst-content tt, .rst-content code { 110 color: inherit; 62 color: inherit; 111 border: none; 63 border: none; 112 padding: unset; 64 padding: unset; 113 background: inherit; 65 background: inherit; 114 font-size: 85%; 66 font-size: 85%; 115 } 67 } 116 68 117 .rst-content tt.literal,.rst-content tt.li 69 .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal { 118 color: inherit; 70 color: inherit; 119 } 71 } 120 } 72 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.