Compare commits

...

7 Commits
2.3.0 ... 2.3.3

4 changed files with 41 additions and 22 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

@ -462,8 +462,11 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
padding: 0 25px 25px; padding: 0 25px 25px;
} }
.author-profile-image { .author-profile-image,
.avatar-wrapper {
display: block; display: block;
width: 100%;
height: 100%;
background: color(var(--lightgrey) l(+10%)); background: color(var(--lightgrey) l(+10%));
border-radius: 100%; border-radius: 100%;
@ -874,6 +877,7 @@ Usage (In Ghost editor):
display: block; display: block;
margin-top: -3em; margin-top: -3em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
text-align: center;
} }
@ -1271,7 +1275,8 @@ Usage (In Ghost editor):
display: flex; display: flex;
} }
.author-card .author-profile-image { .author-card .author-profile-image,
.author-card .avatar-wrapper {
margin-right: 15px; margin-right: 15px;
width: 60px; width: 60px;
height: 60px; height: 60px;
@ -1858,34 +1863,48 @@ Usage (In Ghost editor):
max-width: 100vw; max-width: 100vw;
} }
.kg-image-card figcaption { .kg-post figcaption {
font-size: 80%; font-size: 80%;
margin: -1.5em auto 3em; line-height: 1.6em;
text-align: center;
} }
.post-full-content .kg-image-full + figcaption { .kg-image-card {
max-width: 840px; margin: 0 0 1.5em;
} }
.kg-image-card figcaption {
margin: -1.0em 0 1.5em;
}
.kg-embed-card {
display: flex;
flex-direction: column;
align-items: center;
margin: 1.5em 0 3em;
min-width: 100%;
}
.kg-embed-card figcaption {
margin: 0.5em 0 0;
}
.kg-embed-card .fluid-width-video-wrapper {
margin: 0;
}
.kg-image-full + figcaption {
padding: 0 1.5em;
}
@media (max-width: 1040px) { @media (max-width: 1040px) {
.post-full-content .kg-image-full { .post-full-content .kg-image-full {
width: 100vw; width: 100vw;
} }
} }
@media (max-width: 1170px) {
.post-full-content .kg-image-full + figcaption {
padding: 0 11vw;
max-width: 100vw;
}
}
@media (max-width: 500px) {
.post-full-content .kg-image-full + figcaption {
padding: 0 4vw;
}
}
/* 8. Author Template /* 8. Author Template
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */

View File

@ -2,7 +2,7 @@
"name": "casper", "name": "casper",
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.", "description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
"demo": "https://demo.ghost.io", "demo": "https://demo.ghost.io",
"version": "2.3.0", "version": "2.3.3",
"engines": { "engines": {
"ghost": ">=1.2.0" "ghost": ">=1.2.0"
}, },