replace code font

This commit is contained in:
Philipp Kühn
2020-04-18 17:20:18 +02:00
parent 3df9d6dffc
commit 173accaa52
13 changed files with 5 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -47,6 +47,7 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
line-height: 1.7; line-height: 1.7;
font-feature-settings: 'cv05' 1;
background-color: $colorLightGrey; background-color: $colorLightGrey;
height: 100%; height: 100%;
} }

View File

@@ -170,11 +170,11 @@
// } // }
@font-face { @font-face {
font-family: 'Fira Code'; font-family: 'JetBrainsMono';
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
src: src:
url("~@/assets/fonts/FiraCode-Medium.woff2") format("woff2"), url("~@/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2"),
url("~@/assets/fonts/FiraCode-Medium.woff") format("woff"), url("~@/assets/fonts/JetBrainsMono-Regular.woff") format("woff"),
; ;
} }

View File

@@ -19,7 +19,7 @@ code[class*="language-"], pre[class*="language-"] {
hyphens: none; hyphens: none;
color: inherit; color: inherit;
text-shadow: none; text-shadow: none;
font-family: 'Fira Code', monospace; font-family: 'JetBrainsMono', monospace;
font-size: 1em; font-size: 1em;
line-height: 1.8; line-height: 1.8;
tab-size: 2; tab-size: 2;