Using Latin Modern Mono for code
This commit is contained in:
parent
ebd05690ed
commit
e0ec0d99fb
24
style.css
24
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user