mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-22 13:46:06 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7e9cf5c478 | |||
0f9a3c79c1 | |||
8ff91f709e |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -556,6 +556,12 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
|
|||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.post-card {
|
||||||
|
min-height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.post-card-image-link {
|
.post-card-image-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
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) {
|
@media (min-width: 1001px) {
|
||||||
.post-card-large {
|
.post-card-large {
|
||||||
grid-column: 1 / span 3;
|
grid-column: 1 / span 3;
|
||||||
@ -760,15 +790,6 @@ make sure this only happens on large viewports / desktop-ish devices.
|
|||||||
border-top: 0;
|
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 {
|
.post-card-large:not(.no-image) .post-card-header {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
@ -802,11 +823,6 @@ make sure this only happens on large viewports / desktop-ish devices.
|
|||||||
justify-content: center;
|
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 {
|
.post-card-large .post-card-title {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
font-size: 3.2rem;
|
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 {
|
.gh-content .kg-callout-card .kg-callout-emoji {
|
||||||
font-size: 2.1rem;
|
font-size: 2.1rem;
|
||||||
line-height: 1.7em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-content .kg-toggle-card .kg-toggle-heading-text {
|
.gh-content .kg-toggle-card .kg-toggle-heading-text {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "casper",
|
"name": "casper",
|
||||||
"description": "A clean, minimal default theme for the Ghost publishing platform",
|
"description": "A clean, minimal default theme for the Ghost publishing platform",
|
||||||
"demo": "https://demo.ghost.io",
|
"demo": "https://demo.ghost.io",
|
||||||
"version": "4.6.0",
|
"version": "4.6.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=4.0.0",
|
"ghost": ">=4.0.0",
|
||||||
"ghost-api": "v4"
|
"ghost-api": "v4"
|
||||||
|
Reference in New Issue
Block a user