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-face {
|
||||||
font-family: SourceCodePro;
|
font-family: "Fira Code";
|
||||||
src: url("/fonts/SourceCodePro-Regular.otf");
|
src: url("/fonts/FiraCode-Regular.ttf");
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -115,7 +115,7 @@ main p, main li {
|
||||||
}
|
}
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
font-family: SourceCodePro, monospace, monospace;
|
font-family: "Fira Code", monospace, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
@ -140,6 +140,14 @@ pre code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td, table th {
|
||||||
|
border: 1px solid #888;
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html {
|
html {
|
||||||
background-color: #000;
|
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