Skip to content

Commit

Permalink
Using Latin Modern Mono for code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBelt committed Feb 18, 2015
1 parent ebd0569 commit e0ec0d9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ https://github.com/AndrewBelt/WiTeX
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff');
}

@font-face {
font-family: 'Latin Modern Mono';
font-weight: normal;
font-style: normal;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-regular.woff') format('woff');
}

@font-face {
font-family: 'Latin Modern Mono';
font-weight: normal;
font-style: italic;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-italic.woff') format('woff');
}

/* Page Layout */

body {
Expand Down Expand Up @@ -199,3 +213,13 @@ div.tright {
div.tleft {
margin: 0.5em 1.5em 0.5em 0;
}

/* Code */

.mw-code {
margin: 1em 0;
}

.mw-code pre, code {
font-family: "Latin Modern Mono", monospace !important;
}

0 comments on commit e0ec0d9

Please sign in to comment.