Skip to content

Commit 2438d8c

Browse files
alshedivatpecey
authored andcommitted
Fix table colors in dark mode (alshedivat#624)
1 parent 15237cd commit 2438d8c

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

_sass/_base.scss

+10-12
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ hr {
1212
border-top: 1px solid var(--global-divider-color);
1313
}
1414

15+
table {
16+
td, th {
17+
color: var(--global-text-color);
18+
}
19+
td {
20+
font-size: 1rem;
21+
}
22+
}
23+
1524
a, table.table a {
1625
color: var(--global-theme-color);
1726
&:hover {
@@ -76,6 +85,7 @@ blockquote {
7685
}
7786

7887
// Citation
88+
7989
.citation, .citation-number {
8090
color: var(--global-theme-color);
8191
}
@@ -224,18 +234,6 @@ blockquote {
224234
}
225235
}
226236

227-
228-
// News
229-
230-
.news table td {
231-
font-size: 1rem;
232-
color: var(--global-text-color);
233-
}
234-
235-
.news table th {
236-
color: var(--global-text-color);
237-
}
238-
239237
// Social (bottom)
240238

241239
.social {

0 commit comments

Comments
 (0)