ai
This commit is contained in:
parent
b731ff2ad3
commit
5cff2229be
@ -1,25 +1,35 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Strafe Client</title>
|
<title>Strafe Client</title>
|
||||||
|
<style>
|
||||||
<base data-trunk-public-url />
|
html, body {
|
||||||
<style type="text/css">
|
width: 100%;
|
||||||
body {
|
height: 100%;
|
||||||
margin: 0px;
|
margin: 0;
|
||||||
background: #fff;
|
padding: 0;
|
||||||
width: 100%;
|
overflow: hidden;
|
||||||
height: 100%;
|
}
|
||||||
}
|
#wasm-container {
|
||||||
.main-canvas {
|
width: 100%;
|
||||||
margin: 0;
|
height: 100%;
|
||||||
}
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
canvas {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<canvas class="main-canvas" id="canvas"></canvas>
|
<div id="wasm-container">
|
||||||
|
<canvas class="main-canvas" id="canvas"></canvas>
|
||||||
|
</div>
|
||||||
<link data-trunk rel="rust" href="../strafe-client/Cargo.toml"/>
|
<link data-trunk rel="rust" href="../strafe-client/Cargo.toml"/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user