mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-12 16:56:06 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
c378e9a9c9 | |||
db98015d41 | |||
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;
|
||||
}
|
||||
|
||||
@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 {
|
||||
@ -1173,6 +1189,14 @@ except for when immediately preceeded by a heading */
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
.kg-header-card h2.kg-header-card-header {
|
||||
color: color-mod(var(--color-darkgrey) l(-5%));
|
||||
}
|
||||
|
||||
.has-serif-title .kg-header-card h2.kg-header-card-header {
|
||||
font-family: var(--font-serif);
|
||||
}
|
||||
|
||||
|
||||
/* Captions */
|
||||
figcaption {
|
||||
@ -1832,7 +1856,7 @@ html.dark-mode .gh-content :not(pre) > code {
|
||||
color: var(--color-wash);
|
||||
}
|
||||
|
||||
html.dark-mode .gh-content a:not(.kg-btn):not(.kg-nft-card-container) {
|
||||
html.dark-mode .gh-content a:not(.kg-btn):not(.kg-nft-card-container):not(.kg-product-card-button):not(.kg-header-card-button) {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@ -1889,6 +1913,19 @@ html.dark-mode .site-archive-header .no-image {
|
||||
background: var(--color-darkmode);
|
||||
}
|
||||
|
||||
html.dark-mode .kg-header-card.kg-style-dark {
|
||||
background: color-mod(var(--color-darkgrey) l(-5%));
|
||||
}
|
||||
|
||||
html.dark-mode .kg-header-card.kg-style-light {
|
||||
background: color-mod(var(--color-darkgrey) l(+5%));
|
||||
}
|
||||
|
||||
html.dark-mode .kg-header-card h2.kg-header-card-header,
|
||||
html.dark-mode .kg-header-card h3.kg-header-card-subheader {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html.auto-color body {
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
@ -1970,7 +2007,7 @@ html.dark-mode .site-archive-header .no-image {
|
||||
color: var(--color-wash);
|
||||
}
|
||||
|
||||
html.auto-color .gh-content a:not(.kg-btn):not(.kg-nft-card-container) {
|
||||
html.auto-color .gh-content a:not(.kg-btn):not(.kg-nft-card-container):not(.kg-product-card-button):not(.kg-header-card-button) {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@ -2026,6 +2063,19 @@ html.dark-mode .site-archive-header .no-image {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
background: var(--color-darkmode);
|
||||
}
|
||||
|
||||
html.auto-color .kg-header-card.kg-style-dark {
|
||||
background: color-mod(var(--color-darkgrey) l(-5%));
|
||||
}
|
||||
|
||||
html.auto-color .kg-header-card.kg-style-light {
|
||||
background: color-mod(var(--color-darkgrey) l(+5%));
|
||||
}
|
||||
|
||||
html.auto-color .kg-header-card h2.kg-header-card-header,
|
||||
html.auto-color .kg-header-card h3.kg-header-card-subheader {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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.7.0",
|
||||
"engines": {
|
||||
"ghost": ">=4.0.0",
|
||||
"ghost-api": "v4"
|
||||
|
Reference in New Issue
Block a user