t0-0 commited on
Commit
451447b
·
1 Parent(s): 9de4514

Add support for dark mode

Browse files
Files changed (1) hide show
  1. style.css +15 -1
style.css CHANGED
@@ -48,7 +48,21 @@ table td:nth-child(2) {
48
  left: 0;
49
  z-index: 1;
50
  position: sticky;
51
- background-color: rgba(255,255,255,0.75);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  }
53
 
54
  #llm-benchmark-tab-table-button, #llm-benchmark-tab-about-button, #llm-benchmark-tab-submit-button {
 
48
  left: 0;
49
  z-index: 1;
50
  position: sticky;
51
+ }
52
+
53
+ @media (prefers-color-scheme: light) {
54
+ table td:nth-child(2) {
55
+ background-color: rgba(255,255,255,0.9) !important;
56
+ }
57
+ }
58
+
59
+ @media (prefers-color-scheme: dark) {
60
+ table td:nth-child(2) {
61
+ background-color: rgba(52,65,86,0.9) !important;
62
+ }
63
+ table td a {
64
+ color: white !important;
65
+ }
66
  }
67
 
68
  #llm-benchmark-tab-table-button, #llm-benchmark-tab-about-button, #llm-benchmark-tab-submit-button {