_content/css: invert github css for dark theme
Fixes golang/go#56559. Change-Id: I3f8aa801ad3ef97686903dd1019f5df2f2ed9e3d Reviewed-on: https://go-review.googlesource.com/c/website/+/450416 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
This commit is contained in:
Родитель
a7a6fd0f14
Коммит
859573a54b
|
@ -758,6 +758,14 @@ a.Footer-link--primary {
|
|||
.Header-menuItem a.Header-socialIcon:not(:last-child) {
|
||||
margin-right: 0.75rem;
|
||||
}
|
||||
[data-theme='dark'] .Header-socialIcon img[src$='/github.svg'] {
|
||||
filter: invert(1);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme='light']) .Header-socialIcon img[src$='/github.svg'] {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
/* End nav */
|
||||
.Article {
|
||||
color: var(--color-text);
|
||||
|
|
Загрузка…
Ссылка в новой задаче