mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Fix darkmode gitalk color
This commit is contained in:
parent
110cb84626
commit
3782192dfb
@ -6,4 +6,12 @@ if (hexo-config('gitalk.enable')) {
|
|||||||
.gt-container .gt-popup .gt-action.is--active::before {
|
.gt-container .gt-popup .gt-action.is--active::before {
|
||||||
top: .7em;
|
top: .7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hexo-config('darkmode')) {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.gt-container .gt-header-textarea {
|
||||||
|
background-color: var(--card-bg-color) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user