danielrosehill commited on
Commit
4b8bf10
·
1 Parent(s): 9ceac5e

Switch to light theme for better readability

Browse files
Files changed (1) hide show
  1. index.html +46 -44
index.html CHANGED
@@ -6,22 +6,23 @@
6
  <title>Audio Understanding Experiment</title>
7
  <style>
8
  * { margin: 0; padding: 0; box-sizing: border-box; }
9
- body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; background: #111318; color: #d4d4d8; }
10
 
11
  /* Top audio bar — persistent */
12
  .audio-bar {
13
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
14
- background: #18191f; border-bottom: 1px solid #2a2d3a;
15
  padding: 0.5rem 1.5rem;
16
  display: flex; align-items: center; gap: 1rem;
17
  height: 56px;
 
18
  }
19
  .audio-bar .bar-label {
20
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
21
- letter-spacing: 0.06em; color: #71717a; white-space: nowrap;
22
  }
23
  .audio-bar .bar-date {
24
- font-size: 0.68rem; color: #52525b; white-space: nowrap;
25
  }
26
  .audio-bar audio { flex: 1; height: 32px; min-width: 0; }
27
 
@@ -30,57 +31,58 @@ body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-
30
 
31
  /* Sidebar */
32
  .sidebar {
33
- width: 260px; min-width: 260px; background: #15161c;
34
- border-right: 1px solid #27272a; display: flex; flex-direction: column; overflow: hidden;
35
  }
36
  .sidebar-header {
37
- padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid #27272a;
38
  }
39
- .sidebar-header h1 { font-size: 1.05rem; font-weight: 700; color: #fafafa; margin-bottom: 0.15rem; }
40
- .sidebar-header p { font-size: 0.72rem; color: #71717a; }
41
  .category-list { overflow-y: auto; flex: 1; padding: 0.4rem 0; }
42
  .category-btn {
43
  display: flex; justify-content: space-between; align-items: center;
44
  width: 100%; padding: 0.55rem 1.25rem; background: none; border: none;
45
- color: #a1a1aa; font-size: 0.8rem; cursor: pointer; text-align: left;
46
  transition: all 0.12s;
47
  }
48
- .category-btn:hover { background: #1c1d25; color: #d4d4d8; }
49
  .category-btn.active {
50
- background: #1c1d25; color: #818cf8;
51
- border-left: 3px solid #818cf8; padding-left: calc(1.25rem - 3px);
52
  }
53
  .category-btn .count {
54
- background: #27272a; color: #71717a; font-size: 0.68rem;
55
  padding: 0.1rem 0.45rem; border-radius: 8px; font-weight: 600;
56
  }
57
- .category-btn.active .count { background: #312e81; color: #a5b4fc; }
58
- .cat-all { font-weight: 600; color: #d4d4d8; }
59
 
60
  /* Main content */
61
- .main { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; }
62
  .results-header { margin-bottom: 1.5rem; }
63
- .results-header h2 { font-size: 1.3rem; font-weight: 700; color: #fafafa; }
64
- .results-header .subtitle { font-size: 0.8rem; color: #71717a; margin-top: 0.3rem; }
65
 
66
  /* Cards */
67
  .card {
68
- background: #18191f; border: 1px solid #27272a;
69
  border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden;
 
70
  }
71
  .card-header {
72
  padding: 0.85rem 1.15rem; display: flex; justify-content: space-between;
73
  align-items: center; cursor: pointer; transition: background 0.12s;
74
  }
75
- .card-header:hover { background: #1c1d25; }
76
- .card-title { font-size: 0.88rem; font-weight: 600; color: #e4e4e7; }
77
  .card-meta { display: flex; gap: 0.5rem; align-items: center; }
78
  .badge {
79
  font-size: 0.65rem; padding: 0.2rem 0.55rem; border-radius: 5px;
80
- background: #27272a; color: #a1a1aa; white-space: nowrap; font-weight: 500;
81
  }
82
- .badge-cat { background: #1e1b4b; color: #a5b4fc; }
83
- .chevron { color: #52525b; font-size: 0.75rem; transition: transform 0.2s; margin-left: 0.25rem; }
84
  .card.open .chevron { transform: rotate(90deg); }
85
  .card-body { display: none; padding: 0 1.15rem 1.15rem; }
86
  .card.open .card-body { display: block; }
@@ -88,26 +90,26 @@ body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-
88
  /* Prompt box — distinctive */
89
  .prompt-label {
90
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em;
91
- color: #6d9ecf; margin-bottom: 0.3rem; font-weight: 600;
92
  }
93
  .prompt-box {
94
- background: #0f1d2d; border: 1px solid #1e3a5f;
95
  border-left: 3px solid #3b82f6; border-radius: 6px;
96
  padding: 0.85rem 1rem; margin-bottom: 1rem;
97
- font-size: 0.82rem; line-height: 1.65; color: #93c5fd;
98
  white-space: pre-wrap;
99
  }
100
 
101
  /* Output */
102
  .output-label {
103
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em;
104
- color: #52525b; margin-bottom: 0.4rem; font-weight: 600;
105
  }
106
  .output-text {
107
- font-size: 0.84rem; line-height: 1.75; color: #d4d4d8;
108
  padding: 0.5rem 0;
109
  }
110
- .output-text h1, .output-text h2, .output-text h3 { color: #fafafa; margin: 1.2rem 0 0.5rem; font-weight: 600; }
111
  .output-text h1 { font-size: 1.05rem; }
112
  .output-text h2 { font-size: 0.95rem; }
113
  .output-text h3 { font-size: 0.88rem; }
@@ -118,25 +120,25 @@ body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-
118
  border-collapse: collapse; margin: 0.75rem 0; width: 100%; font-size: 0.8rem;
119
  }
120
  .output-text th, .output-text td {
121
- border: 1px solid #27272a; padding: 0.45rem 0.7rem; text-align: left;
122
  }
123
- .output-text th { background: #1c1d25; color: #a1a1aa; font-weight: 600; font-size: 0.75rem; }
124
- .output-text td { color: #d4d4d8; }
125
  .output-text code {
126
- background: #1c1d25; padding: 0.15rem 0.4rem; border-radius: 4px;
127
- font-size: 0.78rem; color: #a5b4fc; font-family: 'SF Mono', 'Fira Code', monospace;
128
  }
129
  .output-text blockquote {
130
- border-left: 3px solid #3f3f46; padding-left: 0.85rem;
131
- color: #a1a1aa; margin: 0.7rem 0; font-style: italic;
132
  }
133
- .output-text strong { color: #fafafa; }
134
- .output-text em { color: #c4b5fd; }
135
- .output-text hr { border: none; border-top: 1px solid #27272a; margin: 1.2rem 0; }
136
 
137
  .model-tag {
138
- font-size: 0.68rem; color: #52525b; margin-top: 0.75rem;
139
- padding-top: 0.5rem; border-top: 1px solid #27272a; text-align: right;
140
  }
141
 
142
  /* Mobile */
@@ -144,7 +146,7 @@ body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-
144
  .audio-bar { padding: 0.4rem 0.75rem; gap: 0.5rem; }
145
  .audio-bar .bar-label { display: none; }
146
  .app { flex-direction: column; height: auto; }
147
- .sidebar { width: 100%; min-width: auto; max-height: 45vh; border-right: none; border-bottom: 1px solid #27272a; }
148
  .main { padding: 1.25rem; }
149
  }
150
  </style>
 
6
  <title>Audio Understanding Experiment</title>
7
  <style>
8
  * { margin: 0; padding: 0; box-sizing: border-box; }
9
+ body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; background: #f8f9fa; color: #1a1a2e; }
10
 
11
  /* Top audio bar — persistent */
12
  .audio-bar {
13
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
14
+ background: #fff; border-bottom: 1px solid #e2e4e9;
15
  padding: 0.5rem 1.5rem;
16
  display: flex; align-items: center; gap: 1rem;
17
  height: 56px;
18
+ box-shadow: 0 1px 3px rgba(0,0,0,0.06);
19
  }
20
  .audio-bar .bar-label {
21
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
22
+ letter-spacing: 0.06em; color: #6b7280; white-space: nowrap;
23
  }
24
  .audio-bar .bar-date {
25
+ font-size: 0.68rem; color: #9ca3af; white-space: nowrap;
26
  }
27
  .audio-bar audio { flex: 1; height: 32px; min-width: 0; }
28
 
 
31
 
32
  /* Sidebar */
33
  .sidebar {
34
+ width: 260px; min-width: 260px; background: #fff;
35
+ border-right: 1px solid #e2e4e9; display: flex; flex-direction: column; overflow: hidden;
36
  }
37
  .sidebar-header {
38
+ padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid #e2e4e9;
39
  }
40
+ .sidebar-header h1 { font-size: 1.05rem; font-weight: 700; color: #111827; margin-bottom: 0.15rem; }
41
+ .sidebar-header p { font-size: 0.72rem; color: #6b7280; }
42
  .category-list { overflow-y: auto; flex: 1; padding: 0.4rem 0; }
43
  .category-btn {
44
  display: flex; justify-content: space-between; align-items: center;
45
  width: 100%; padding: 0.55rem 1.25rem; background: none; border: none;
46
+ color: #4b5563; font-size: 0.8rem; cursor: pointer; text-align: left;
47
  transition: all 0.12s;
48
  }
49
+ .category-btn:hover { background: #f3f4f6; color: #111827; }
50
  .category-btn.active {
51
+ background: #eef2ff; color: #4338ca;
52
+ border-left: 3px solid #4338ca; padding-left: calc(1.25rem - 3px);
53
  }
54
  .category-btn .count {
55
+ background: #f3f4f6; color: #6b7280; font-size: 0.68rem;
56
  padding: 0.1rem 0.45rem; border-radius: 8px; font-weight: 600;
57
  }
58
+ .category-btn.active .count { background: #e0e7ff; color: #4338ca; }
59
+ .cat-all { font-weight: 600; color: #111827; }
60
 
61
  /* Main content */
62
+ .main { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; background: #f8f9fa; }
63
  .results-header { margin-bottom: 1.5rem; }
64
+ .results-header h2 { font-size: 1.3rem; font-weight: 700; color: #111827; }
65
+ .results-header .subtitle { font-size: 0.8rem; color: #6b7280; margin-top: 0.3rem; }
66
 
67
  /* Cards */
68
  .card {
69
+ background: #fff; border: 1px solid #e2e4e9;
70
  border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden;
71
+ box-shadow: 0 1px 2px rgba(0,0,0,0.04);
72
  }
73
  .card-header {
74
  padding: 0.85rem 1.15rem; display: flex; justify-content: space-between;
75
  align-items: center; cursor: pointer; transition: background 0.12s;
76
  }
77
+ .card-header:hover { background: #f9fafb; }
78
+ .card-title { font-size: 0.88rem; font-weight: 600; color: #111827; }
79
  .card-meta { display: flex; gap: 0.5rem; align-items: center; }
80
  .badge {
81
  font-size: 0.65rem; padding: 0.2rem 0.55rem; border-radius: 5px;
82
+ background: #f3f4f6; color: #6b7280; white-space: nowrap; font-weight: 500;
83
  }
84
+ .badge-cat { background: #eef2ff; color: #4338ca; }
85
+ .chevron { color: #9ca3af; font-size: 0.75rem; transition: transform 0.2s; margin-left: 0.25rem; }
86
  .card.open .chevron { transform: rotate(90deg); }
87
  .card-body { display: none; padding: 0 1.15rem 1.15rem; }
88
  .card.open .card-body { display: block; }
 
90
  /* Prompt box — distinctive */
91
  .prompt-label {
92
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em;
93
+ color: #2563eb; margin-bottom: 0.3rem; font-weight: 600;
94
  }
95
  .prompt-box {
96
+ background: #eff6ff; border: 1px solid #bfdbfe;
97
  border-left: 3px solid #3b82f6; border-radius: 6px;
98
  padding: 0.85rem 1rem; margin-bottom: 1rem;
99
+ font-size: 0.84rem; line-height: 1.65; color: #1e40af;
100
  white-space: pre-wrap;
101
  }
102
 
103
  /* Output */
104
  .output-label {
105
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em;
106
+ color: #9ca3af; margin-bottom: 0.4rem; font-weight: 600;
107
  }
108
  .output-text {
109
+ font-size: 0.86rem; line-height: 1.8; color: #374151;
110
  padding: 0.5rem 0;
111
  }
112
+ .output-text h1, .output-text h2, .output-text h3 { color: #111827; margin: 1.2rem 0 0.5rem; font-weight: 600; }
113
  .output-text h1 { font-size: 1.05rem; }
114
  .output-text h2 { font-size: 0.95rem; }
115
  .output-text h3 { font-size: 0.88rem; }
 
120
  border-collapse: collapse; margin: 0.75rem 0; width: 100%; font-size: 0.8rem;
121
  }
122
  .output-text th, .output-text td {
123
+ border: 1px solid #e5e7eb; padding: 0.45rem 0.7rem; text-align: left;
124
  }
125
+ .output-text th { background: #f9fafb; color: #4b5563; font-weight: 600; font-size: 0.75rem; }
126
+ .output-text td { color: #374151; }
127
  .output-text code {
128
+ background: #f3f4f6; padding: 0.15rem 0.4rem; border-radius: 4px;
129
+ font-size: 0.78rem; color: #4338ca; font-family: 'SF Mono', 'Fira Code', monospace;
130
  }
131
  .output-text blockquote {
132
+ border-left: 3px solid #d1d5db; padding-left: 0.85rem;
133
+ color: #6b7280; margin: 0.7rem 0; font-style: italic;
134
  }
135
+ .output-text strong { color: #111827; }
136
+ .output-text em { color: #6d28d9; }
137
+ .output-text hr { border: none; border-top: 1px solid #e5e7eb; margin: 1.2rem 0; }
138
 
139
  .model-tag {
140
+ font-size: 0.68rem; color: #9ca3af; margin-top: 0.75rem;
141
+ padding-top: 0.5rem; border-top: 1px solid #f3f4f6; text-align: right;
142
  }
143
 
144
  /* Mobile */
 
146
  .audio-bar { padding: 0.4rem 0.75rem; gap: 0.5rem; }
147
  .audio-bar .bar-label { display: none; }
148
  .app { flex-direction: column; height: auto; }
149
+ .sidebar { width: 100%; min-width: auto; max-height: 45vh; border-right: none; border-bottom: 1px solid #e2e4e9; }
150
  .main { padding: 1.25rem; }
151
  }
152
  </style>