From 4ae01c7f5ae3fe465da7ec914eadb1640de69525 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 16 Jan 2015 12:07:14 +0000 Subject: [PATCH] Make main code input area monospaced A monospaced font is more suitable for writing LaTeX. Change-Id: I1a6c7bbbe3618f43808be15eab1579de8b2ad59f --- Math.php | 1 + modules/VisualEditor/ve.ui.MWMathInspector.css | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 modules/VisualEditor/ve.ui.MWMathInspector.css diff --git a/Math.php b/Math.php index 0d944913f..ad4390b23 100644 --- a/Math.php +++ b/Math.php @@ -514,6 +514,7 @@ $wgResourceModules['ext.math.visualEditor'] = array( ), 'styles' => array( 'VisualEditor/ve.ui.MWMathIcons.css', + 'VisualEditor/ve.ui.MWMathInspector.css', ), 'dependencies' => array( 'ext.visualEditor.mwcore', diff --git a/modules/VisualEditor/ve.ui.MWMathInspector.css b/modules/VisualEditor/ve.ui.MWMathInspector.css new file mode 100644 index 000000000..148f46003 --- /dev/null +++ b/modules/VisualEditor/ve.ui.MWMathInspector.css @@ -0,0 +1,10 @@ +/*! + * VisualEditor UserInterface MWMathInspector styles. + * + * @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt + * @license The MIT License (MIT); see LICENSE.txt + */ + +.ve-ui-mwMathInspector-content .ve-ui-mwExtensionInspector-input textarea { + font-family: monospace, Courier; +}