website: update code block font

Use a modern web font with a better render on non-retina display

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2022-04-11 21:22:33 +02:00
parent 03829e907f
commit 49408adfd3
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ module.exports = {
organizationName: "Dagger",
projectName: "Dagger",
stylesheets: [
"https://fonts.googleapis.com/css2?family=Karla&family=Montserrat:wght@700&display=swap",
"https://fonts.googleapis.com/css2?family=Karla&family=Source+Code+Pro:wght@400&family=Montserrat:wght@700&display=swap",
],
customFields: {
AMPLITUDE_ID: process.env.REACT_APP_AMPLITUDE_ID

View File

@ -52,7 +52,7 @@ $desktop-xl-width: 1160px;
--ifm-font-color-base: var(--ifm-color-primary-dark);
--ifm-font-family-base: "Karla", sans-serif;
--ifm-font-family-title: "Montserrat", "Arial", sans-serif;
--ifm-font-family-monospace: "Courier new", sans-serif;
--ifm-font-family-monospace: "Source Code Pro", monospace;
--ifm-h2-font-size: 2rem;
--ifm-leading-desktop: 1;
--ifm-link-color: var(--ifm-color-primary-dark);