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;
// stylelint-enable value-list-comma-newline-after
color: @text-color;
margin: 0;
padding: 0;
direction: ltr; /* Needed for RTL flipping */
unicode-bidi: embed;
}

View file

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