Compare commits

...

3 Commits

Author SHA1 Message Date
7e9cf5c478 v4.6.1 2021-12-16 09:46:13 +01:00
0f9a3c79c1 Fix list layout style on medium screen size 2021-12-16 12:53:45 +08:00
8ff91f709e Updated callout emoji line-height 2021-12-15 15:00:52 +01:00
4 changed files with 34 additions and 18 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

@ -556,6 +556,12 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
word-break: break-word;
}
@media (max-width: 700px) {
.post-card {
min-height: auto;
}
}
.post-card-image-link {
position: relative;
display: block;
@ -750,6 +756,30 @@ make sure this only happens on large viewports / desktop-ish devices.
*/
@media (min-width: 701px) {
.post-feed.list .post-card-large {
grid-column: 1 / span 3;
display: grid;
grid-gap: 4vmin;
grid-template-columns: 3fr 5fr;
min-height: auto;
border-top: 0;
}
.post-feed.list .post-card-large.no-image {
grid-template-columns: 1fr;
}
.post-feed.list .post-card-large:not(.no-image) .post-card-header {
margin-top: 0;
}
.post-feed.list .post-card-large .post-card-content {
justify-content: flex-start;
margin-top: -6px;
}
}
@media (min-width: 1001px) {
.post-card-large {
grid-column: 1 / span 3;
@ -760,15 +790,6 @@ make sure this only happens on large viewports / desktop-ish devices.
border-top: 0;
}
.post-feed.list .post-card-large {
grid-template-columns: 3fr 5fr;
min-height: auto;
}
.post-feed.list .post-card-large.no-image {
grid-template-columns: 1fr;
}
.post-card-large:not(.no-image) .post-card-header {
margin-top: 0;
}
@ -802,11 +823,6 @@ make sure this only happens on large viewports / desktop-ish devices.
justify-content: center;
}
.post-feed.list .post-card-large .post-card-content {
justify-content: flex-start;
margin-top: -6px;
}
.post-card-large .post-card-title {
margin-top: 0;
font-size: 3.2rem;
@ -1031,7 +1047,7 @@ is the very first element in the post content */
.gh-content .kg-callout-card .kg-callout-emoji {
font-size: 2.1rem;
line-height: 1.7em;
line-height: 1.4em;
}
.gh-content .kg-toggle-card .kg-toggle-heading-text {

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": "4.6.0",
"version": "4.6.1",
"engines": {
"ghost": ">=4.0.0",
"ghost-api": "v4"