-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
97 lines (87 loc) · 2.85 KB
/
index.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
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
<!doctype html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta
name="viewport"
content="width=12, initial-scale=1.0, minimum-scale=1.0, user-scalable=no"
/>
<head>
<title>Raphael | FFXIV Crafting Solver</title>
<meta
name="description"
content="Raphael is a crafting rotation optimizer and macro generator for Final Fantasy XIV."
/>
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
<link
data-trunk
rel="rust"
data-wasm-opt="2"
data-bin="raphael-xiv"
data-type="main"
/>
<link
data-trunk
rel="rust"
href="Cargo.toml"
data-wasm-opt="2"
data-bin="webworker"
data-type="worker"
/>
<link data-trunk rel="copy-file" href="assets/_headers" />
<link data-trunk rel="copy-dir" href="assets/action-icons/" />
<meta
name="theme-color"
media="(prefers-color-scheme: light)"
content="white"
/>
<meta
name="theme-color"
media="(prefers-color-scheme: dark)"
content="#404040"
/>
<style>
html {
/* Remove touch delay: */
touch-action: manipulation;
}
body {
/* Light mode background color for what is not covered by the egui canvas,
or where the egui canvas is translucent. */
background: #909090;
}
@media (prefers-color-scheme: dark) {
body {
/* Dark mode background color for what is not covered by the egui canvas,
or where the egui canvas is translucent. */
background: #404040;
}
}
/* Allow canvas to fill entire web page: */
html,
body {
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
height: 100%;
width: 100%;
}
/* Make canvas fill entire document: */
canvas {
margin-right: auto;
margin-left: auto;
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<!-- The WASM code will resize the canvas dynamically -->
<!-- the id is hardcoded in main.rs . so, make sure both match. -->
<canvas id="the_canvas_id"></canvas>
</body>
</html>
<!-- Powered by egui: https://github.com/emilk/egui/ -->