Skip to content

Commit

Permalink
Merge pull request #248 from pdp-archive/code-font-family
Browse files Browse the repository at this point in the history
Change the font family for code to match KaTeX's TT
  • Loading branch information
Dim131 authored May 5, 2024
2 parents 6f6cd9f + c1d7ec2 commit a288181
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion css/base16_solarised.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
background-color: #dc322f;
}
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
color: #657b83;
color: #6e9441;
}
.highlight .cp {
color: #b58900;
Expand Down
4 changes: 4 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ body {
font-family: "Segoe UI", Helvetica;
}

code {
font-family: 'KaTeX_Typewriter';
}

.main-content {
max-width: 800px;
margin: auto;
Expand Down

0 comments on commit a288181

Please sign in to comment.