Skip to content

Commit

Permalink
fix table visuals in dark skin
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Feb 8, 2017
1 parent d7bc47c commit caa30a7
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions src/skins/vector/css/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

pre code {
filter: none;
}

table {
tr {
background-color: #000000;
}

tr:nth-child(2n) {
background-color: #080808;
}
}
}

.mx_EventTile_content .markdown-body pre code {
filter: none;
}

0 comments on commit caa30a7

Please sign in to comment.