summaryrefslogtreecommitdiffhomepage
path: root/vendor/html/minshell.html
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-02-09 06:28:57 -0500
committerrealtradam <[email protected]>2022-02-09 06:28:57 -0500
commit4ca460d33a0aa9c4c826f87873f89c4c43d9e07c (patch)
tree3264fcfd56272a5c1b93553942b29160b0edf8b1 /vendor/html/minshell.html
parentb70cd13ff45b36329692a1dc88331ea4b09f6218 (diff)
downloadFelFlameEngine-4ca460d33a0aa9c4c826f87873f89c4c43d9e07c.tar.gz
FelFlameEngine-4ca460d33a0aa9c4c826f87873f89c4c43d9e07c.zip
improved minshell that centers and shrinks to fit
Diffstat (limited to 'vendor/html/minshell.html')
-rw-r--r--vendor/html/minshell.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/html/minshell.html b/vendor/html/minshell.html
index ca17847..85ea388 100644
--- a/vendor/html/minshell.html
+++ b/vendor/html/minshell.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>raylib web game</title>
+ <title>Orc: Arena of Time</title>
<meta name="title" content="raylib web game">
<meta name="description" content="New raylib web videogame, developed using raylib videogames library">
@@ -53,9 +53,9 @@ canvas.emscripten { border: 0px none; background-color: black; }
}
</script>
</head>
- <body>
- <div style="text-align: center">
- <canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1 style="border:0px; outline:0px; display: inline-block; width:900px;"></canvas>
+ <body style="height:100vh; margin:0; position:relative;">
+ <div style="display: flex; justify-content: center; align-items: center; height: 100%">
+ <canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1 style="border:0px; outline:0px; aspect-ratio: attr(width)/attr(height); max-width:100vw; max-height:100vh;"></canvas>
</div>
<p id="output" />
<script>