-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
91 lines (84 loc) · 2.5 KB
/
index.html
File metadata and controls
91 lines (84 loc) · 2.5 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CMWC - Collision Matrix With Cost</title>
<link rel="icon" type="image/png" href="logo.png" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
rel="stylesheet">
<style>
:root {
--bg-app: #f8f9fa;
--bg-panel: #ffffff;
--border: #e2e8f0;
--text-main: #1e293b;
--text-sub: #64748b;
--primary: #2563eb;
--primary-hover: #1d4ed8;
--danger: #ef4444;
--success: #10b981;
--warning: #f59e0b;
--rank-1: #fee2e2; --rank-1-text: #991b1b;
--rank-2: #ffedd5; --rank-2-text: #9a3412;
--rank-3: #fef3c7; --rank-3-text: #92400e;
--rank-4: #f3f4f6; --rank-4-text: #374151;
--rank-5: #dbeafe; --rank-5-text: #1e40af;
--rank-6: #dcfce7; --rank-6-text: #166534;
/* Matrix Dimensions Mobile Default */
--matrix-first-col-width: 50px;
--matrix-cell-height: 50px;
--matrix-min-width: 350px;
--matrix-header-height: 36px;
}
@media (min-width: 768px) {
:root {
--matrix-first-col-width: 200px;
--matrix-cell-height: 96px; /* h-24 */
--matrix-min-width: 1200px;
--matrix-header-height: auto;
}
}
body, html {
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
background-color: var(--bg-app);
color: var(--text-main);
height: 100%;
overflow: hidden;
}
* {
box-sizing: border-box;
}
#root {
height: 100%;
display: flex;
flex-direction: column;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>