Add .mw-footer
CSS class & replace #footer
selector with it
`#footer` kept for backwards compatibility with user styles and gadgets. Bug: T248137 Change-Id: Ied8e79c5895f8fe383b1ca743a31890549cc8d86
This commit is contained in:
parent
6e981d4479
commit
1587cdfb60
3 changed files with 3 additions and 2 deletions
|
@ -589,6 +589,7 @@ class MonoBookTemplate extends BaseTemplate {
|
||||||
|
|
||||||
$html .= Html::openElement( 'div', [
|
$html .= Html::openElement( 'div', [
|
||||||
'id' => 'footer',
|
'id' => 'footer',
|
||||||
|
'class' => 'mw-footer',
|
||||||
'role' => 'contentinfo',
|
'role' => 'contentinfo',
|
||||||
'lang' => $this->get( 'userlang' ),
|
'lang' => $this->get( 'userlang' ),
|
||||||
'dir' => $this->get( 'dir' )
|
'dir' => $this->get( 'dir' )
|
||||||
|
|
|
@ -225,7 +225,7 @@ li#pt-anonuserpage {
|
||||||
/*
|
/*
|
||||||
** footer
|
** footer
|
||||||
*/
|
*/
|
||||||
#footer {
|
.mw-footer {
|
||||||
background-color: @content-background;
|
background-color: @content-background;
|
||||||
border-top: 1px solid @orange-border;
|
border-top: 1px solid @orange-border;
|
||||||
border-bottom: 1px solid @orange-border;
|
border-bottom: 1px solid @orange-border;
|
||||||
|
|
|
@ -241,7 +241,7 @@
|
||||||
/*
|
/*
|
||||||
** footer
|
** footer
|
||||||
*/
|
*/
|
||||||
#footer li {
|
.mw-footer li {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue