Skip to content

Commit

Permalink
further customize HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskarchner committed May 14, 2024
1 parent 52afd9d commit c68327c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@

#canvas {
display: block;

}

#container{
max-width: 600px;
margin:auto;
}

#canvas:focus {
outline: none;
}
Expand Down Expand Up @@ -81,6 +84,7 @@
$GODOT_HEAD_INCLUDE
</head>
<body>
<div id="container">
<canvas id="canvas">
Your browser does not support the canvas tag.
</canvas>
Expand All @@ -94,7 +98,9 @@
<progress id="status-progress"></progress>
<div id="status-notice"></div>
</div>

Based on <a href="https://pong-wars.koenvangilst.nl/">Pong Wars by Koen van Gilst</a>.
<a href="https://github.com/rosskarchner/pong-wars-godot">Code on GitHub</a>.
</div>
<script src="$GODOT_URL"></script>
<script>
const GODOT_CONFIG = $GODOT_CONFIG;
Expand Down

0 comments on commit c68327c

Please sign in to comment.