Skip to content

Commit

Permalink
Fix table colors in dark mode (alshedivat#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
alshedivat authored and horaciochacon committed Feb 28, 2023
1 parent c119253 commit 0b88576
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ hr {
border-top: 1px solid var(--global-divider-color);
}

table {
td, th {
color: var(--global-text-color);
}
td {
font-size: 1rem;
}
}

a, table.table a {
color: var(--global-theme-color);
&:hover {
Expand Down Expand Up @@ -76,6 +85,7 @@ blockquote {
}

// Citation

.citation, .citation-number {
color: var(--global-theme-color);
}
Expand Down Expand Up @@ -223,18 +233,6 @@ blockquote {
}
}


// News

.news table td {
font-size: 1rem;
color: var(--global-text-color);
}

.news table th {
color: var(--global-text-color);
}

// Social (bottom)

.social {
Expand Down

0 comments on commit 0b88576

Please sign in to comment.