2018-11-06 16:28:41 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki DesktopArticleTarget Vector skin init styles.
|
|
|
|
*
|
2020-01-08 17:13:04 +00:00
|
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
2018-11-06 16:28:41 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2020-10-13 21:15:36 +00:00
|
|
|
// Local copy of Vector variables.
|
|
|
|
// Can be removed after I87c5502530cd0039b090fbd3cfa7615d6cd64b36 is merged.
|
|
|
|
@padding-top-content: 1.25em;
|
|
|
|
@padding-horizontal-content: 0.5em;
|
|
|
|
// End local copy of Vector variables.
|
|
|
|
|
|
|
|
@padding-top-toolbar: -@padding-top-content/0.875;
|
|
|
|
@padding-horizontal-toolbar: -@padding-horizontal-content/0.875;
|
|
|
|
|
2018-11-06 16:28:41 +00:00
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar,
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
|
|
font-size: 0.875em;
|
|
|
|
|
2020-10-13 21:15:36 +00:00
|
|
|
// New Vector
|
|
|
|
margin: @padding-top-toolbar @padding-horizontal-toolbar -@padding-top-toolbar @padding-horizontal-toolbar;
|
|
|
|
|
|
|
|
// Legacy Vector
|
|
|
|
.skin-vector-legacy & {
|
|
|
|
/* 1/0.875 */
|
|
|
|
margin: -1.14em -1.14em 1.14em -1.14em;
|
|
|
|
|
|
|
|
/* High-definition-specific styles (because Vector adds 1em to the leftNav if width is 982px+ */
|
|
|
|
@media screen and ( min-width: 982px ) {
|
2020-10-14 12:11:48 +00:00
|
|
|
/* 1.25/0.875, 1.5/0.875 */
|
|
|
|
margin: -1.43em -1.71em 1.43em -1.71em;
|
|
|
|
}
|
2018-11-06 16:28:41 +00:00
|
|
|
}
|
|
|
|
}
|
2022-01-24 23:35:50 +00:00
|
|
|
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|