MediaWiki:Common.less/editor.less

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
/* Change the look of the editor */

// Make code-editors 100px (~11 lines of code) taller than the default 400px (~19.9 lines)
input[name="model"] {
	&[value="Scribunto"],
	&[value="css"],
	&[value="less"],
	&[value="javascript"],
	&[value="json"] {
		& ~ .wikiEditor-ui #wpTextbox1 {
			height: 600px;
		}
	}
}

// Give LUA console styling consistent with the editor
#mw-scribunto-input,
#mw-scribunto-output {
	padding: 3px; // make caret appear even at the start of the line
	font-family: monospace;
	font-size: 13px;
	line-height: 1.5em;
}