mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
5461c56380
Change-Id: Ia41a08424f840d353eb7fc213815f7992da4a2ef
39 lines
1 KiB
CSS
39 lines
1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Monobook skin styles.
|
|
*
|
|
* @copyright 2011-2019 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 */
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
|
.mw-body a.external.ve-ce-linkAnnotation.ve-ce-annotation-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 */
|
|
}
|