Dark mode table style fix (#641)

refs. https://github.com/TryGhost/Casper/issues/637

- fixed styles for tables in dark mode
This commit is contained in:
Peter Zimon 2019-10-29 16:27:40 +01:00 committed by GitHub
parent 6d56e5866e
commit 68b0270ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2916,6 +2916,24 @@ Usage (In Ghost editor):
box-shadow: 0 0 1px rgba(255,255,255,0.9);
}
.post-full-content table td:first-child {
background-image: linear-gradient(to right, var(--darkmode) 50%, color(var(--darkmode) a(0%)) 100%);
}
.post-full-content table td:last-child {
background-image: linear-gradient(to left, var(--darkmode) 50%, color(var(--darkmode) a(0%)) 100%);
}
.post-full-content table th {
color: rgba(255, 255, 255, 0.85);
background-color: color(var(--darkmode) l(+8%));
}
.post-full-content table th,
.post-full-content table td {
border: color(var(--darkmode) l(+8%)) 1px solid;
}
.kg-bookmark-title {
color: #fff;
}