Skip to content

Commit e427eb5

Browse files
[backport 3.1.x] DOC: avoid system-ui in default font-family for the docs (revert upstream theme change) (#71860) (#71894)
1 parent 3120a57 commit e427eb5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎doc/source/_static/css/pandas.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
/* Override some aspects of the pydata-sphinx-theme */
22

33
:root {
4+
/* Use the pydata-sphinx-theme default from before v0.17.0. The newer versions use
5+
system-ui as first font, which gives undesirable results on some platforms
6+
(https://github.com/pandas-dev/pandas/pull/71860) */
7+
--pst-font-family-base-system: -apple-system, "BlinkMacSystemFont", "Segoe UI", "Helvetica Neue", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
48
/* Use softer blue from bootstrap's default info color */
59
--pst-color-info: 23, 162, 184;
610
}

0 commit comments

Comments
 (0)