-
Notifications
You must be signed in to change notification settings - Fork 73
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
1 parent
d9ed034
commit db79f91
Showing
7 changed files
with
481 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ pnpm-debug.log* | |
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,92 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite App</title> | ||
<script type="module" crossorigin src="./assets/index-Dp2PfoCH.js"></script> | ||
</head> | ||
<body> | ||
<style> | ||
@font-face { | ||
font-family: monogram; | ||
src: url(monogram.ttf); | ||
} | ||
|
||
body { | ||
font-family: monogram, monospace; | ||
font-size: 2rem; | ||
overflow: hidden; | ||
} | ||
|
||
#app { | ||
width: 100%; | ||
height: 100%; | ||
position: relative; | ||
} | ||
|
||
#textbox { | ||
position: absolute; | ||
left: 10%; | ||
right: 10%; | ||
bottom: 2vh; | ||
min-height: 10vh; | ||
background: white; | ||
border-radius: 3px; | ||
outline-style: solid; | ||
padding: 1rem; | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: wrap; | ||
justify-content: flex-start; | ||
align-items: flex-start; | ||
word-spacing: 0.2rem; | ||
filter: drop-shadow(0 0 0.75rem rgb(112, 112, 112)); | ||
/* overflow: auto; */ | ||
} | ||
|
||
.ui-text { | ||
margin: 0; | ||
user-select: none; | ||
} | ||
|
||
.ui-close-btn { | ||
font-family: monogram, monospace; | ||
border-style: none; | ||
border-radius: 3px; | ||
padding: 1rem; | ||
font-size: inherit; | ||
} | ||
|
||
.btn-container { | ||
align-self: flex-end; | ||
margin-top: 1rem; | ||
} | ||
|
||
.note { | ||
position: absolute; | ||
left: 5%; | ||
top: 1vh; | ||
display: flex; | ||
flex-direction: column; | ||
color: rgb(238, 238, 238); | ||
} | ||
</style> | ||
<div id="app"> | ||
<div> | ||
<p class="note">Tap/Click around to move</p> | ||
|
||
<div id="textbox-container" style="display: none"> | ||
<div id="textbox"> | ||
<p id="dialogue" class="ui-text"></p> | ||
<div class="btn-container"> | ||
<button id="close" class="ui-close-btn">Close</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<canvas id="game"></canvas> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.