-
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
9 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
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.
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,67 @@ | ||
<!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 rel="icon" type="image/png" href="./favicon.png"> | ||
<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> | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
<link href="./reset.css" rel="stylesheet" type="text/css" /> | ||
<link href="./main.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="github-button-container"> | ||
<!-- <a class="github-button" href="https://github.com/aykamko/minecrust" data-color-scheme="no-preference: dark_high_contrast; light: light_high_contrast; dark: dark_high_contrast;" data-icon="octicon-star" aria-label="Star aykamko/minecrust on GitHub">Star</a> --> | ||
<a class="github-button" href="https://github.com/aykamko/minecrust" data-color-scheme="no-preference: dark_high_contrast; light: light_high_contrast; dark: dark_high_contrast;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star aykamko/minecrust on GitHub">Star</a> | ||
</div> | ||
<div id="load-progress" class="progress-container"> | ||
<div id="progress-inner"></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 class="joystick-hint">Move</div> | ||
</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 class="joystick-hint">Look +<br/>Tap to Jump</div> | ||
</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.
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; | ||
} |