aboutsummaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_static')
-rw-r--r--docs/_static/custom.js2
-rw-r--r--docs/_static/style.css6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/_static/custom.js b/docs/_static/custom.js
index d9b5faaa..7f2ddd95 100644
--- a/docs/_static/custom.js
+++ b/docs/_static/custom.js
@@ -44,7 +44,7 @@ function getRootAttributeToggle(attributeName, valueName) {
}
const settings = {
- useSansFont: getRootAttributeToggle('font', 'sans'),
+ useSerifFont: getRootAttributeToggle('font', 'serif'),
useDarkTheme: getRootAttributeToggle('theme', 'dark')
};
diff --git a/docs/_static/style.css b/docs/_static/style.css
index 47262b84..3af254ee 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -18,7 +18,7 @@ Historically however, thanks to:
/* CSS variables would go here */
:root {
- --font-family: 'Georgia', 'Yu Gothic', 'Noto Sans CJK JP Regular', serif;
+ --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
/* base palette */
--white: #ffffff;
@@ -104,8 +104,8 @@ Historically however, thanks to:
--attribute-table-badge: var(--grey-7);
}
-:root[data-font="sans"] {
- --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+:root[data-font="serif"] {
+ --font-family: 'Georgia', 'Yu Gothic', 'Noto Sans CJK JP Regular', serif;
}
:root[data-theme="dark"] {