MEGA-Bench / static /css /core_single.css
cccjc's picture
Add more model results, add single-image setting table
eeb88fb
raw
history blame
1.8 kB
.custom-dataframe thead th:nth-child(-n+2),
.custom-dataframe tbody td:nth-child(-n+2) {
background-color: var(--global-column-background) !important;
}
.custom-dataframe thead th:nth-child(n+3),
.custom-dataframe tbody td:nth-child(n+3) {
background-color: var(--dimension-column-background) !important;
}
.custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+2) {
background-color: var(--row-even-global) !important;
}
.custom-dataframe tbody tr:nth-child(even) td:nth-child(n+3) {
background-color: var(--row-even-dimension) !important;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
.custom-dataframe {
color: var(--text-color) !important;
background-color: var(--background-color) !important;
}
.custom-dataframe thead th {
background-color: var(--header-background) !important;
color: var(--text-color) !important;
}
.custom-dataframe tbody td {
background-color: var(--background-color) !important;
color: var(--text-color) !important;
}
.custom-dataframe thead th:nth-child(-n+2),
.custom-dataframe tbody td:nth-child(-n+2) {
background-color: var(--global-column-background) !important;
}
.custom-dataframe thead th:nth-child(n+3),
.custom-dataframe tbody td:nth-child(n+3) {
background-color: var(--dimension-column-background) !important;
}
.custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+2) {
background-color: var(--row-even-global) !important;
}
.custom-dataframe tbody tr:nth-child(even) td:nth-child(n+3) {
background-color: var(--row-even-dimension) !important;
}
.custom-dataframe tbody tr:hover td {
background-color: var(--hover-background) !important;
}
}