-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (105 loc) · 2.65 KB
/
index.html
File metadata and controls
118 lines (105 loc) · 2.65 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<html>
<head>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js"
type="module"
></script>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
type="text/css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
<style>
@import url("https://rsms.me/inter/inter.css");
html {
font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
html {
font-family: "Inter var", sans-serif;
}
}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@700&display=swap');
html,
body,
canvas,
#overlay,
#dialog-overlay {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-family: Roboto;
}
canvas,
#overlay,
#dialog-overlay {
position: absolute;
}
#overlay .mdl-card {
float: right;
margin: 10px;
}
#dialog-overlay .mdl-card {
transform: translate(-50%, 0%);
left: 50%;
top: 100%;
transition: transform 0.5s, top 0.5s;
}
#dialog-overlay .mdl-card[open="true"] {
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
transition: transform 0.5s, top 0.5s;
}
#overlay .mdl-data-table {
margin: 10px;
}
.hidden-score-exports {
display: none;
}
.hidden-score-export {
position: absolute;
opacity: 0 !important;
}
.score-table tr:last-of-type td {
border-bottom: none;
}
div.stats-snackbar {
position: fixed;
padding: 12px;
bottom: 0;
left: 50%;
cursor: default;
background-color: #323232;
z-index: 3;
display: block;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
box-sizing: border-box;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
transform: translate(-50%, 0px);
-webkit-transform: translate(-50%, 0px);
width: 100%;
max-width: 100%;
}
.mdl-slider__label {
font-size: 16px;
line-height: 24px;
}
</style>
<title>Car Evolution</title>
</head>
<body>
<div id="root"></div>
<div class="hidden-score-exports"></div>
<input class="hidden-score-export" id="score-best" value="" />
<script src="./src/index.tsx" type="module"></script>
</body>
</html>