-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" | ||
/> | ||
<title>Minecrust</title> | ||
<link | ||
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" | ||
crossorigin="anonymous" | ||
/> | ||
<script src="https://unpkg.com/feather-icons"></script> | ||
<link href="./reset.css" rel="stylesheet" type="text/css" /> | ||
<link href="./main.css" rel="stylesheet" type="text/css" /> | ||
<link href="./loader.css" rel="stylesheet" type="text/css" /> | ||
<script src="./index.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="portrait-orientation-warning" class="portrait-orientation-warning"> | ||
<div class="portrait-orientation-warning-text"> | ||
Please rotate your phone to landscape mode ✨ | ||
</div> | ||
</div> | ||
<div class="lds-ring" id="loader"> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
</div> | ||
<div id="controls-info-popup" class="controls-info-popup"> | ||
<span class="control-label">WASD</span> to move<br /> | ||
<span class="control-label">Space</span> to jump<br /> | ||
<span class="control-label">Click</span> to break<br /> | ||
<span class="control-label">Right-Click</span> to place<br /> | ||
<span class="control-label">1 2 3 4 5</span> to select block type<br /> | ||
<span class="control-label">/</span> to toggle flying mode<br /> | ||
</div> | ||
<div class="gameboy"> | ||
<div class="controls"> | ||
<div id="translation-joystick" class="joystick"></div> | ||
<div id="block-preview" class="block-preview-container"> | ||
<canvas id="block-preview-canvas"></canvas> | ||
</div> | ||
<div class="right-side"> | ||
<div class="button-container"> | ||
<button id="b-button" class="button b-button"><i data-feather="box"></i></button> | ||
<button id="a-button" class="button">️<i data-feather="x"></i></button> | ||
</div> | ||
<div id="pitch-yaw-joystick" class="joystick"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="wasm-container"></div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v2.0 | 20110126 | ||
License: none (public domain) | ||
*/ | ||
|
||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp, | ||
small, strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
/* HTML5 display-role reset for older browsers */ | ||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, ul { | ||
list-style: none; | ||
} | ||
blockquote, q { | ||
quotes: none; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} |