mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css
Ed Sanders 3c0ddc9c69 Cleanup DesktopTarget styles
* Ensure DAT styles are fully scoped to DAT instances
* Ensure that generic desktop target rules are in the correct file
* Remove old unused rules

Change-Id: I466a0547ff9a0fa1102aac0b1e501a6ba6863ca3
2017-03-01 12:38:51 +00:00

51 lines
1.5 KiB
CSS

/*!
* VisualEditor MediaWiki Initialization DesktopArticleTarget Monobook skin high-definition styles.
*
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-init-mw-desktopArticleTarget-toolbar {
/* 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% */
/* 1/ ( 0.8em / x-small / 127% ) */
margin: -0.9921875em;
margin-bottom: 0;
}
.ve-active .ve-init-mw-desktopArticleTarget-originalContent {
padding-top: 0.9921875em;
}
/* Main document debug bar */
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface > .ve-ui-debugBar {
/* 0.8/0.8 */
padding: 1em;
padding-bottom: 0;
margin: 1em -1em 0 -1em;
font-size: 1.007874em;
}
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface {
margin-bottom: -0.9921875em;
padding-bottom: 0.9921875em;
}
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ce-documentNode,
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ui-surface-placeholder {
padding: 0;
}
.mw-body .ve-init-mw-desktopArticleTarget .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;
}
.ve-ui-init-desktopArticleTarget-sectionTitle {
font-size: 150%;
border-bottom: 1px solid #aaa;
}