Reduce specificity of wikitable overrides

Bug: T205945
Change-Id: I88d5b9699661005144f3eebc804438afaae373aa
This commit is contained in:
Ed Sanders 2018-10-11 14:38:07 +01:00
parent e8d4220799
commit 59c45c2b6d
1 changed files with 28 additions and 26 deletions

View File

@ -33,10 +33,14 @@
caption { caption {
text-align: left; text-align: left;
} }
}
}
// For skinning normal data tables // For skinning normal data tables
// Compare with mediawiki.legacy/shared.css // Compare with mediawiki.legacy/shared.css
&.wikitable { // Move out of .content selector to avoid increased
// specificty conflicts e.g. with tablesorter (T205945)
table.wikitable {
border: 1px solid @colorGray5; border: 1px solid @colorGray5;
// Note older browsers will fall back to @grayLight // Note older browsers will fall back to @grayLight
border-color: fade( @colorGray5, 30 ); border-color: fade( @colorGray5, 30 );
@ -58,6 +62,4 @@
> * > tr > th { > * > tr > th {
background-color: @grayLightest; background-color: @grayLightest;
} }
}
}
} }