|
77 | 77 | --accent-bg-color: #505050;
|
78 | 78 | }
|
79 | 79 |
|
80 |
| -/* Pydata theme font families */ |
81 |
| -/* Github: font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
82 |
| -/* Pandas: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
83 |
| -body, h1, h2, h3, h4, h5, h6, .rst-content .toctree-wrapper p.caption{ |
84 |
| - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
| 80 | +/* Pydata theme font families, sizes, and weights */ |
| 81 | +/* Github text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
| 82 | +/* Pydata text: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ |
| 83 | +/* Pydata code: "fontSFMono-Regular", Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace; */ |
| 84 | +/* Note that pydata code settings seem to be unchaged compared to readthedocs */ |
| 85 | +body, legend, h1, h2, h3, h4, h5, h6, .rst-content .toctree-wrapper p.caption{ |
| 86 | + font-family: "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
| 87 | +} |
| 88 | +legend, h1, h2, h3, h4, h5, h6, .rst-content .toctree-wrapper p.caption{ |
| 89 | + font-weight: 500; |
85 | 90 | }
|
86 | 91 |
|
87 | 92 | /* Readjust font sizes */
|
@@ -253,14 +258,14 @@ body.scroll-down,
|
253 | 258 | }
|
254 | 259 |
|
255 | 260 | /* Code block color. dl:not(.docutils) needed below to match specificity */
|
256 |
| -/* Previously included border but have removed this to match pydata theme */ |
| 261 | +/* Previously included border but have removed this to match Pydata theme */ |
257 | 262 | code,
|
258 | 263 | .rst-content tt,
|
259 | 264 | .rst-content code {
|
260 | 265 | border: 0;
|
261 | 266 | padding: 0;
|
262 | 267 | background: transparent;
|
263 |
| - font-size: 87.5%; /* matches pydata theme */ |
| 268 | + font-size: 87.5%; |
264 | 269 | /* border: solid 1px var(--code-border-color); */
|
265 | 270 | /* background: var(--code-bg-color); */
|
266 | 271 | /* font-size: 75%; */
|
|
0 commit comments