From 5206d48ec5da8bcddb539f3fdab91bfee56d13d0 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 24 Aug 2017 12:38:09 -0500 Subject: [PATCH] Fade table border color Bug: T168029 Change-Id: I6770c50675708f94cde6f8dee8164ba1a0ec612e --- resources/skins.minerva.content.styles/tables.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/skins.minerva.content.styles/tables.less b/resources/skins.minerva.content.styles/tables.less index 1fc8ab0..be4f454 100644 --- a/resources/skins.minerva.content.styles/tables.less +++ b/resources/skins.minerva.content.styles/tables.less @@ -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; }