Card css specificity update

This commit is contained in:
Sodbileg Gansukh 2021-12-16 13:53:33 +08:00
parent fb1944664a
commit 205acb1dfb
4 changed files with 9 additions and 13 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; font-weight: 600;
} }
.gh-content a:not(.gh-post-upgrade-cta a):not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card-container):not(.kg-callout-card-accent a):not(.kg-product-card-button) { .gh-content a {
color: var(--ghost-accent-color); color: var(--ghost-accent-color);
text-decoration: underline; text-decoration: underline;
word-break: break-word; word-break: break-word;
@ -73,10 +73,10 @@ is the very first element in the post content */
.gh-content > ul, .gh-content > ul,
.gh-content > dl, .gh-content > dl,
.gh-content > p, .gh-content > p,
.gh-content .kg-callout-text, .gh-content .kg-callout-card .kg-callout-text,
.gh-content .kg-toggle-content > ol, .gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-content > ul, .gh-content .kg-toggle-card .kg-toggle-content > ul,
.gh-content .kg-toggle-content > p { .gh-content .kg-toggle-card .kg-toggle-content > p {
font-size: 1.5rem; font-size: 1.5rem;
} }

View File

@ -1,16 +1,12 @@
.kg-toggle-card .kg-toggle-heading-text { .kg-card.kg-toggle-card .kg-toggle-heading-text {
font-size: 1.8rem; font-size: 1.8rem;
font-weight: 700; font-weight: 700;
} }
.has-serif-title .kg-toggle-heading-text { .has-serif-title .kg-toggle-card .kg-toggle-heading-text {
font-family: var(--font-serif); font-family: var(--font-serif);
} }
.kg-toggle-content > * + * {
margin: 2.4rem 0 0;
}
.kg-callout-card-accent a { .kg-callout-card-accent a {
text-decoration: underline; text-decoration: underline;
} }