Compare commits

...

4 Commits
3.0.1 ... 3.0.2

Author SHA1 Message Date
c82e1cb035 3.0.2 2019-10-30 11:07:59 +00:00
065849105b Author meta and bookmark style refinements
refs. https://github.com/TryGhost/Casper/pull/631
- refined colors of links and separator dots for various cases (light/dark mode/with and without header background image)
- fixed bookmark card hover style
- ran CSSComb
2019-10-30 11:35:29 +01:00
a1fc6090d2 Very small fix on author meta links color 2019-10-30 11:35:29 +01:00
68b0270ed5 Dark mode table style fix (#641)
refs. https://github.com/TryGhost/Casper/issues/637

- fixed styles for tables in dark mode
2019-10-29 16:27:40 +01:00
4 changed files with 39 additions and 6 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

@ -2374,10 +2374,14 @@ Usage (In Ghost editor):
}
.author-social-link a {
color: var(--darkgrey);
color: #fff;
font-weight: 600;
}
.no-image .author-social-link a {
color: var(--darkgrey);
}
.author-social-link a:hover {
opacity: 1;
}
@ -2398,10 +2402,16 @@ Usage (In Ghost editor):
content: "\2022";
display: inline-block;
margin: 0 12px;
color: var(--midgrey);
color: #fff;
opacity: 0.6;
}
.no-image .author-location + .author-stats:before,
.no-image .author-stats + .author-social-link:before,
.no-image .author-social-link + .author-social-link:before {
color: var(--midgrey);
}
@media (max-width: 500px) {
.author-header {
padding: 10px 0 0;
@ -2877,6 +2887,10 @@ Usage (In Ghost editor):
border-top-color: color(var(--darkmode) l(+4%));
}
.no-image .author-social-link a {
color: rgba(255, 255, 255, 0.75);
}
.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
@ -2911,7 +2925,26 @@ Usage (In Ghost editor):
color: rgba(255, 255, 255, 0.6);
}
.post-full-content .kg-bookmark-container {
.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;
}
.post-full-content .kg-bookmark-container,
.post-full-content .kg-bookmark-container:hover {
color: rgba(255, 255, 255, 0.75);
box-shadow: 0 0 1px rgba(255,255,255,0.9);
}

View File

@ -2,7 +2,7 @@
"name": "casper",
"description": "A clean, minimal default theme for the Ghost publishing platform",
"demo": "https://demo.ghost.io",
"version": "3.0.1",
"version": "3.0.2",
"engines": {
"ghost": ">=3.0.0",
"ghost-api": "v3"