From d575e3878acb80610f565183113b6631fa24e09e Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Thu, 15 Jun 2017 16:05:39 +0300 Subject: [PATCH] Optimization: move styles specific to redirect pages out of common.less HT MatmaRex Change-Id: I6169692547378379dbc935976ad83cf4f366eeeb --- components/common.less | 8 -------- skin.json | 1 + skinStyles/mediawiki.action.view.redirectPage.less | 7 +++++++ 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 skinStyles/mediawiki.action.view.redirectPage.less diff --git a/components/common.less b/components/common.less index 0c00963ff..6b8af940e 100644 --- a/components/common.less +++ b/components/common.less @@ -165,11 +165,3 @@ pre, #siteNotice { font-size: 0.8em; } - -.redirectText { - font-size: 140%; -} - -.redirectMsg p { - margin: 0; -} diff --git a/skin.json b/skin.json index 1802f0a0d..6eba1ab2c 100644 --- a/skin.json +++ b/skin.json @@ -85,6 +85,7 @@ "jquery.ui.spinner": "skinStyles/jquery.ui/jquery.ui.spinner.css", "jquery.ui.tabs": "skinStyles/jquery.ui/jquery.ui.tabs.css", "jquery.ui.tooltips": "skinStyles/jquery.ui/jquery.ui.tooltips.css", + "+mediawiki.action.view.redirectPage": "skinStyles/mediawiki.action.view.redirectPage.less", "+mediawiki.notification": "skinStyles/mediawiki.notification.less", "+oojs-ui-core.styles": "skinStyles/ooui.less", "mediawiki.special": "skinStyles/mediawiki.special.less", diff --git a/skinStyles/mediawiki.action.view.redirectPage.less b/skinStyles/mediawiki.action.view.redirectPage.less new file mode 100644 index 000000000..21c76bde9 --- /dev/null +++ b/skinStyles/mediawiki.action.view.redirectPage.less @@ -0,0 +1,7 @@ +.redirectText { + font-size: 140%; +} + +.redirectMsg p { + margin: 0; +}