mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
3612914509
In HD mode, the left margin was 0.25em off. In narrow mode, the margins were completely wrong. Bug: 51000 Change-Id: I7fd9cbc925b828fd780adb9ab2c71bcf15dc7284
33 lines
826 B
CSS
33 lines
826 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget Vector skin styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-viewPageTarget-surface {
|
|
margin: 0.8em -1.5em 0 -1.5em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-surface .ve-ce-documentNode {
|
|
font-size: 0.8em;
|
|
padding: 0 1.875em; /* 1.5/0.8 */
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-surface .oo-ui-menuWidget {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar {
|
|
margin: -1.25em -1.5em 1.5em -1.5em;
|
|
-webkit-transition: margin 200ms ease-out;
|
|
-moz-transition: margin 200ms ease-out;
|
|
-o-transition: margin 200ms ease-out;
|
|
transition: margin 200ms ease-out;
|
|
position: relative;
|
|
}
|
|
|
|
.ve-ui-surface-overlay-global {
|
|
z-index: 101; /* #p-personal is z-index 100 in vector :( */
|
|
}
|