diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 87593a5..cfc5e7b 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -74,3 +74,10 @@ } } } + +/** +* Global font family +*/ +:root { + --code-font-family: "Jetbrains Mono", Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace; +} \ No newline at end of file diff --git a/layouts/partials/head/custom.html b/layouts/partials/head/custom.html index 4d79e09..a2b6104 100644 --- a/layouts/partials/head/custom.html +++ b/layouts/partials/head/custom.html @@ -12,6 +12,22 @@ + + + + + + +