Skip to content

Commit a6022de

Browse files
committed
Minor theme cleanup
1 parent fad098e commit a6022de

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

docs/_static/custom.css

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,16 @@
7777
--accent-bg-color: #505050;
7878
}
7979

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;
8590
}
8691

8792
/* Readjust font sizes */
@@ -253,14 +258,14 @@ body.scroll-down,
253258
}
254259

255260
/* 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 */
257262
code,
258263
.rst-content tt,
259264
.rst-content code {
260265
border: 0;
261266
padding: 0;
262267
background: transparent;
263-
font-size: 87.5%; /* matches pydata theme */
268+
font-size: 87.5%;
264269
/* border: solid 1px var(--code-border-color); */
265270
/* background: var(--code-bg-color); */
266271
/* font-size: 75%; */

0 commit comments

Comments
 (0)