mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css
Ed Sanders fecdc29a38 Replace ve-init-mw-desktopArticleTarget-* with ve-init-mw-target-*
Except in cases where it is only applied to desktop articles.

Change-Id: I40a9dabcd8454138f94affde809afee9c93732a4
2015-07-29 18:26:36 +01:00

57 lines
1.5 KiB
CSS

/*!
* VisualEditor MediaWiki Initialization DesktopArticleTarget Monobook skin high-definition styles.
*
* @copyright 2011-2015 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-target {
/* 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-target .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-target-toolbar {
/* 0.6/0.8, 0.8/0.8, 1/0.6 */
margin: -0.75em -1em 1.25em -1em;
}
.ve-init-mw-target-toolbar > .oo-ui-toolbar-bar {
top: -3px;
}
.ve-init-target > .ve-ui-debugBar {
border-top: 1px solid #ccc;
}
.ve-init-mw-target-surface .ve-ce-documentNode,
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
padding: 0;
}
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
margin-top: -0.45em;
}
.ve-init-target > .ve-ui-debugBar {
/* 0.8/0.8 */
padding: 1em;
margin: 1em -1em -1em -1em;
}
.ve-ui-overlay-global {
/* So that the overlay always appears over the site logo, search box and personal tools */
z-index: 4;
}