Use 'normalize' module from core's 'mediawiki.skinning'

Also removing covered styles from 'screen-common.less'.

Bug: T256520
Change-Id: I054c77bb5410e0c08bbdcf3b51f2d6fcc8a103f0
This commit is contained in:
Volker E 2020-07-06 21:58:15 -07:00
parent 030f6ed379
commit b87a5b66d2
2 changed files with 17 additions and 4 deletions

View file

@ -59,8 +59,6 @@ body {
@background url( images/headbg-gradient.svg ) 0 0 repeat-x; @background url( images/headbg-gradient.svg ) 0 0 repeat-x;
// stylelint-enable value-list-comma-newline-after // stylelint-enable value-list-comma-newline-after
color: @text-color; color: @text-color;
margin: 0;
padding: 0;
direction: ltr; /* Needed for RTL flipping */ direction: ltr; /* Needed for RTL flipping */
unicode-bidi: embed; unicode-bidi: embed;
} }

View file

@ -34,7 +34,14 @@
"ResourceModules": { "ResourceModules": {
"skins.monobook.styles": { "skins.monobook.styles": {
"class": "ResourceLoaderSkinModule", "class": "ResourceLoaderSkinModule",
"features": [ "elements", "content", "interface", "logo", "legacy" ], "features": [
"normalize",
"elements",
"content",
"interface",
"logo",
"legacy"
],
"styles": { "styles": {
"resources/screen-common.less": { "resources/screen-common.less": {
"media": "screen" "media": "screen"
@ -47,6 +54,7 @@
"skins.monobook.responsive": { "skins.monobook.responsive": {
"class": "ResourceLoaderSkinModule", "class": "ResourceLoaderSkinModule",
"features": [ "features": [
"normalize",
"elements", "elements",
"content", "content",
"interface", "interface",
@ -71,7 +79,14 @@
}, },
"skins.monobook.mobile": { "skins.monobook.mobile": {
"class": "ResourceLoaderSkinModule", "class": "ResourceLoaderSkinModule",
"features": [ "elements", "content", "interface", "logo", "legacy" ], "features": [
"normalize",
"elements",
"content",
"interface",
"logo",
"legacy"
],
"targets": [ "desktop", "mobile" ], "targets": [ "desktop", "mobile" ],
"scripts": [ "scripts": [
"resources/mobile.js" "resources/mobile.js"