Again, try to fix dark mode
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Thu, 1 Feb 2024 16:45:58 +0000 (11:45 -0500)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Thu, 1 Feb 2024 16:45:58 +0000 (11:45 -0500)
static/css/pgcac.css
templates/pages/sponsors.html

index 3235fbb79ec7daeb45039757300ebfad3085bd73..b91f579c6bf7726e7a0d779a4f134ef40dccbca6 100644 (file)
@@ -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
index d44c7d57212d06b73de66a3316b00d75b02c95d1..210cc8e0ec055fbfca7ad5299b7f398cb9634177 100644 (file)
@@ -22,7 +22,7 @@
         <tr>
         <th scope="row">
             <a href="https://xata.io" target="_blank" rel="noopener">
-                <img class="organisation-logo" src="/static/img/sponsors/logo_xata.svg" alt="Xata" />
+                <img class="organisation-logo" src="/static/img/sponsors/xata.svg" alt="Xata" />
             </a>
         </th>
         <td><a href="https://xata.io" target="_blank" rel="noopener">Xata</a></td>