mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css
Ed Sanders 9572bbe245 Fix font size in local overlays in monobook
Change-Id: I742c090d64af4e22004e921ab772550474125224
2017-09-21 15:46:26 +01:00

38 lines
974 B
CSS

/*!
* VisualEditor MediaWiki Initialization desktop target Monobook skin styles.
*
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/* Global overlay is outside the #globalWrapper so apply the font size fix */
.ve-ui-overlay-global {
font-size: 1.28em; /* 0.8em / x-small */
}
.mw-body a.external.ve-ce-linkAnnotation-active {
/* Reset -2px from VE-core */
margin-right: 0;
/* Monobook sets a background:url(); rule which overrides the colour. TODO: Fix upstream */
background-color: #e6f1ff;
}
.ve-ui-debugBar {
border-top: 1px solid #ccc;
}
.ve-ui-surface .ve-ui-surface-placeholder {
opacity: 1;
color: #72777d;
}
.ve-ui-overlay .mw-body-content {
/* Fix font-size for surfaces inside UI overlays */
font-size: 0.9921875em; /* 1/ ( 0.8em / x-small / 127% ) */
}
.ve-ui-overlay-local {
/* Fix font-size for overlays inside surfaces */
font-size: 1.007874em; /* 12.8/12.7 */
}