mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
5a8106773c
Bug: T150709 Change-Id: I1002b97060d642df0988da15860a36c13712bade
46 lines
1.1 KiB
CSS
46 lines
1.1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar,
|
|
.ve-init-mw-desktopArticleTarget > .ve-ui-debugBar,
|
|
.ve-ui-overlay-global {
|
|
/* Enforce different font-size for all UI elements of VisualEditor */
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
/* Fix font styles for overlays inside mw-body-content */
|
|
.mw-body-content .ve-ui-overlay,
|
|
.mw-body-content .ve-ui-debugBar {
|
|
font-size: 0.914286em; /* 0.8/0.875 */
|
|
line-height: normal;
|
|
}
|
|
|
|
/* Slug animation needs more specific rules and skin-specific target margins */
|
|
.mw-body p.ve-ce-branchNode-newSlug {
|
|
margin: -0.3em 0 -0.1em 0;
|
|
}
|
|
|
|
.mw-body p.ve-ce-branchNode-newSlug-open {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.mw-body .external.ve-ce-linkAnnotation-active {
|
|
/* Reset -2px from VE-core */
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ve-ui-surface-placeholder {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.ve-ui-init-desktopArticleTarget-sectionTitle {
|
|
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
|
|
line-height: 1.3;
|
|
font-size: 1.5em;
|
|
border-bottom: 1px solid #aaa;
|
|
}
|