|
77 | 77 | --accent-bg-color: #505050; |
78 | 78 | } |
79 | 79 |
|
| 80 | +/* Font families from modern pydata theme */ |
| 81 | +/* Github fonts: */ |
| 82 | +/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
| 83 | +/* Pandas fonts: */ |
| 84 | +/* -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
| 85 | +/* SFMono-Regular, Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace; */ |
| 86 | +body, h1, h2, h3, h4, h5, h6, .rst-content .toctree-wrapper p.caption{ |
| 87 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
| 88 | +} |
| 89 | + |
| 90 | + |
| 91 | +/* Keep bold headers but slightly larger than RTD and smaller than pydata */ |
| 92 | +.rst-content div[class^='highlight'] pre, |
| 93 | +.rst-content pre.literal-block, |
| 94 | +.rst-content .linenodiv pre{ |
| 95 | + font-size: 13px; |
| 96 | +} |
| 97 | +body, p, .rst-content{ |
| 98 | + font-size: 15px; |
| 99 | +} |
| 100 | +h1{ |
| 101 | + font-size: 200%; |
| 102 | +} |
| 103 | +h2{ |
| 104 | + font-size: 180%; |
| 105 | +} |
| 106 | +h3{ |
| 107 | + font-size: 160%; |
| 108 | +} |
| 109 | +h4, .rst-content p.rubric{ |
| 110 | + font-size: 140%; |
| 111 | +} |
| 112 | +h5{ |
| 113 | + font-size: 120%; |
| 114 | +} |
| 115 | +h6{ |
| 116 | + font-size: 100%; |
| 117 | +} |
| 118 | +.wy-menu-vertical header, .wy-menu-vertical p.caption { |
| 119 | + font-size: 90%; /* default is 85% */ |
| 120 | +} |
| 121 | + |
80 | 122 | /* RST content background color */ |
81 | 123 | body.scroll-up, |
82 | 124 | body.scroll-down, |
@@ -260,12 +302,11 @@ code, |
260 | 302 | /* Parameters and Returns header colors */ |
261 | 303 | .rst-content dl:not(.docutils) .field-list>dt { |
262 | 304 | font-weight: bold; |
263 | | - font-size: 16px; /* todo make relative */ |
264 | 305 | color: var(--main-color); |
265 | 306 | background: var(--block-bg-color); |
266 | 307 | border-left-color: var(--accent-bg-color); |
267 | 308 | /* padding: 0; */ /* remove accents, decided against this */ |
268 | | - /* border: 0; */ |
| 309 | + /* border: 0; */ /* remove accents, decided against this */ |
269 | 310 | } |
270 | 311 |
|
271 | 312 | /* Parameter table colors */ |
|
0 commit comments