mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-14 09:46:05 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
1bf2cdb52a | |||
f67caaba5c | |||
25d1e368d6 | |||
5c6cce1519 |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1819,51 +1819,50 @@ Usage (In Ghost editor):
|
|||||||
/* 7.6. Koenig Styles
|
/* 7.6. Koenig Styles
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
|
.post-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
max-width: 920px;
|
||||||
|
}
|
||||||
|
|
||||||
/* For Ghost 1.0 */
|
/* For Ghost 1.0 */
|
||||||
.kg-card-markdown {
|
.kg-card-markdown {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
max-width: 920px;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-template .kg-card-markdown > p:first-child {
|
.post-template .kg-card-markdown > p:first-child {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
/* ^ .kg-card-markdown will be deprecated */
|
/* ^ .kg-card-markdown will be will disappear in Ghost 2.0 */
|
||||||
|
|
||||||
|
.post-template .post-content > p:first-child {
|
||||||
.post-template .kg-post > p:first-child {
|
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-post {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
max-width: 920px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-full-content .kg-image {
|
.post-full-content .kg-image {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Preventing full-width image overlap with post image. */
|
/* Preventing full-width image overlap with post image. */
|
||||||
.post-full-image + .post-full-content .kg-post *:first-child .kg-image {
|
.post-full-image + .post-full-content .kg-content *:first-child .kg-image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content .kg-image-wide {
|
.post-full-content .kg-width-wide .kg-image {
|
||||||
max-width: 1040px;
|
max-width: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content .kg-image-full {
|
.post-full-content .kg-width-full .kg-image {
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-post figcaption {
|
.post-content figcaption {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -1900,7 +1899,7 @@ Usage (In Ghost editor):
|
|||||||
|
|
||||||
|
|
||||||
@media (max-width: 1040px) {
|
@media (max-width: 1040px) {
|
||||||
.post-full-content .kg-image-full {
|
.post-full-content .kg-width-full .kg-image {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.3",
|
"version": "2.4.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=1.2.0"
|
"ghost": ">=1.2.0"
|
||||||
},
|
},
|
||||||
|
4
post.hbs
4
post.hbs
@ -33,7 +33,9 @@ into the {body} of the default.hbs template --}}
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<section class="post-full-content">
|
<section class="post-full-content">
|
||||||
{{content}}
|
<div class="post-content">
|
||||||
|
{{content}}
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{!-- Email subscribe form at the bottom of the page --}}
|
{{!-- Email subscribe form at the bottom of the page --}}
|
||||||
|
Reference in New Issue
Block a user