commit e0ec0d99fb8bd8a7f6f52daf2786ba882733f3d9 parent ebd05690ed4583235d6fe600a1b18491c49862d4 Author: Andrew Belt <andrewpbelt@gmail.com> Date: Tue, 17 Feb 2015 23:44:54 -0500 Using Latin Modern Mono for code Diffstat:
| M | style.css | | | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/style.css b/style.css @@ -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 { @@ -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; +} +\ No newline at end of file