| 1 |
/*! |
| 2 |
* VisualEditor MediaWiki DesktopArticleTarget Vector (2022) skin init styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
|
| 8 |
.ve-init-mw-desktopArticleTarget-toolbar, |
| 9 |
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder, |
| 10 |
.ve-ui-overlay-local, |
| 11 |
.ve-ui-overlay-global { |
| 12 |
font-size: 0.875rem; |
| 13 |
} |
| 14 |
|
| 15 |
// Change the default shadow to not leak out from the sides |
| 16 |
// (on other skins and in TargetWidgets there are borders that cover it) |
| 17 |
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar, |
| 18 |
.ve-init-mw-desktopArticleTarget-toolbar.ve-ui-toolbar > .oo-ui-toolbar-bar { |
| 19 |
box-shadow: 0 2px 1px -1px rgba( 0, 0, 0, 0.1 ); |
| 20 |
} |
| 21 |
|
| 22 |
// Account for the use of CSS Grid in Vector 2022 |
| 23 |
// for the 2017 Wikitext editor preview. |
| 24 |
// The grid is defined with named grid areas on .mw-body. |
| 25 |
.ve-ui-mwSaveDialog-preview { |
| 26 |
.mw-body { |
| 27 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 28 |
.firstHeading { |
| 29 |
grid-area: titlebar; |
| 30 |
} |
| 31 |
|
| 32 |
.mw-body-content { |
| 33 |
grid-area: content; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
.mw-content-container { |
| 38 |
// Content container has a max-width of 60em * 16px = 960px |
| 39 |
max-width: 960px; |
| 40 |
margin: 0 auto; |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface > .ve-ce-surface .ve-ce-attachedRootNode { |
| 45 |
min-height: 15em; |
| 46 |
} |