Browse Source

Dark mode table style fix (#641)

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

- fixed styles for tables in dark mode
master
Peter Zimon 8 months ago
committed by GitHub
parent
commit
68b0270ed5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions
  1. +1
    -1
      assets/built/screen.css
  2. +1
    -1
      assets/built/screen.css.map
  3. +18
    -0
      assets/css/screen.css

+ 1
- 1
assets/built/screen.css
File diff suppressed because it is too large
View File


+ 1
- 1
assets/built/screen.css.map
File diff suppressed because it is too large
View File


+ 18
- 0
assets/css/screen.css 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;
}


Loading…
Cancel
Save