Skip to content

Commit 858321c

Browse files
authored
Merge pull request #142 from 8to16/1.43-patch
Patches for dark mode (MW 1.43).
2 parents 0d75fc4 + f3165f1 commit 858321c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/css/dark.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ body.dark-theme {
188188
.dark-theme table.mw-datatable th,
189189
.dark-theme table.mw-datatable td.h13,
190190
.dark-theme table.mw-datatable th.h13 {
191-
background-color: #102448
191+
background-color: #102448;
192+
color: var(--font-color);
192193
}
193194
.dark-theme table.wikitable th,
194195
.dark-theme table.wikitable td,
@@ -396,7 +397,7 @@ body.dark-theme {
396397
background-color: unset;
397398
border-color: #8b8174;
398399
}
399-
.dark-theme figure[typeof],
400+
.dark-theme figure[typeof]:not([typeof="mw:File"]),
400401
.dark-theme figure[typeof] > figcaption,
401402
.dark-theme div.thumbinner {
402403
background-color: #070605;

0 commit comments

Comments
 (0)