|
1 | 1 | @font-face { |
2 | 2 | font-family: 'Fira Code'; |
3 | | - src: url('/fonts/FiraCode-Regular.woff2') format('woff2'), url("woff/FiraCode-Regular.woff") format("woff"); |
| 3 | + src: |
| 4 | + url('/fonts/FiraCode-Regular.woff2') format('woff2'), |
| 5 | + url('woff/FiraCode-Regular.woff') format('woff'); |
4 | 6 | font-weight: 400; |
5 | 7 | font-style: normal; |
6 | 8 | } |
@@ -36,14 +38,17 @@ div[class*='language-'].line-numbers-mode .line-numbers { |
36 | 38 | */ |
37 | 39 | :root { |
38 | 40 | --code-line-height: 1.1; |
39 | | - --font-family-code: 'Fira Code', Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono', |
40 | | - 'Ubuntu Mono', monospace; |
41 | | - } |
42 | | - |
| 41 | + --font-family-code: 'Fira Code', Consolas, Monaco, 'Andale Mono', |
| 42 | + 'DejaVu Sans Mono', 'Ubuntu Mono', monospace; |
| 43 | +} |
| 44 | + |
43 | 45 | /* override vuepress `:root` --code-font-family variable with higher specificity (`body`) because vuepress puts theirs after this one */ |
44 | 46 | body { |
45 | | - --code-font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', 'DejaVu Sans Mono', |
46 | | - 'Ubuntu Mono', monospace; |
| 47 | + --code-font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', |
| 48 | + 'DejaVu Sans Mono', 'Ubuntu Mono', monospace; |
| 49 | + code { |
| 50 | + font-variant-ligatures: none; |
| 51 | + } |
47 | 52 | } |
48 | 53 |
|
49 | 54 | @media screen and (min-width: 720px) and (max-width: 815px) { |
|
0 commit comments