Skip to content

Commit

Permalink
Let's stand out
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Nov 23, 2023
1 parent 5d5ccc9 commit 29ae64d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://rsms.me/inter/inter.css');
@font-face {
font-family: "BerkeleyMono";
src: local("Berkeley Mono"),
Expand All @@ -7,3 +8,10 @@
url("https://assets.hynek.me/bm/BerkeleyMono-Bold.woff2") format("woff2");
font-display: swap;
}

:root {
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
html_theme = "furo"
html_theme_options = {
"light_css_variables": {
"font-stack": "Inter,sans-serif",
"font-stack--monospace": "BerkeleyMono, MonoLisa, ui-monospace, "
"SFMono-Regular, Menlo, Consolas, Liberation Mono, monospace",
},
Expand Down

0 comments on commit 29ae64d

Please sign in to comment.