Fix content style bugs

This commit is contained in:
Sodbileg Gansukh 2021-11-29 14:02:21 +08:00
parent 56ec28513d
commit dfecc39d14
4 changed files with 24 additions and 5 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

@ -63,7 +63,7 @@ is the very first element in the post content */
font-weight: 600;
}
.gh-content a:not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card-container) {
.gh-content a:not(.gh-post-upgrade-cta a):not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card-container) {
color: var(--ghost-accent-color);
text-decoration: underline;
word-break: break-word;
@ -73,7 +73,10 @@ is the very first element in the post content */
.gh-content > ul,
.gh-content > dl,
.gh-content > p,
.kg-callout-text {
.kg-callout-text,
.kg-toggle-content > ol,
.kg-toggle-content > ul,
.kg-toggle-content > p {
font-size: 1.5rem;
}
@ -82,7 +85,10 @@ is the very first element in the post content */
.has-serif-body .gh-content > ul,
.has-serif-body .gh-content > dl,
.has-serif-body .gh-content > p,
.has-serif-body .kg-callout-text {
.has-serif-body .kg-callout-text,
.has-serif-body .kg-toggle-content > ol,
.has-serif-body .kg-toggle-content > ul,
.has-serif-body .kg-toggle-content > p {
font-family: var(--font-serif);
}

View File

@ -1,3 +1,16 @@
.kg-toggle-heading-text {
font-size: 1.8rem;
font-weight: 700;
}
.has-serif-title .kg-toggle-heading-text {
font-family: var(--font-serif);
}
.kg-toggle-content > * + * {
margin: 2.4rem 0 0;
}
.kg-width-wide,
.kg-width-full {
margin-right: -30px;