Using Latin Modern Mono for code

This commit is contained in:
Andrew Belt 2015-02-17 23:44:54 -05:00
parent ebd05690ed
commit e0ec0d99fb

View File

@ -45,6 +45,20 @@ https://github.com/AndrewBelt/WiTeX
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff'); 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 */ /* Page Layout */
body { body {
@ -199,3 +213,13 @@ div.tright {
div.tleft { div.tleft {
margin: 0.5em 1.5em 0.5em 0; 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;
}