Change code font to Fira Code
This commit is contained in:
parent
467ce418c0
commit
821ec9fdfc
3 changed files with 11 additions and 3 deletions
|
@ -30,8 +30,8 @@
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: SourceCodePro;
|
||||
src: url("/fonts/SourceCodePro-Regular.otf");
|
||||
font-family: "Fira Code";
|
||||
src: url("/fonts/FiraCode-Regular.ttf");
|
||||
}
|
||||
|
||||
html, body {
|
||||
|
@ -115,7 +115,7 @@ main p, main li {
|
|||
}
|
||||
|
||||
code, pre {
|
||||
font-family: SourceCodePro, monospace, monospace;
|
||||
font-family: "Fira Code", monospace, monospace;
|
||||
}
|
||||
|
||||
code {
|
||||
|
@ -140,6 +140,14 @@ pre code {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table td, table th {
|
||||
border: 1px solid #888;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
background-color: #000;
|
||||
|
|
BIN
static/fonts/FiraCode-Regular.ttf
Normal file
BIN
static/fonts/FiraCode-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue