Compare commits

...

6 Commits
2.6.0 ... 2.6.3

Author SHA1 Message Date
8a9efb5ef1 Upgrading Casper to 2.6.3 2018-09-25 11:32:08 +07:00
04854967a8 Adjusting spaces for galleries and wide images in a sequence (#480) 2018-09-24 14:35:47 +02:00
fa18115aa6 Upgrading Casper to 2.6.2 2018-09-11 13:42:34 +02:00
ae192a9fff 🐛 Fixed word-wrap for extra long anchor links text (#478)
refs #466

Anchor links didn't break, when the text was too long. Using `word-break: break-all` specifically on a-tags in post-content fixes this without screwing up other tags and their breaks.
2018-09-07 14:45:18 +02:00
78993720fd Upgrading Casper to 2.6.1 2018-08-31 11:26:01 +01:00
676e17bd13 Restructure spacings for generic figure element 2018-08-31 11:24:50 +01:00
4 changed files with 25 additions and 24 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

@ -815,6 +815,7 @@ The first (most recent) post in the list is styled to be bigger than the others
.post-full-content a { .post-full-content a {
color: #000; color: #000;
word-break: break-word;
box-shadow: var(--blue) 0 -1px 0 inset; box-shadow: var(--blue) 0 -1px 0 inset;
} }
@ -882,8 +883,9 @@ Usage (In Ghost editor):
} }
/* Override third party iframe styles */
.post-full-content iframe { .post-full-content iframe {
margin: 0 auto; margin: 0 auto !important;
} }
.post-full-content blockquote { .post-full-content blockquote {
@ -1849,44 +1851,37 @@ Usage (In Ghost editor):
max-width: 100vw; max-width: 100vw;
} }
.post-content figcaption { .post-full-content figure {
margin: 1.5em 0 3em;
}
.post-full-content figure img {
margin: 0;
}
.post-full-content figcaption {
margin: 1.0em 0 0;
font-size: 80%; font-size: 80%;
line-height: 1.6em; line-height: 1.6em;
text-align: center; text-align: center;
} }
.kg-image-card, .kg-width-full figcaption {
.kg-gallery-card { padding: 0 1.5em;
margin: 0 0 1.5em;
}
.kg-image-card figcaption,
.kg-gallery-card figcaption {
margin: -1.0em 0 1.5em;
} }
.kg-embed-card { .kg-embed-card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin: 1.5em 0 3em;
min-width: 100%; min-width: 100%;
} }
.kg-embed-card figcaption {
margin: 0.5em 0 0;
}
.kg-embed-card .fluid-width-video-wrapper { .kg-embed-card .fluid-width-video-wrapper {
margin: 0; margin: 0;
} }
.kg-image-full + figcaption {
padding: 0 1.5em;
}
@media (max-width: 1040px) { @media (max-width: 1040px) {
.post-full-content .kg-width-full .kg-image { .post-full-content .kg-width-full .kg-image {
width: 100vw; width: 100vw;
@ -1896,7 +1891,6 @@ Usage (In Ghost editor):
.kg-gallery-container { .kg-gallery-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 1.5em auto;
max-width: 1040px; max-width: 1040px;
width: 100vw; width: 100vw;
} }
@ -1922,6 +1916,13 @@ Usage (In Ghost editor):
margin: 0 0 0 0.75em; margin: 0 0 0 0.75em;
} }
.kg-gallery-card + .kg-image-card.kg-width-wide,
.kg-gallery-card + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
margin: -2.25em 0 3em;
}
/* 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.6.0", "version": "2.6.3",
"engines": { "engines": {
"ghost": ">=2.0.0" "ghost": ">=2.0.0"
}, },