Skip to content

Commit 0b88576

Browse files
alshedivathoraciochacon
authored andcommitted
Fix table colors in dark mode (alshedivat#624)
1 parent c119253 commit 0b88576

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
}
@@ -223,18 +233,6 @@ blockquote {
223233
}
224234
}
225235

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

240238
.social {

0 commit comments

Comments
 (0)