aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorJamal Carvalho <jamal@golang.org>2022-04-07 20:39:35 +0000
committerGopher Robot <gobot@golang.org>2022-04-07 21:12:41 +0000
commit6f83ca05190919b753ec2a53d892f4bf634a1e53 (patch)
tree78669dce02f49eb769dedbb546ada8e2cfafa6fa /_content/css/styles.css
parentf68e91e4c93d31a0aaf99926b4897c77571e6e81 (diff)
downloadgo-x-website-6f83ca05190919b753ec2a53d892f4bf634a1e53.tar.xz
_content/css: use color variables in download table
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>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index 9a957a9c..4e5bfeee 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -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);