Exclude cards from default link styling

refs https://github.com/TryGhost/Team/issues/1227
This commit is contained in:
Sodbileg Gansukh 2021-11-17 14:15:29 +08:00
parent 8feb988375
commit 6107a411a1
3 changed files with 5 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

@ -995,7 +995,7 @@ is the very first element in the post content */
} }
/* Now the content typography styles */ /* Now the content typography styles */
.gh-content a { .gh-content a:not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card) {
color: var(--ghost-accent-color); color: var(--ghost-accent-color);
text-decoration: underline; text-decoration: underline;
word-break: break-word; word-break: break-word;
@ -1927,7 +1927,7 @@ html.dark-mode .gh-content :not(pre) > code {
color: var(--color-wash); color: var(--color-wash);
} }
html.dark-mode .gh-content a { html.dark-mode .gh-content a:not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card) {
color: #fff; color: #fff;
box-shadow: inset 0 -1px 0 #fff; box-shadow: inset 0 -1px 0 #fff;
} }
@ -2084,7 +2084,7 @@ html.dark-mode .site-archive-header .no-image {
color: var(--color-wash); color: var(--color-wash);
} }
html.auto-color .gh-content a { html.auto-color .gh-content a:not(.kg-bookmark-container):not(.kg-btn):not(.kg-nft-card) {
color: #fff; color: #fff;
box-shadow: inset 0 -1px 0 #fff; box-shadow: inset 0 -1px 0 #fff;
} }