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 semicolonsnet committed Oct 24, 2022
1 parent 5d02bcb commit 9e76391
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 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 @@ -54,7 +63,7 @@ blockquote {

.card {
background-color: var(--global-card-bg-color);

img {
width: 100%;
}
Expand All @@ -75,6 +84,7 @@ blockquote {
}

// Citation

.citation, .citation-number {
color: var(--global-theme-color);
}
Expand Down Expand Up @@ -222,7 +232,6 @@ blockquote {
}
}


// News

.news table td {
Expand All @@ -235,6 +244,7 @@ blockquote {
width: 18%;
}


// Social (bottom)

.social {
Expand Down

0 comments on commit 9e76391

Please sign in to comment.