Skip to content

Commit

Permalink
_content/css: use color variables in download table
Browse files Browse the repository at this point in the history
For the text in the download table to be visible for all
themes the row background color must switch with the
page theme.

For golang/go#34601

Change-Id: I369445f25efc3b3771f324f1c0555f9049cf3390
Reviewed-on: https://go-review.googlesource.com/c/website/+/398974
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
  • Loading branch information
passionSeven committed Apr 7, 2022
1 parent bf3fe63 commit bcc6e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _content/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4467,7 +4467,7 @@ table.downloadtable {
border-collapse: collapse;
}
table.downloadtable tr {
background-color: #f0f0f0;
background-color: var(--color-background-accented);
}
table.downloadtable tr:nth-child(2n), table.downloadtable tr.first {
background-color: var(--color-background);
Expand Down

0 comments on commit bcc6e12

Please sign in to comment.