Optimization: use skinStyles to load CSS specific to File: pages + rm unused #login-sectiontip rule
Change-Id: I281b61642588eb05b775314c9852847756cd36e0
This commit is contained in:
parent
0adeff1011
commit
1e500a5add
3 changed files with 23 additions and 27 deletions
|
@ -248,12 +248,6 @@ li#pt-anonuserpage {
|
|||
font-size: 85%;
|
||||
}
|
||||
|
||||
#login-sectiontip {
|
||||
font-size: 85%;
|
||||
line-height: 1.2;
|
||||
padding-top: 2em;
|
||||
}
|
||||
|
||||
/**
|
||||
* This was originally added by Gabriel Wicke in r3681 (committed on 25 May 2004)
|
||||
* with the commit message "tweaks to page history".
|
||||
|
@ -300,27 +294,6 @@ div.noarticletext {
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
div.multipageimagenavbox {
|
||||
border: solid 1px @content-border;
|
||||
padding: 4px;
|
||||
margin: 1em;
|
||||
background: @background;
|
||||
|
||||
div.thumb {
|
||||
border: 0;
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
table.multipageimage td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.templatesUsed {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
|
22
resources/skinStyles/mediawiki.action.view.filepage.less
Normal file
22
resources/skinStyles/mediawiki.action.view.filepage.less
Normal file
|
@ -0,0 +1,22 @@
|
|||
@import '../variables.less';
|
||||
|
||||
div.multipageimagenavbox {
|
||||
border: solid 1px @content-border;
|
||||
padding: 4px;
|
||||
margin: 1em;
|
||||
background: @background;
|
||||
|
||||
div.thumb {
|
||||
border: 0;
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
table.multipageimage td {
|
||||
text-align: center;
|
||||
}
|
|
@ -109,6 +109,7 @@
|
|||
"ResourceModuleSkinStyles": {
|
||||
"monobook": {
|
||||
"ext.echo.styles.badge": "resources/skinStyles/ext.echo.styles.badge.less",
|
||||
"+mediawiki.action.view.filepage": "resources/skinStyles/mediawiki.action.view.filepage.less",
|
||||
"+mediawiki.action.view.redirectPage": "resources/skinStyles/mediawiki.action.view.redirectPage.css",
|
||||
"+mediawiki.notification": "resources/skinStyles/mediawiki.notification.less",
|
||||
"+oojs-ui-core.styles": "resources/skinStyles/ooui.less",
|
||||
|
|
Loading…
Reference in a new issue