Skip to content

Commit

Permalink
font added
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDBanner committed Mar 14, 2020
1 parent d4f392d commit 23b68bf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
--link-color: #2bbb79;
--link-color-hover: #249c65;
--link-color-active: #249c65;
--link-color-visited: #869296;
--link-color-visited: #621bbb;
--hr-color: #e1e4e5;
--table-row-odd-background-color: #f3f6f6;
--code-background-color: #fff;
Expand Down Expand Up @@ -72,6 +72,7 @@
}

/* Dark theme colors */

@media (prefers-color-scheme: dark) {
:root {
--body-color: rgba(255, 255, 255, 0.85);
Expand Down Expand Up @@ -143,6 +144,12 @@
}
}

@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
}

body,
h1,
h2,
Expand All @@ -160,7 +167,7 @@ legend,
.rst-content .toctree-wrapper p.caption,
.rst-versions {
/* Use a system font stack for better performance (no Web fonts required) */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1,
Expand Down

0 comments on commit 23b68bf

Please sign in to comment.