ruffle/web/demo/www/index.html

72 lines
1.3 KiB
HTML
Raw Normal View History

2019-04-25 17:52:22 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
2019-05-08 16:46:19 +00:00
<title>Ruffle</title>
2019-05-06 10:31:33 +00:00
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
2019-04-25 17:52:22 +00:00
<style>
body {
position: absolute;
top: 0;
left: 0;
2019-05-06 10:31:33 +00:00
margin: 0;
padding: 0;
2019-04-25 17:52:22 +00:00
width: 100%;
height: 100%;
2019-05-06 10:31:33 +00:00
font-family: 'Lato', sans-serif;
2019-04-25 17:52:22 +00:00
display: flex;
flex-direction: column;
align-items: center;
2019-05-06 10:31:33 +00:00
}
#main {
margin: 20px;
align-self: center;
}
#nav {
width: 100%;
background: lightgray;
border: 0;
border-color: darkgray;
border-bottom: 2px;
border-style: solid;
box-shadow: 0 5px 5px grey;
padding: 10px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: baseline;
align-self: flex-start;
}
#title h1 {
font-size: 120%;
margin: 0;
padding: 0;
}
select,
input {
margin: 0 5px;
2019-04-25 17:52:22 +00:00
}
</style>
</head>
<body>
2019-05-06 10:31:33 +00:00
<div id="nav">
<div id="title">
2019-05-08 16:46:19 +00:00
<h1>Ruffle</h1>
2019-05-06 10:31:33 +00:00
</div>
<div>
Local SWF: <input type="file" id="local-file"></div>
</div>
</div>
<div id="main">
<canvas id="player"></canvas>
</div>
<script src="./index.js"></script>
2019-04-25 17:52:22 +00:00
</body>
</html>