Skip to content

Commit

Permalink
fix: add monospace font fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Samasaur1 committed Sep 30, 2024
1 parent e3bd2a0 commit d7203cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@

@font-face{
font-family: 'JetBrains Mono';
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/ttf/JetBrainsMonoNL-Regular.ttf') format('truetype');
src: local("JetBrains Mono NL"), local("JetBrains Mono"), url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/archives/ttf/JetBrainsMonoNL-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

pre, code, kbd {
font-family:'JetBrains Mono';
font-family:'JetBrains Mono', monospace;
}

pre {
Expand Down

0 comments on commit d7203cc

Please sign in to comment.