Change code font to Fira Code

This commit is contained in:
Pascal Engélibert 2024-11-18 09:39:59 +01:00
parent 467ce418c0
commit 821ec9fdfc
3 changed files with 11 additions and 3 deletions

View file

@ -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;

Binary file not shown.