Let's stand out

This commit is contained in:
Hynek Schlawack 2023-11-23 08:28:31 +01:00
parent 53d9d07357
commit bf357d6e67
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
2 changed files with 16 additions and 0 deletions

10
docs/_static/custom.css vendored Normal file
View File

@ -0,0 +1,10 @@
@import url('https://rsms.me/inter/inter.css');
@import url('https://assets.hynek.me/css/bm.css');
:root {
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}

View File

@ -98,7 +98,13 @@ html_theme_options = {
"light_logo": "attrs_logo.svg", "light_logo": "attrs_logo.svg",
"dark_logo": "attrs_logo_white.svg", "dark_logo": "attrs_logo_white.svg",
"top_of_page_button": None, "top_of_page_button": None,
"light_css_variables": {
"font-stack": "Inter,sans-serif",
"font-stack--monospace": "BerkeleyMono, MonoLisa, ui-monospace, "
"SFMono-Regular, Menlo, Consolas, Liberation Mono, monospace",
},
} }
html_css_files = ["custom.css"]
# The name of an image file (within the static path) to use as favicon of the # The name of an image file (within the static path) to use as favicon of the