Skip to content

Commit 6d554c7

Browse files
committed
fix heading of datasets table
1 parent f64f21f commit 6d554c7

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

_includes/head/custom.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,44 @@
168168
color: var(--link-hover-color) !important;
169169
}
170170

171+
/* Table styling for light/dark mode */
172+
table {
173+
background: var(--bg-color) !important;
174+
color: var(--text-color) !important;
175+
border-collapse: collapse !important;
176+
}
177+
178+
table th,
179+
table td {
180+
background: var(--bg-color) !important;
181+
color: var(--text-color) !important;
182+
border: 1px solid var(--border-color) !important;
183+
padding: 0.5rem !important;
184+
}
185+
186+
table th {
187+
background: var(--secondary-color) !important;
188+
color: var(--text-color) !important;
189+
font-weight: bold !important;
190+
}
191+
192+
table tbody tr:nth-child(even) {
193+
background: var(--secondary-color) !important;
194+
}
195+
196+
table tbody tr:hover {
197+
background: var(--notice-bg) !important;
198+
}
199+
200+
/* Ensure table links are visible */
201+
table a {
202+
color: var(--link-color) !important;
203+
}
204+
205+
table a:hover {
206+
color: var(--link-hover-color) !important;
207+
}
208+
171209
/* Theme toggle button styles */
172210
.theme-toggle {
173211
position: relative;

0 commit comments

Comments
 (0)