mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 09:20:42 +00:00
801888d34b
Note there is not even a LICENSE.txt in this code base. Change-Id: I3dccd4187f4a20e3f040c812c5811298794d469a
57 lines
1.1 KiB
CSS
57 lines
1.1 KiB
CSS
/*!
|
|
* VisualEditor UserInterface MWLatexPage styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
.ve-ui-mwLatexPage-symbol {
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
font-size: 1.5em;
|
|
width: 1.8em;
|
|
height: 1.8em;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin: 0 0.1em 0.1em 0;
|
|
box-sizing: border-box;
|
|
border: 1px solid #e6e6e6;
|
|
-webkit-transition: border-color 200ms;
|
|
-moz-transition: border-color 200ms;
|
|
transition: border-color 200ms;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol:hover {
|
|
border-color: #ccc;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-wide {
|
|
/* 2(symbol width) + margin */
|
|
width: 3.7em;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-wider {
|
|
/* 2.5(symbol width) + 1.5(margin) */
|
|
width: 4.65em;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-widest {
|
|
/* 3(symbol width) + 2(margin) */
|
|
width: 5.6em;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-contain {
|
|
background-size: contain;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-largeLayout {
|
|
height: 3.7em;
|
|
width: 4.65em;
|
|
}
|
|
|
|
.ve-ui-mwLatexPage-symbol-largeLayout.ve-ui-mwLatexPage-symbol-wide {
|
|
/* 5(symbol width) + 4(margin) */
|
|
width: 9.4em;
|
|
}
|