mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-19 01:31:06 +00:00
d88fd9b6a8
With related changes to the DOM in the new Vector skin, most skin styles are no longer necessary for Vector 2022. This patch also fixes an issue with the font-size of the toolbar when $wgVectorTitleAboveTabs = true. Bug: T310197 Depends-On: Idae6755c90eacaab1a9daa88c6e28850d427810c Change-Id: I6776f08b24f83cf4daeef70bfdeb73dfeafc785a
25 lines
697 B
Plaintext
25 lines
697 B
Plaintext
/*!
|
|
* 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 ) {
|
|
/* 1.25/0.875, 1.5/0.875 */
|
|
margin: -1.43em -1.71em 1.43em -1.71em;
|
|
}
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|