From caa30a742bb49f63ecb6426e5ababb4d04342b57 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 8 Feb 2017 23:19:05 +0000 Subject: [PATCH] fix table visuals in dark skin --- src/skins/vector/css/themes/_dark.scss | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/src/skins/vector/css/themes/_dark.scss b/src/skins/vector/css/themes/_dark.scss index 54a117ea08..da6e3eaca3 100644 --- a/src/skins/vector/css/themes/_dark.scss +++ b/src/skins/vector/css/themes/_dark.scss @@ -117,11 +117,23 @@ $progressbar-color: #000; filter: invert(); } -.mx_EventTile_content .markdown-body pre, -.mx_EventTile_content .markdown-body code { - filter: invert(); -} +// markdown overrides: +.mx_EventTile_content .markdown-body { + pre, code { + filter: invert(); + } -.mx_EventTile_content .markdown-body pre code { - filter: none; -} \ No newline at end of file + pre code { + filter: none; + } + + table { + tr { + background-color: #000000; + } + + tr:nth-child(2n) { + background-color: #080808; + } + } +}