Fade table border color

Bug: T168029
Change-Id: I6770c50675708f94cde6f8dee8164ba1a0ec612e
This commit is contained in:
jdlrobson 2017-08-24 12:38:09 -05:00
parent e89579d201
commit 5206d48ec5
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@
// Compare with mediawiki.legacy/shared.css
&.wikitable {
border: 1px solid @grayLight;
// Note older browsers will fall back to @grayLight
border-color: fade( @grayLight, 20 );
// We only style cells that are direct children of the wikitable table since
// table tags may be used for non-table purposes within the cells.
@ -31,6 +33,8 @@
> * > tr > th,
> * > tr > td {
border: 1px solid @grayLight;
// Note older browsers will fall back to @grayLight
border-color: fade( @grayLight, 20 );
padding: 0.2em;
}