Template:Mxt/User CSS for a monospaced coding font: Difference between revisions

Content deleted Content added
typo
addl. class; HTML note
Line 11:
 
If you know of an additional class to add here, please update this page or mention it on [[Template talk:Mxt/User CSS for a monospaced coding font|the talk page]].
<!--DO NOT ADD var TO THIS LIST! It must be able to inherit the font of surrounding text, because it is used outside code, as in "If <var>A</var> then <var>B</var>" and in math equations.-->
 
'''Horizontal style'''
{{syntaxhighlight|lang=css|1=
/* Use my font, when available, for code */
code, pre, samp, kbd, tt, .userlinks, .monospaced, .example-mono, .bad-example-mono, .neutral-example-mono, .deprecated-example-mono { font-family: "Roboto Mono", monospace !important; }
/* Make some of the editable stuff monospaced */
#wpTextbox1, #wpSummary, #searchInput, #searchText { font-family: "Roboto Mono", monospace !important; }
Line 29:
tt,
.userlinks,
.monospaced,
.example-mono,
.bad-example-mono,