Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/** By importing this CSS code, you can safely import monospaced fonts to your system without changing the font that is being used for coding. **/
.wikiEditor-ui-view .wikiEditor-ui-view-wikitext, .mw-body-content .oo-ui-widget .ve-ui-surface .ve-ui-surface-source .ve-ui-mwSurface .ve-ui-mwWikitextSurface .ve-ui-sourceEditorSurface .ve-init-mw-target-surface .ve-ui-surface-dir-ltr .mw-editfont-monospace,
#wpTextbox1,
.CodeMirror-lines,
.ve-init-mw-desktopArticleTarget .ve-ui-mwWikitextSurface .ve-ce-paragraphNode, .wpTextbox1,
pre,
code,
.code,
kbd.key {
font-family: Code, monospace;
}
.mw-editfont-monospace, .mw-editfont-normal {
font-family: Code, monospace;
}
td.mw-enhanced-rc {
white-space: nowrap;
font-family: Code, monospace;
}
@font-face {
font-family: "Code";
src: local('Consolas');
}
@font-face {
font-family: "Code";
src: local('Courier New');
}
@font-face {
font-family: "Code";
src: local('Courier');
}
@font-face {
font-family: "Code";
src: local('Menlo');
}
@font-face {
font-family: "Code";
src: local('Monaco');
}
@font-face {
font-family: "Code";
src: local('Consolas');
}