mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-17 20:52:14 +00:00
e4a4050b81
Moving styles from the existing styles to common/layout or components stylesheets they should be associated with. Components are identified using PascalCase. Lowercase names are used for things that are not components. This distinction should help us reason with the code better and make it clearer where CSS belongs, saving us lots of wasted effort discussing conventions. Patch isn't making actual CSS changes themselves - for testing purposes this should be a NOOP. In preparation for the gradient removal, 'background-gradient.less' is marked as legacy. Merged 'externalLinks.less' into content.less, they belong to content. Bug: T249073 Change-Id: I8dbc29b7a19f7613b57b0984a8befaeae9c08798
21 lines
524 B
Plaintext
21 lines
524 B
Plaintext
// 'background-gradient.less' will be removed and its rules moved to
|
|
// legacy/layout.less as soon as new header is in place.
|
|
|
|
@import '../../../variables.less';
|
|
|
|
body {
|
|
background-color: @background-color-secondary;
|
|
}
|
|
|
|
/* Head */
|
|
#mw-page-base {
|
|
background-position: bottom left;
|
|
.vertical-gradient( @background-color-base, @background-color-secondary, 50%, 100% );
|
|
}
|
|
|
|
.mw-body {
|
|
/* Border on top, left, and bottom side */
|
|
border: @border-width-base @border-style-base @border-color-content;
|
|
border-right-width: 0;
|
|
}
|