-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
60 lines (58 loc) · 1.23 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Unit Tests</title>
<script type="module">
import { uiReady } from './test.js';
uiReady();
</script>
<link rel="stylesheet" href="./across-space-and-time.css">
<style>
:root {
--fg-success: hsl(80, 75%, 40%);
--fg-fail: hsl(20, 88%, 50%);
}
@media (prefers-color-scheme: dark) {
:root {
--fg-success: hsl(80, 75%, 50%);
}
}
body {
font-size: 10pt;
}
#testOutput {
margin: 0.5em;
padding: 0;
list-style-type: none;
}
li {
list-style-type: none;
margin: 2.5pt 0;
padding: 0;
}
li.header {
margin-top: 1.25em;
font-family: system-ui, sans-serif;
font-size: 12pt;
font-weight: 500;
}
li.success {
color: var(--fg-success);
font-weight: 600;
}
li.warn {
color: var(--fg-fail);
}
li.trace {
font-size: 8pt;
margin-top: 2.5pt;
}
</style>
</head>
<body>
<ul id="testOutput"></ul>
<div id="visualizations"></div>
<div id="domContainer" style="visibility: hidden;"></div>
</body>
</html>