Fix darkmode gitalk color

This commit is contained in:
Mimi 2022-10-27 23:06:51 +08:00
parent 110cb84626
commit 3782192dfb

View File

@ -6,4 +6,12 @@ if (hexo-config('gitalk.enable')) {
.gt-container .gt-popup .gt-action.is--active::before {
top: .7em;
}
if (hexo-config('darkmode')) {
@media (prefers-color-scheme: dark) {
.gt-container .gt-header-textarea {
background-color: var(--card-bg-color) !important;
}
}
}
}