Fix author avatar in dark mode

This commit is contained in:
Sodbileg Gansukh 2022-05-27 15:01:51 +08:00
parent 9ebb26559a
commit c75b67cf5d
3 changed files with 29 additions and 2 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

@ -1423,6 +1423,7 @@ iframe.instagram-media + script + :not([id]) {
margin: 0 0 6px; margin: 0 0 6px;
font-size: 1.7rem; font-size: 1.7rem;
font-weight: 700; font-weight: 700;
letter-spacing: 0;
} }
.article-byline-meta .bull { .article-byline-meta .bull {
@ -1818,6 +1819,19 @@ html.dark-mode .post-full-image {
background-color: color-mod(var(--color-darkmode) l(+8%)); background-color: color-mod(var(--color-darkmode) l(+8%));
} }
html.dark-mode .author-avatar {
border-color: var(--color-darkmode);
background-color: color-mod(var(--color-darkmode) l(+8%));
}
html.dark-mode .author-profile-image {
opacity: 1;
}
html.dark-mode .author-profile-image path {
fill: var(--color-darkmode);
}
html.dark-mode .article-byline-meta .author-name a { html.dark-mode .article-byline-meta .author-name a {
color: #fff; color: #fff;
} }
@ -1977,6 +1991,19 @@ html.dark-mode .footer-cta-title {
background-color: color-mod(var(--color-darkmode) l(+8%)); background-color: color-mod(var(--color-darkmode) l(+8%));
} }
html.auto-color .author-avatar {
border-color: var(--color-darkmode);
background-color: color-mod(var(--color-darkmode) l(+8%));
}
html.auto-color .author-profile-image {
opacity: 1;
}
html.auto-color .author-profile-image path {
fill: var(--color-darkmode);
}
html.auto-color .article-byline-meta .author-name a { html.auto-color .article-byline-meta .author-name a {
color: #fff; color: #fff;
} }