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;
font-size: 1.7rem;
font-weight: 700;
letter-spacing: 0;
}
.article-byline-meta .bull {
@ -1818,6 +1819,19 @@ html.dark-mode .post-full-image {
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 {
color: #fff;
}
@ -1976,6 +1990,19 @@ html.dark-mode .footer-cta-title {
html.auto-color .post-full-image {
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 {
color: #fff;