mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
9bf010c33c
* Use more specific ve-init-mw-desktopArticleTarget class * Add comments and reorder in places Change-Id: Ic9291d3e50304fe3a0efa7ace1ce93c7fba91d98
65 lines
1.8 KiB
CSS
65 lines
1.8 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization DesktopArticleTarget Monobook skin high-definition styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-overlay-global {
|
|
/* Enforce different font-size for all UI elements of VisualEditor */
|
|
font-size: 1.28em; /* 0.8em / x-small */
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget {
|
|
/* Enforce different font-size for all UI elements of VisualEditor. The difference is tiny, but
|
|
enough to make the icon containers 23.813px rather than 24px and thus the icons blurry */
|
|
font-size: 1.00787401575em; /* 0.8em / x-small / 127% */
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget .mw-body-content,
|
|
.ve-ui-overlay-global .mw-body-content {
|
|
/* Match skin's font-size for the surface content */
|
|
font-size: 0.992187499998em; /* 1/1.00787401575 */
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar {
|
|
/* 0.6/0.8, 0.8/0.8, 1/0.6 */
|
|
margin: -0.75em -1em 1.25em -1em;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar > .oo-ui-toolbar-bar {
|
|
top: -3px;
|
|
}
|
|
|
|
/* Main document debug bar */
|
|
.ve-init-mw-desktopArticleTarget > .ve-ui-debugBar {
|
|
border-top: 1px solid #ccc;
|
|
/* 0.8/0.8 */
|
|
padding: 1em;
|
|
margin: 1em -1em -1em -1em;
|
|
}
|
|
|
|
.ve-init-mw-target-surface .ve-ce-documentNode,
|
|
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
|
|
padding: 0;
|
|
}
|
|
|
|
.mw-body .ve-init-mw-target-surface .ve-ui-surface-placeholder > * {
|
|
/* Fix margin overlap */
|
|
margin-top: 0;
|
|
/* Placeholder doesn't need a border as well */
|
|
border: 0;
|
|
}
|
|
|
|
.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-overlay-global {
|
|
/* So that the overlay always appears over the site logo, search box and personal tools */
|
|
z-index: 4;
|
|
}
|