5
5
html , body , h1 , h2 , h3 , p , table , td , th { margin : 0 ; padding : 0 ; border : 0 ; font-weight : inherit; font-style : inherit; font-size : 100% ; font-family : inherit; vertical-align : baseline; }
6
6
7
7
body { font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Ubuntu, Cantarell, "Helvetica Neue" , sans-serif; font-size : 1em ; background : # fff ; color : # 000 ; }
8
+
8
9
@media (prefers-color-scheme : dark) { body { background : # 1e1e1e ; } }
10
+
9
11
@media (prefers-color-scheme : dark) { body { color : # eee ; } }
10
12
11
13
html > body { font-size : 16px ; }
@@ -23,17 +25,21 @@ table tr.hidden { display: none !important; }
23
25
p # no_rows { display : none; font-size : 1.2em ; }
24
26
25
27
a .nav { text-decoration : none; color : inherit; }
28
+
26
29
a .nav : hover { text-decoration : underline; color : inherit; }
27
30
28
31
# header { background : # f8f8f8 ; width : 100% ; border-bottom : 1px solid # eee ; }
32
+
29
33
@media (prefers-color-scheme : dark) { # header { background : black; } }
34
+
30
35
@media (prefers-color-scheme : dark) { # header { border-color : # 333 ; } }
31
36
32
37
.indexfile # footer { margin : 1rem 3rem ; }
33
38
34
39
.pyfile # footer { margin : 1rem 1rem ; }
35
40
36
41
# footer .content { padding : 0 ; color : # 666 ; font-style : italic; }
42
+
37
43
@media (prefers-color-scheme : dark) { # footer .content { color : # aaa ; } }
38
44
39
45
# index { margin : 1rem 0 0 3rem ; }
@@ -43,129 +49,233 @@ a.nav:hover { text-decoration: underline; color: inherit; }
43
49
h1 { font-size : 1.25em ; display : inline-block; }
44
50
45
51
# filter_container { float : right; margin : 0 2em 0 0 ; }
52
+
46
53
# filter_container input { width : 10em ; padding : 0.2em 0.5em ; border : 2px solid # ccc ; background : # fff ; color : # 000 ; }
54
+
47
55
@media (prefers-color-scheme : dark) { # filter_container input { border-color : # 444 ; } }
56
+
48
57
@media (prefers-color-scheme : dark) { # filter_container input { background : # 1e1e1e ; } }
58
+
49
59
@media (prefers-color-scheme : dark) { # filter_container input { color : # eee ; } }
60
+
50
61
# filter_container input : focus { border-color : # 007acc ; }
51
62
52
63
h2 .stats { margin-top : .5em ; font-size : 1em ; }
53
64
54
65
.stats button { font-family : inherit; font-size : inherit; border : 1px solid; border-radius : .2em ; color : inherit; padding : .1em .5em ; margin : 1px calc (.1em + 1px ); cursor : pointer; border-color : # ccc ; }
66
+
55
67
@media (prefers-color-scheme : dark) { .stats button { border-color : # 444 ; } }
68
+
56
69
.stats button : active , .stats button : focus { outline : 2px dashed # 007acc ; }
70
+
57
71
.stats button : active , .stats button : focus { outline : 2px dashed # 007acc ; }
72
+
58
73
.stats button .run { background : # eeffee ; }
74
+
59
75
@media (prefers-color-scheme : dark) { .stats button .run { background : # 373d29 ; } }
76
+
60
77
.stats button .run .show_run { background : # dfd ; border : 2px solid # 00dd00 ; margin : 0 .1em ; }
78
+
61
79
@media (prefers-color-scheme : dark) { .stats button .run .show_run { background : # 373d29 ; } }
80
+
62
81
.stats button .mis { background : # ffeeee ; }
82
+
63
83
@media (prefers-color-scheme : dark) { .stats button .mis { background : # 4b1818 ; } }
84
+
64
85
.stats button .mis .show_mis { background : # fdd ; border : 2px solid # ff0000 ; margin : 0 .1em ; }
86
+
65
87
@media (prefers-color-scheme : dark) { .stats button .mis .show_mis { background : # 4b1818 ; } }
88
+
66
89
.stats button .exc { background : # f7f7f7 ; }
90
+
67
91
@media (prefers-color-scheme : dark) { .stats button .exc { background : # 333 ; } }
92
+
68
93
.stats button .exc .show_exc { background : # eee ; border : 2px solid # 808080 ; margin : 0 .1em ; }
94
+
69
95
@media (prefers-color-scheme : dark) { .stats button .exc .show_exc { background : # 333 ; } }
96
+
70
97
.stats button .par { background : # ffffd5 ; }
98
+
71
99
@media (prefers-color-scheme : dark) { .stats button .par { background : # 650 ; } }
100
+
72
101
.stats button .par .show_par { background : # ffa ; border : 2px solid # dddd00 ; margin : 0 .1em ; }
102
+
73
103
@media (prefers-color-scheme : dark) { .stats button .par .show_par { background : # 650 ; } }
74
104
75
- # source p .annotate .long , . help_panel { display : none; position : absolute; z-index : 999 ; background : # ffffcc ; border : 1px solid # 888 ; border-radius : .2em ; color : # 333 ; padding : .25em .5em ; }
105
+ . help_panel , # source p .annotate .long { display : none; position : absolute; z-index : 999 ; background : # ffffcc ; border : 1px solid # 888 ; border-radius : .2em ; color : # 333 ; padding : .25em .5em ; }
76
106
77
107
# source p .annotate .long { white-space : normal; float : right; top : 1.75em ; right : 1em ; height : auto; }
78
108
79
109
# keyboard_icon { float : right; margin : 5px ; cursor : pointer; }
80
110
81
111
.help_panel { padding : .5em ; border : 1px solid # 883 ; }
112
+
82
113
.help_panel .legend { font-style : italic; margin-bottom : 1em ; }
114
+
83
115
.indexfile .help_panel { width : 20em ; min-height : 4em ; }
116
+
84
117
.pyfile .help_panel { width : 16em ; min-height : 8em ; }
85
118
86
119
# panel_icon { float : right; cursor : pointer; }
87
120
88
121
.keyhelp { margin : .75em ; }
122
+
89
123
.keyhelp .key { border : 1px solid black; border-color : # 888 # 333 # 333 # 888 ; padding : .1em .35em ; font-family : SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight : bold; background : # eee ; }
90
124
91
125
# source { padding : 1em 0 1em 3rem ; font-family : SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
126
+
92
127
# source p { position : relative; white-space : pre; }
128
+
93
129
# source p * { box-sizing : border-box; }
130
+
94
131
# source p .n { float : left; text-align : right; width : 3rem ; box-sizing : border-box; margin-left : -3rem ; padding-right : 1em ; color : # 999 ; }
132
+
95
133
@media (prefers-color-scheme : dark) { # source p .n { color : # 777 ; } }
134
+
96
135
# source p .n a { text-decoration : none; color : # 999 ; }
136
+
97
137
@media (prefers-color-scheme : dark) { # source p .n a { color : # 777 ; } }
138
+
98
139
# source p .n a : hover { text-decoration : underline; color : # 999 ; }
140
+
99
141
@media (prefers-color-scheme : dark) { # source p .n a : hover { color : # 777 ; } }
142
+
100
143
# source p .highlight .n { background : # ffdd00 ; }
144
+
101
145
# source p .t { display : inline-block; width : 100% ; box-sizing : border-box; margin-left : -.5em ; padding-left : 0.3em ; border-left : 0.2em solid # fff ; }
146
+
102
147
@media (prefers-color-scheme : dark) { # source p .t { border-color : # 1e1e1e ; } }
148
+
103
149
# source p .t : hover { background : # f2f2f2 ; }
150
+
104
151
@media (prefers-color-scheme : dark) { # source p .t : hover { background : # 282828 ; } }
152
+
105
153
# source p .t : hover ~ .r .annotate .long { display : block; }
154
+
106
155
# source p .t .com { color : # 008000 ; font-style : italic; line-height : 1px ; }
156
+
107
157
@media (prefers-color-scheme : dark) { # source p .t .com { color : # 6A9955 ; } }
158
+
108
159
# source p .t .key { font-weight : bold; line-height : 1px ; }
160
+
109
161
# source p .t .str { color : # 0451A5 ; }
162
+
110
163
@media (prefers-color-scheme : dark) { # source p .t .str { color : # 9CDCFE ; } }
164
+
111
165
# source p .mis .t { border-left : 0.2em solid # ff0000 ; }
166
+
112
167
# source p .mis .show_mis .t { background : # fdd ; }
168
+
113
169
@media (prefers-color-scheme : dark) { # source p .mis .show_mis .t { background : # 4b1818 ; } }
170
+
114
171
# source p .mis .show_mis .t : hover { background : # f2d2d2 ; }
172
+
115
173
@media (prefers-color-scheme : dark) { # source p .mis .show_mis .t : hover { background : # 532323 ; } }
174
+
116
175
# source p .run .t { border-left : 0.2em solid # 00dd00 ; }
176
+
117
177
# source p .run .show_run .t { background : # dfd ; }
178
+
118
179
@media (prefers-color-scheme : dark) { # source p .run .show_run .t { background : # 373d29 ; } }
180
+
119
181
# source p .run .show_run .t : hover { background : # d2f2d2 ; }
182
+
120
183
@media (prefers-color-scheme : dark) { # source p .run .show_run .t : hover { background : # 404633 ; } }
184
+
121
185
# source p .exc .t { border-left : 0.2em solid # 808080 ; }
186
+
122
187
# source p .exc .show_exc .t { background : # eee ; }
188
+
123
189
@media (prefers-color-scheme : dark) { # source p .exc .show_exc .t { background : # 333 ; } }
190
+
124
191
# source p .exc .show_exc .t : hover { background : # e2e2e2 ; }
192
+
125
193
@media (prefers-color-scheme : dark) { # source p .exc .show_exc .t : hover { background : # 3c3c3c ; } }
194
+
126
195
# source p .par .t { border-left : 0.2em solid # dddd00 ; }
196
+
127
197
# source p .par .show_par .t { background : # ffa ; }
198
+
128
199
@media (prefers-color-scheme : dark) { # source p .par .show_par .t { background : # 650 ; } }
200
+
129
201
# source p .par .show_par .t : hover { background : # f2f2a2 ; }
202
+
130
203
@media (prefers-color-scheme : dark) { # source p .par .show_par .t : hover { background : # 6d5d0c ; } }
204
+
131
205
# source p .r { position : absolute; top : 0 ; right : 2.5em ; font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Ubuntu, Cantarell, "Helvetica Neue" , sans-serif; }
206
+
132
207
# source p .annotate { font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Ubuntu, Cantarell, "Helvetica Neue" , sans-serif; color : # 666 ; padding-right : .5em ; }
208
+
133
209
@media (prefers-color-scheme : dark) { # source p .annotate { color : # ddd ; } }
210
+
134
211
# source p .annotate .short : hover ~ .long { display : block; }
212
+
135
213
# source p .annotate .long { width : 30em ; right : 2.5em ; }
214
+
136
215
# source p input { display : none; }
216
+
137
217
# source p input ~ .r label .ctx { cursor : pointer; border-radius : .25em ; }
218
+
138
219
# source p input ~ .r label .ctx ::before { content : "▶ " ; }
220
+
139
221
# source p input ~ .r label .ctx : hover { background : # d5f7ff ; color : # 666 ; }
222
+
140
223
# source p input : checked ~ .r label .ctx { background : # aaeeff ; color : # 666 ; border-radius : .75em .75em 0 0 ; padding : 0 .5em ; margin : -.25em 0 ; }
224
+
141
225
# source p input : checked ~ .r label .ctx ::before { content : "▼ " ; }
226
+
142
227
# source p input : checked ~ .ctxs { padding : .25em .5em ; overflow-y : scroll; max-height : 10.5em ; }
228
+
143
229
# source p label .ctx { color : # 999 ; display : inline-block; padding : 0 .5em ; font-size : .8333em ; }
230
+
144
231
@media (prefers-color-scheme : dark) { # source p label .ctx { color : # 777 ; } }
232
+
145
233
# source p .ctxs { display : block; max-height : 0 ; overflow-y : hidden; transition : all .2s ; padding : 0 .5em ; font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Ubuntu, Cantarell, "Helvetica Neue" , sans-serif; white-space : nowrap; background : # aaeeff ; border-radius : .25em ; margin-right : 1.75em ; }
234
+
146
235
# source p .ctxs span { display : block; text-align : right; }
147
236
148
237
# index { font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Ubuntu, Cantarell, "Helvetica Neue" , sans-serif; font-size : 0.875em ; }
238
+
149
239
# index table .index { margin-left : -.5em ; }
240
+
150
241
# index td , # index th { text-align : right; width : 5em ; padding : .25em .5em ; border-bottom : 1px solid # eee ; }
242
+
151
243
@media (prefers-color-scheme : dark) { # index td , # index th { border-color : # 333 ; } }
244
+
152
245
# index td .name , # index th .name { text-align : left; width : auto; }
246
+
153
247
# index th { font-style : italic; color : # 333 ; cursor : pointer; }
248
+
154
249
@media (prefers-color-scheme : dark) { # index th { color : # ddd ; } }
250
+
155
251
# index th : hover { background : # eee ; }
252
+
156
253
@media (prefers-color-scheme : dark) { # index th : hover { background : # 333 ; } }
254
+
157
255
# index th .headerSortDown , # index th .headerSortUp { white-space : nowrap; background : # eee ; }
256
+
158
257
@media (prefers-color-scheme : dark) { # index th .headerSortDown , # index th .headerSortUp { background : # 333 ; } }
258
+
159
259
# index th .headerSortDown : after { content : " ↑" ; }
260
+
160
261
# index th .headerSortUp : after { content : " ↓" ; }
262
+
161
263
# index td .name a { text-decoration : none; color : inherit; }
264
+
162
265
# index tr .total td , # index tr .total_dynamic td { font-weight : bold; border-top : 1px solid # ccc ; border-bottom : none; }
266
+
163
267
# index tr .file : hover { background : # eee ; }
268
+
164
269
@media (prefers-color-scheme : dark) { # index tr .file : hover { background : # 333 ; } }
270
+
165
271
# index tr .file : hover td .name { text-decoration : underline; color : inherit; }
166
272
167
273
# scroll_marker { position : fixed; right : 0 ; top : 0 ; width : 16px ; height : 100% ; background : # fff ; border-left : 1px solid # eee ; will-change : transform; }
274
+
168
275
@media (prefers-color-scheme : dark) { # scroll_marker { background : # 1e1e1e ; } }
276
+
169
277
@media (prefers-color-scheme : dark) { # scroll_marker { border-color : # 333 ; } }
278
+
170
279
# scroll_marker .marker { background : # ccc ; position : absolute; min-height : 3px ; width : 100% ; }
280
+
171
281
@media (prefers-color-scheme : dark) { # scroll_marker .marker { background : # 444 ; } }
0 commit comments