mediawiki-extensions-Visual.../modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector.css
Bartosz Dziewoński 3866ad7f77 Update toolbar styles for Vector changes
Depends-On: I52938689fc7d99a710510349aaa573a87864a367
Bug: T251648
Change-Id: Ica07cf1dab2cf522532a08fadec599bd2fcade5c
2020-05-08 16:23:57 +02:00

24 lines
783 B
CSS

/*!
* VisualEditor MediaWiki DesktopArticleTarget Vector skin init styles.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-init-mw-desktopArticleTarget-toolbar,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
font-size: 0.875em;
/* 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 ) {
/* stylelint-disable selector-class-pattern */
.skin-vector-legacy .ve-init-mw-desktopArticleTarget-toolbar,
.skin-vector-legacy .ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
/* 1.25/0.875, 1.5/0.875 */
margin: -1.43em -1.71em 1.43em -1.71em;
}
}