font: use FireCode WOFF, disable monospace ligatures
This commit is contained in:
parent
821ec9fdfc
commit
98c468c6bb
3 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Fira Code";
|
font-family: "Fira Code";
|
||||||
src: url("/fonts/FiraCode-Regular.ttf");
|
src: url("/fonts/FiraCode-Regular.woff2");
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -116,6 +116,7 @@ main p, main li {
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
font-family: "Fira Code", monospace, monospace;
|
font-family: "Fira Code", monospace, monospace;
|
||||||
|
font-variant-ligatures: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
Binary file not shown.
BIN
static/fonts/FiraCode-Regular.woff2
Normal file
BIN
static/fonts/FiraCode-Regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in a new issue