From 2b72b437b8e98058d70374f9ca765758332b899c Mon Sep 17 00:00:00 2001 From: "Jonathan S. Katz" Date: Thu, 1 Feb 2024 11:45:58 -0500 Subject: [PATCH] Again, try to fix dark mode --- static/css/pgcac.css | 19 +++++++++++++++++++ templates/pages/sponsors.html | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/static/css/pgcac.css b/static/css/pgcac.css index 3235fbb..b91f579 100644 --- a/static/css/pgcac.css +++ b/static/css/pgcac.css @@ -96,3 +96,22 @@ i.fas { padding: 2em 0 2em 0; display: block; } + +.table th { + background-color: var(--table-th-bg-color); + border-color: var(--table-th-bdr-color) !important; + color: var(--table-th-fg-color); +} + +/* We need to do this otherwise the striping on the feature matrix will break */ +@media (prefers-color-scheme: dark) { + .table th { + background-color: var(--table-th-bg-color) !important; + } +} + +.table td { + background-color: var(--table-td-bg-color); + border-color: var(--table-td-bdr-color); + color: var(--table-td-fg-color); +} \ No newline at end of file diff --git a/templates/pages/sponsors.html b/templates/pages/sponsors.html index d44c7d5..210cc8e 100644 --- a/templates/pages/sponsors.html +++ b/templates/pages/sponsors.html @@ -22,7 +22,7 @@ - + Xata -- 2.39.5