Skip to content

Commit

Permalink
Add message for mobile users
Browse files Browse the repository at this point in the history
  • Loading branch information
aelred committed Sep 22, 2024
1 parent 18282e7 commit 179c5a5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<style>
@media (pointer:fine) {
.mobile {
display: none;
}
}

.mobile {
font-size: xx-large;
}

body {
background-color: #0d0c0c;
overflow: hidden
overflow: hidden;
margin: 5em;
}

#canvas {
Expand Down Expand Up @@ -43,6 +54,7 @@

<body>
<div>
<p class="mobile">Sorry, the NES emulator doesn't support mobile!</p>
<canvas id="canvas" width="256" height="240">
</canvas>
<p>
Expand Down

0 comments on commit 179c5a5

Please sign in to comment.